:root {
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-secondary: #EFF6FF;
    --color-tertiary: #1F2937;
    --color-success: #10B981;
    --color-accent-orange: #F59E0B;
    --color-accent-green: #84CC16;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 50%, #020617 100%);
    color: #F8FAFC;
    line-height: 1.6;
    min-height: 100vh;
}

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

header {
    padding: 40px 0 30px;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
    animation: float 3s ease-in-out infinite;
    border: 4px solid rgba(59, 130, 246, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tagline {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 500;
}

.hero-text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #CBD5E1;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.cta-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 600px;
    margin: 0 auto 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    color: #94A3B8;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #F8FAFC;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

input::placeholder {
    color: #64748B;
}

input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    display: none;
    animation: slideIn 0.3s ease;
    text-align: center;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--color-success);
    color: #6EE7B7;
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #EF4444;
    color: #FCA5A5;
}

.features {
    padding: 80px 0;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    margin-bottom: 60px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.section-title {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.feature h3 {
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.feature p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 60px 24px 40px;
    border-top: 2px solid rgba(59, 130, 246, 0.2);
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 32px 32px 0 0;
}

.footer-links {
    margin-bottom: 32px;
}

.footer-links a {
    color: var(--color-primary);
    text-decoration: none;
    margin: 0 20px;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-success);
    text-decoration: underline;
}

.footer-text {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-text p {
    margin: 8px 0;
}

.back-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 40px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-link:hover {
    color: var(--color-success);
    transform: translateX(-4px);
}

.cta-box {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-top: 48px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cta-box h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.cta-box p {
    color: #94A3B8;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.subtitle {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 40px;
    font-weight: 400;
    text-align: center;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 0 60px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-headline {
    font-family: var(--font-secondary);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #94A3B8;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.device-visual {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    max-width: 600px; /* or whatever size looks good */
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    max-width: 100%;
}

/* Problem Section */
.problem-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.problem-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.problem-section p {
    color: #CBD5E1;
    margin-bottom: 16px;
    line-height: 1.7;
}

.emphasis {
    font-weight: 600;
    color: #F8FAFC;
    margin-top: 24px;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.benefit {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.benefit h3 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.benefit p {
    color: #94A3B8;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.how-it-works-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.process-flow {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 32px 24px;
}

.process-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #F8FAFC;
    font-weight: 600;
    margin-bottom: 16px;
}

.process-tagline {
    color: #94A3B8;
    font-style: italic;
}

/* Comparison Section */
.comparison-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.comparison-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    color: #F8FAFC;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.comparison-table td {
    padding: 16px;
    color: #CBD5E1;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Touch Activate Section */
.touch-activate-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.touch-activate-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.touch-activate-section p {
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Details Section */
.details-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.details-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.details-content p {
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Demo Section */
.demo-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.demo-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.demo-subtitle {
    color: #94A3B8;
    margin-bottom: 32px;
    line-height: 1.6;
}


/* Bento Grid for How It Works */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto;
    align-items: center;
}

.bento-box {
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.bento-box:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.bento-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.bento-box h3 {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.bento-box p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 16px auto 12px;
    display: block;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.bento-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    font-weight: 300;
}

.bento-arrow.vertical {
    grid-column: 2;
}

/* Grid positioning */
.bento-box:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.bento-arrow:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.bento-box:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.bento-arrow:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.bento-box:nth-child(5) {
    grid-column: 3;
    grid-row: 3;
}

.bento-arrow:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
}

.bento-box:nth-child(7) {
    grid-column: 1;
    grid-row: 3;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    
    .bento-arrow {
        display: none;
    }
    
    .bento-box {
        padding: 24px 20px;
    }
    
    .bento-box:nth-child(1),
    .bento-box:nth-child(3),
    .bento-box:nth-child(5),
    .bento-box:nth-child(7) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .step-image {
        max-width: 100%;
        margin: 12px auto 8px;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    header {
        padding: 30px 0 20px;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-container {
        margin-bottom: 16px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-section,
    .problem-section,
    .how-it-works-section,
    .comparison-section,
    .touch-activate-section,
    .details-section,
    .demo-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .device-visual {
        margin: 30px 0;
    }
    
    .benefits-section {
        padding: 40px 0;
    }
    
    .benefits-grid {
        gap: 20px;
    }
    
    .benefit {
        padding: 24px 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .footer-links a {
        display: block;
        margin: 12px 0;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
}