/* ===============================================
   Reset & Base Styles
   =============================================== */

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

:root {
    /* Brand Colors */
    --brand-primary: #2EC4B6;
    --brand-secondary: #94D2BD;
    --brand-accent: #A27BFE;
    --brand-neutral: #F9FAFB;
    --brand-text: #27323A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2EC4B6 0%, #1BA39C 100%);
    --gradient-accent: linear-gradient(135deg, #A27BFE 0%, #8B5CF6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(46, 196, 182, 0.1) 0%, rgba(162, 123, 254, 0.1) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 400ms ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--brand-text);
    background-color: var(--brand-neutral);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===============================================
   Gradient Background
   =============================================== */

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg,
        rgba(46, 196, 182, 0.08) 0%,
        rgba(148, 210, 189, 0.05) 25%,
        rgba(249, 250, 251, 1) 50%,
        rgba(162, 123, 254, 0.05) 75%,
        rgba(162, 123, 254, 0.08) 100%
    );
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(162, 123, 254, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

/* ===============================================
   Navigation
   =============================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 196, 182, 0.1);
    transition: var(--transition-base);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(46, 196, 182, 0.2);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--brand-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--brand-primary);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 196, 182, 0.3);
}

/* ===============================================
   Hero Section
   =============================================== */

.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-3xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(162, 123, 254, 0.1);
    border: 1px solid rgba(162, 123, 254, 0.2);
    border-radius: 100px;
    color: var(--brand-accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease-out;
}

.sparkle-icon {
    color: var(--brand-accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    font-style: italic;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(39, 50, 58, 0.8);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 196, 182, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--brand-text);
    border: 2px solid rgba(46, 196, 182, 0.2);
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(39, 50, 58, 0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(46, 196, 182, 0.2);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.phone-mockup {
    position: relative;
    animation: floatPhone 6s ease-in-out infinite;
}

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

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1f1f1f;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(46, 196, 182, 0.1) 0%,
        rgba(162, 123, 254, 0.1) 100%
    );
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.preview-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.preview-icon {
    margin-bottom: var(--spacing-md);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.preview-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--brand-text);
}

.preview-card p {
    font-size: 0.875rem;
    color: rgba(39, 50, 58, 0.7);
}

/* ===============================================
   Features Section
   =============================================== */

.features {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: rgba(39, 50, 58, 0.7);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    padding: var(--spacing-xl);
    background: white;
    border: 1px solid rgba(46, 196, 182, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--brand-text);
}

.feature-card p {
    color: rgba(39, 50, 58, 0.7);
    line-height: 1.7;
}

/* ===============================================
   Why NourAIsh Section
   =============================================== */

.why-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.why-card {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg,
        rgba(46, 196, 182, 0.03) 0%,
        rgba(162, 123, 254, 0.03) 100%
    );
    border: 1px solid rgba(46, 196, 182, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.why-card:hover::before {
    height: 100%;
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--brand-text);
}

.why-card p {
    color: rgba(39, 50, 58, 0.7);
    line-height: 1.7;
}

/* ===============================================
   About Section
   =============================================== */

.about {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg,
        rgba(46, 196, 182, 0.03) 0%,
        rgba(162, 123, 254, 0.03) 100%
    );
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: rgba(39, 50, 58, 0.7);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-features {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.about-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--brand-text);
}

.about-feature p {
    font-size: 0.875rem;
    color: rgba(39, 50, 58, 0.7);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.glass-card-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.metric {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.metric-info {
    flex: 1;
    min-width: 100px;
}

.metric-label {
    font-size: 0.875rem;
    color: rgba(39, 50, 58, 0.6);
    font-weight: 500;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-text);
}

.metric-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    overflow: hidden;
    margin-top: var(--spacing-xs);
}

.metric-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease-out;
}

/* ===============================================
   Disclaimer Section
   =============================================== */

.disclaimer {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.disclaimer-card {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: rgba(255, 149, 0, 0.05);
    border: 2px solid rgba(255, 149, 0, 0.2);
    border-radius: var(--radius-lg);
}

.disclaimer-icon {
    flex-shrink: 0;
}

.disclaimer-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #FF9500;
}

.disclaimer-content p {
    color: rgba(39, 50, 58, 0.8);
    line-height: 1.7;
}

/* ===============================================
   Coming Soon Section
   =============================================== */

.coming-soon {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg,
        var(--brand-primary) 0%,
        var(--brand-accent) 100%
    );
    color: white;
    text-align: center;
}

.coming-soon-content {
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    margin: 0 auto var(--spacing-xl);
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: floatIcon 3s ease-in-out infinite;
}

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

.coming-soon .section-title {
    color: white;
    margin-bottom: var(--spacing-md);
}

.coming-soon-description {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
}

/* ===============================================
   Footer
   =============================================== */

.footer {
    background: var(--brand-text);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--brand-primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===============================================
   Animations
   =============================================== */

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

/* ===============================================
   Responsive Design
   =============================================== */

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: var(--spacing-2xl);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .disclaimer-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}
