/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background: #000a1a; /* iOS fallback */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #000a1a 0%, #001a33 50%, #00004d 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.logo h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    color: white;
    position: relative;
    min-height: 100dvh; /* iOS-compatible viewport height */
    isolation: isolate;
}

.hero::before {
    pointer-events: none;
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0/50px 50px,
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px) 0 0/50px 50px,
        linear-gradient(135deg, #000a1a 0%, #001a33 50%, #00004d 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    max-width: 345px;
    height: auto;
    border-radius: 12px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff, 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #00e6e6);
    width: 25%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Beta Form */
.beta-form {
    background: #1a1a1a !important;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.step-description {
    color: #cccccc !important;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Option Grid */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    background: #1a1a1a !important;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.option-card.selected {
    border-color: #00ffff;
    background: linear-gradient(135deg, #00ffff, #00b3b3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.option-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #00ffff;
}

.option-card.selected .option-icon {
    color: white;
}

.option-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.option-card p {
    font-size: 0.9rem;
    color: #cccccc !important;
    line-height: 1.4;
    font-weight: 500;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #333333;
    border-radius: 8px;
    font-size: 1rem;
    color: #ffffff;
    background: #2a2a2a;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
}

/* Confirmation Step */
.confirmation-content {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #00ffff;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

.summary {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.summary h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #333333;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: #cccccc;
}

.summary-value {
    color: #ffffff;
    font-weight: 700;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffff, #00b3b3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
    background: #2a2a2a;
    color: #cccccc;
    border: 2px solid #333333;
}

.btn-secondary:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(26, 26, 26, 0.95);
    margin-top: 80px;
    border-radius: 20px 20px 0 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #1a1a1a !important;
    border: 2px solid #333333;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: #00ffff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.feature-card p {
    color: #cccccc !important;
    line-height: 1.6;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #000a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .app-screenshot {
        max-width: 288px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .beta-form {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav a {
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .app-screenshot {
        max-width: 230px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-step h2 {
        font-size: 1.5rem;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    /* Force mobile color overrides */
    body {
        background: linear-gradient(135deg, #000a1a 0%, #001a33 50%, #00004d 100%) !important;
    }
    
    .beta-form {
        background: #1a1a1a !important;
    }
    
    .option-card {
        background: #1a1a1a !important;
        border-color: #333333 !important;
    }
    
    .option-card.selected {
        border-color: #00ffff !important;
        background: #00b3b3 !important;
    }
    
    .progress-fill {
        background: linear-gradient(90deg, #00ffff, #00e6e6) !important;
    }
}

/* Features Page Styles */
.features-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #000a1a 0%, #001a33 50%, #00004d 100%);
    min-height: 100vh;
    color: white;
}

.features-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-page h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff, 0 4px 8px rgba(0,0,0,0.3);
}

.features-page .subtitle {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 500;
}

.user-type-section {
    margin-bottom: 80px;
}

.user-type-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    text-align: center;
}

.features-list {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 255, 0.1);
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.features-list li::before {
    content: '•';
    color: #00ffff;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
    text-shadow: 0 0 10px #00ffff;
}

.back-to-home {
    text-align: center;
    margin-top: 60px;
}

.back-to-home .btn {
    background: linear-gradient(135deg, #00ffff, #00b3b3);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.back-to-home .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Responsive Design for Features Page */
@media (max-width: 768px) {
    .features-page h1 {
        font-size: 2.5rem;
    }
    
    .user-type-section h2 {
        font-size: 2rem;
    }
    
    .features-list {
        padding: 30px 20px;
    }
    
    .features-list li {
        font-size: 1rem;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .features-page h1 {
        font-size: 2rem;
    }
    
    .features-page .subtitle {
        font-size: 1.1rem;
    }
    
    .user-type-section h2 {
        font-size: 1.8rem;
    }
    
    .features-list {
        padding: 25px 15px;
    }
}

/* Futuristic Glow Effects */
.logo h1 {
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
}

.hero-title {
    text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff, 0 4px 8px rgba(0,0,0,0.3);
}

.option-card.selected {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.feature-card {
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3), 0 0 15px rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.beta-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 255, 0.1);
}

/* Digital Grid Background Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Enhanced Button Glow */
.btn-primary {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
}


/* Footer Section Links */
.footer-section p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-section a {
    color: #00ffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-section h3,
.footer-section h4 {
    color: #00ffff;
}

/* Fix footer visibility - ensure it appears above fixed backgrounds */
.footer {
    position: relative;
    z-index: 10;
}

.features {
    position: relative;
    z-index: 5;
}


/* Ensure footer and features are fully visible */
.footer {
    background: #000a1a !important;
    position: relative;
    z-index: 100;
}

.features {
    background: rgba(26, 26, 26, 1) !important;
    position: relative;
    z-index: 50;
}

