/* =========================================
   1. GLOBAL RESET & BASE STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    /* Changed to Dark to prevent white lines appearing between sections */
    background: #020617; 
    color: #e2e8f0;
    overflow-x: hidden;
}

/* =========================================
   2. NAVBAR (Capsule Style)
========================================= */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    transition: all 0.4s ease;
}

.navbar:hover {
    background: rgba(255, 255, 255, 1);
    top: 18px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* LOGO */
.logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* LINKS */
.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    margin: 0 20px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4f46e5;
}

/* ACTIONS */
.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: 0.3s;
}

/* MOBILE DROPDOWN */
.mobile-dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}

.mobile-dropdown.active {
    display: flex;
}

.mobile-dropdown a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-cta {
    background: #4f46e5;
    color: white !important;
    border-radius: 50px;
    margin-top: 10px;
    border: none;
    padding: 10px 20px;
    display: inline-block;
}

/* =========================================
   3. BUTTONS (Restored Wheat + Black Slide)
========================================= */
/* Base Button Structure */
.login-btn, .primary-btn, .cta-btn, .download-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 20px;
}

/* Text Z-Index (So text sits on top of the slide) */
.login-btn span, 
.primary-btn span, 
.cta-btn span, 
.download-btn span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

/* The Sliding Layer (The Black Part) */
.login-btn::before, 
.primary-btn::before, 
.cta-btn::before, 
.download-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    z-index: 0;
    
    /* Slide color is BLACK */
    background-color: #000000; 
    
    /* Start position: Hidden to the left */
    transform: skew(30deg) translate3d(-120%, 0, 0); 
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

/* Hover State: Slide the Black in */
.login-btn:hover::before, 
.primary-btn:hover::before, 
.cta-btn:hover::before, 
.download-btn:hover::before {
    transform: skew(30deg) translate3d(0, 0, 0);
}

/* --- SPECIFIC BUTTON COLORS --- */

/* Primary & CTA & Download (Start Wheat) */
.primary-btn, .cta-btn, .download-btn {
    background-color: wheat;   /* Default Background */
    color: #000000;            /* Default Text: Black */
}

/* Primary btn specific padding */
.primary-btn {
    padding: 9px 20px;
}

/* Large CTA */
.cta-btn {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(245, 222, 179, 0.3); /* Wheat shadow */
}

/* Download/Action */
.download-btn {
    width: 100%;
    padding: 12px;
}

/* On Hover: Text turns White (to see it on Black slide) */
.primary-btn:hover span, 
.cta-btn:hover span, 
.download-btn:hover span {
    color: #ffffff; 
}

/* Login Button (Outline Style) */
.login-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 18px;
}

/* Login Button Slide is also Black */
.login-btn::before {
    background-color: #000000;
}

.login-btn:hover {
    border-color: #000000;
}

.login-btn:hover span {
    color: #ffffff;
}

/* =========================================
   4. HERO SECTION
========================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 8% 80px; /* Top padding clears navbar */
    min-height: 100vh;
    background: #020617; /* Seamless dark theme */
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-left h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #f8fafc; /* Bright White-Blue */
}

.hero-left p {
    font-size: 1.1rem;
    color: #94a3b8; /* Slate Grey */
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.note {
    color: #10b981; /* Success Green */
    font-size: 14px;
    font-weight: 500;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.h-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.h-icon {
    color: #818cf8; /* Indigo Accent */
    width: 24px;
    height: 24px;
}

.h-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    font-weight: 700;
}

.h-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
}

/* Floating Animation */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.floating-hero-icon {
    width: 300px;
    animation: heroFloat 6s ease-in-out infinite;
    position: relative;
}

.gmail-hero-logo {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    z-index: 1;
}

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

/* =========================================
   5. TECHNOLOGY SECTION (Cards Fixed)
========================================= */
.technology {
    padding: 100px 8%;
    background: #020617;
    text-align: center;
}

.tech-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.technology h2 {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 16px;
}

.tech-subtext {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03); /* Glassy Dark */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 24px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: #6366f1;
}

.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #818cf8;
}

.tech-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.tech-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff; /* Changed from dark blue to White */
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 0.95rem;
    color: #cbd5e1; /* Changed from wheat to Light Slate */
    line-height: 1.5;
}

/* =========================================
   6. BENEFITS SECTION
========================================= */
.benefits {
    display: flex;
    flex-direction: column;
    padding: 100px 8%;
    background: #020617;
    gap: 60px;
}

.benefits-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.benefits-header h2 {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 16px;
}

.benefits-subtext {
    color: #94a3b8;
    font-size: 1.1rem;
}

.benefits-body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.benefits-left, .benefits-right {
    flex: 1;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: #6366f1;
}

.b-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b-icon-box svg {
    width: 24px;
    height: 24px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Results Card */
.results-card {
    background: #020617; /* Dark background matches section */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-header h4 {
    color: white;
}

.status {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.results-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 14px;
}

.valid { color: #34d399; font-weight: 500; }
.invalid { color: #f87171; font-weight: 500; }
.warning { color: #fbbf24; font-weight: 500; }
.neutral { color: #94a3b8; font-weight: 500; }

/* =========================================
   7. FINAL CTA & FOOTER (Updated Dark/Wheat)
========================================= */
.cta-divider {
    display: none; /* Removed to prevent line */
    border: none;
}

.final-cta {
    text-align: center;
    padding: 100px 20px;
    background: #020617;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 30px;
}

/* --- APP FOOTER CORE --- */
.app-footer {
    background: rgba(255, 255, 255, 0.03); /* Restored original background */
    padding: 80px 10% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Vertical card matches height of Brand info */
    flex-wrap: wrap;
    gap: 60px;
}

/* --- BRAND & SOCIALS CONTAINER --- */
.footer-main-group {
    display: flex;
    align-items: stretch;
    gap: 30px;
    max-width: 480px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* LOGO FIXES */
.logo-container {
    width: 100%;
    max-width: 270px; /* Reduced to end at 'accuracy' word */
    margin-bottom: 20px;
}

.footer-logo {
    width: 100%;
    height: 65px; /* Increased height to look proportional */
    object-fit: contain; /* Prevents stretching */
    object-position: left center;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.brand-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/* --- VERTICAL WHEAT SOCIAL CARD --- */
.card-vertical {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    background: transparent;
    border-radius: 6px;
    border: 1px solid rgba(245, 222, 179, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}

.card-vertical::before, .card-vertical::after {
    content: "";
    position: absolute;
    top: 0;
    width: 51%;
    height: 100%;
    background-color: #F5DEB3; /* Wheat/Beige */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.card-vertical::before { left: 0; }
.card-vertical::after { right: 0; }

.card-vertical:hover::before { transform: translateX(-100%); }
.card-vertical:hover::after { transform: translateX(100%); }

.vertical-text {
    position: absolute;
    z-index: 3;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 900; /* Extra Bold socials */
    line-height: 1.3;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.2s;
    letter-spacing: 1.5px;
}

.card-vertical:hover .vertical-text { opacity: 0; }

.social-links-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
    background: rgba(129, 140, 248, 0.1); /* Subtle Blue background */
    color: #818cf8; /* Indigo/Blue color */
}

/* --- LINKS & CONTACT --- */
.footer-links h3, .footer-contact h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #ffffff;
}

.link-list { list-style: none; padding: 0; }
.link-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.link-list li a:hover {
    color: #818cf8;
    transform: translateX(5px);
}
.contact-details p, .contact-details a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    display: block;
}

.contact-details a:hover {
    color: #818cf8;
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright { color: #64748b; font-size: 13px; margin: 0; }

.footer-policy { display: flex; align-items: center; gap: 15px; }
.footer-policy a { color: #64748b; text-decoration: none; font-size: 13px; transition: 0.3s; }
.footer-policy a:hover {
    color: #818cf8;
}.separator { color: #334155; }

/* =========================================
   8. SINGLE VERIFY SECTION
========================================= */
.single-verify {
    padding: 80px 20px;
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sv-container {
    max-width: 600px;
    margin: 0 auto;
}

.single-verify h2 {
    font-size: 2.2rem;
    color: #f8fafc;
    margin-bottom: 12px;
    font-weight: 700;
}

.sv-subtext {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Glass Capsule Input */
.sv-input-capsule {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px; /* Pill Shape */
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sv-input-capsule:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
}

.sv-input-capsule .input-icon {
    padding-left: 20px;
    color: #64748b;
    font-size: 18px;
}

.sv-input-capsule input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
}

.sv-input-capsule input::placeholder {
    color: #475569;
}

.sv-input-capsule button {
    border-radius: 100px; /* Round button inside pill */
    padding: 12px 32px;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Result Card (Dark Glass) */
.sv-result-card {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid Layout for Details */
.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-item .label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.result-item .value {
    font-size: 15px;
    color: #e2e8f0;
    font-weight: 600;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   9. RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .nav-links.desktop-only, 
    .nav-actions.desktop-only {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .tech-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-body {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 140px 20px 60px;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tech-cards {
        grid-template-columns: 1fr;
    }
    
    /* Footer Responsive */
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand {
        margin: 0 auto;
    }
    
    /* Single Verify Mobile */
    .result-grid {
        grid-template-columns: 1fr;
    }
    .sv-input-capsule {
        padding: 4px;
    }
    .sv-input-capsule button {
        padding: 10px 20px;
    }
}