@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(24, 31, 48, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Neon Kitty Accents */
    --accent-pink: #ec4899;
    --accent-pink-glow: rgba(236, 72, 153, 0.4);
    --accent-cyan: #06b6d4;
    --accent-cyan-glow: rgba(6, 182, 212, 0.4);
    --accent-blue: #3b82f6;
    
    /* Text colors */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --glow-pink: 0 0 25px var(--accent-pink-glow);
    --glow-cyan: 0 0 25px var(--accent-cyan-glow);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background glowing orbs */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}
.orb-1 {
    top: 10%;
    left: -100px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
}
.orb-2 {
    top: 40%;
    right: -100px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #d946ef 50%, var(--accent-cyan) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5), 0 0 10px var(--accent-pink-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* --- NAVIGATION --- */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.logo img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--accent-pink-glow));
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

nav a:hover {
    color: var(--text-primary);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 73px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 50px;
    color: var(--accent-pink);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(236, 72, 153, 0.1);
        border-color: rgba(236, 72, 153, 0.2);
    }
    100% {
        box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
        border-color: rgba(236, 72, 153, 0.5);
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-feature-item svg {
    color: var(--accent-cyan);
    width: 18px;
    height: 18px;
}

/* --- THE 2FA SIMULATOR WIDGET --- */
.simulator-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simulator-glow {
    position: absolute;
    width: 320px;
    height: 480px;
    background: radial-gradient(circle, var(--accent-pink-glow) 0%, var(--accent-cyan-glow) 100%);
    filter: blur(50px);
    opacity: 0.4;
    z-index: 0;
    border-radius: 40px;
}

/* Chrome Extension Popup UI Design */
.extension-mockup {
    position: relative;
    z-index: 1;
    width: 320px;
    height: 480px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.extension-mockup:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.ext-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.ext-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.ext-logo img {
    height: 24px;
    width: 24px;
}

.ext-controls {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
}

.ext-controls svg {
    cursor: pointer;
    width: 16px;
    height: 16px;
    transition: color 0.2s;
}

.ext-controls svg:hover {
    color: var(--text-primary);
}

.ext-search {
    padding: 10px 14px;
}

.search-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
}

.search-box:focus {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.07);
}

/* Extension Codes List */
.ext-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.code-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.code-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
    transform: scale(1.01);
}

.code-item:active {
    transform: scale(0.99);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.service-icon.github { border: 1px solid rgba(255, 255, 255, 0.2); }
.service-icon.google { border: 1px solid rgba(66, 133, 244, 0.3); color: #4285f4; }
.service-icon.stripe { border: 1px solid rgba(99, 91, 255, 0.3); color: #635bff; }

.service-details {
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 13px;
    font-weight: 600;
}

.service-email {
    font-size: 11px;
    color: var(--text-secondary);
}

.code-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.otp-number {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-cyan);
    transition: color 0.3s ease;
}

/* Interactive Countdown Ring */
.timer-container {
    position: relative;
    width: 24px;
    height: 24px;
}

.timer-svg {
    transform: rotate(-90deg);
    width: 24px;
    height: 24px;
}

.timer-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.5;
}

.timer-remaining {
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 2.5;
    stroke-dasharray: 63; /* 2 * PI * r (r=10) */
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear, stroke 0.3s;
    stroke-linecap: round;
}

/* Quick Copied Toast */
.copied-toast {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--accent-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.copied-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Add Item Button inside Widget */
.ext-footer {
    padding: 10px 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.ext-add-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.ext-add-btn:hover {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

/* --- FEATURES SECTION --- */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(236, 72, 153, 0.2);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-pink);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-pink-glow);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* --- MOCK LAUNCH SECTION --- */
.launch-section {
    padding: 100px 0;
    position: relative;
}

.launch-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.launch-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.launch-card h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.launch-card p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.subscribe-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 10px;
}

.subscribe-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 14px 24px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--accent-pink);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

/* Success state for newsletter form */
.form-success-msg {
    margin-top: 15px;
    font-size: 14px;
    color: #10b981;
    display: none;
}

/* --- LEGAL PAGE SPECIFICS (privacy.html) --- */
.legal-layout {
    padding: 60px 0 100px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 110px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.legal-sidebar h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-pink);
    margin-bottom: 16px;
    font-weight: 700;
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    line-height: 1.4;
    display: block;
}

.legal-toc-list a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    margin-bottom: 8px;
    font-weight: 800;
}

.legal-content .meta-info {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content section {
    margin-bottom: 35px;
    scroll-margin-top: 110px; /* Offset for sticky header */
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--accent-cyan);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 15px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent-pink);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* --- FOOTER --- */
footer {
    background: rgba(11, 15, 25, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.footer-logo img {
    height: 28px;
    width: 28px;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legal-sidebar {
        position: relative;
        top: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .launch-card h2 {
        font-size: 32px;
    }
    
    .subscribe-form {
        flex-direction: column;
        border-radius: 12px;
        background: transparent;
        padding: 0;
    }
    
    .subscribe-form input[type="email"] {
        width: 100%;
        border-radius: 8px;
    }
    
    .subscribe-form .btn {
        width: 100%;
        border-radius: 8px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-content {
        padding: 24px;
    }
    
    .legal-content h1 {
        font-size: 30px;
    }
}
