:root {
    --bg-color: #050511;
    /* Darker, richer background */
    --text-color: #f8fafc;
    --primary-color: #818cf8;
    --primary-glow: rgba(129, 140, 248, 0.5);
    --accent-red: #f87171;
    --accent-green: #4ade80;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
    /* Setup in HTML */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 80vh;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 5;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(to right, #818cf8, #c084fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 300;
}

.app-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

/* Hero Phone Mockup */
.hero-phone-container {
    width: 100%;
    height: 600px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(-2deg);
    }

    75% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #0f172a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
    position: relative;
    z-index: 5;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle,
            rgba(129, 140, 248, 0.3) 0%,
            rgba(192, 132, 252, 0.2) 30%,
            transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 10px 30px -10px var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px var(--primary-color);
    background: #a5b4fc;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Features */
.features {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.icon-red {
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    color: var(--accent-red);
}

.icon-green {
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    color: var(--accent-green);
}

/* Privacy Policy & Support Pages */
.policy-container,
.support-container {
    max-width: 600px;
    margin: 80px auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--card-border);
    padding: 50px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.policy-container h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.policy-intro {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.1), rgba(192, 132, 252, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.policy-section h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.policy-section p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.policy-section ul li {
    color: #cbd5e1;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.policy-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.policy-highlight {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
    text-align: center;
}

.policy-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4ade80;
}

.policy-highlight p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.support-container h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 80px;
    color: #64748b;
    font-size: 0.9rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 40px;
    }

    .hero-content {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-phone-container {
        order: 1;
        height: 500px;
    }

    .hero-phone-mockup {
        width: 280px;
        height: 570px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 40px auto;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Badge & Trust Elements */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(192, 132, 252, 0.2));
    border: 1px solid rgba(129, 140, 248, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.trust-badge {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 60px;
    font-weight: 300;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 50px 30px;
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    position: relative;
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(129, 140, 248, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #c084fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    box-shadow: 0 10px 30px rgba(129, 140, 248, 0.4);
}

.step-icon {
    font-size: 3.5rem;
    margin: 20px 0;
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05), transparent);
}

.screenshot-carousel {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.screenshot-item {
    flex: 0 0 280px;
    text-align: center;
}

.app-screenshot {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-screenshot:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(129, 140, 248, 0.3);
}

.screenshot-caption {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Social Proof / Stats */
.social-proof {
    padding: 100px 0;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    padding: 40px 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #c084fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(192, 132, 252, 0.1));
    border-radius: 30px;
    margin: 80px 0;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.newsletter-form button {
    padding: 16px 40px;
    border: none;
    cursor: pointer;
}

.form-status {
    margin-top: 15px;
    font-weight: 500;
    min-height: 20px;
}

/* Enhanced Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .screenshot-carousel {
        gap: 30px;
    }

    .app-screenshot {
        max-width: 240px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .nav-links a {
        margin-left: 15px;
        font-size: 0.85rem;
    }
}