/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
    /* Colors — Brand Palette */
    --color-bg: #E6E8E5;
    --color-surface: #ffffff;
    --color-text-primary: #6b7280;
    --color-text-secondary: #475569;
    --color-primary: #00C09D;      /* Primary Brand */
    --color-primary-hover: #00A291;
    --color-secondary: #00A291;    /* Secondary Brand */
    --color-accent: #00C09D;
    --color-border: rgba(216, 216, 216, 0.6);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-glow: linear-gradient(135deg, rgba(0, 192, 157, 0.5), rgba(0, 162, 145, 0.5));
    --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-colored: 0 20px 40px -10px rgba(0, 192, 157, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-max: 1280px;
    --container-padding: 2rem;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #6b7280;
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Utilities */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glass-card {
    background: var(--gradient-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-colored);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 192, 157, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.pulse-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-primary);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite alternate;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(0, 192, 157, 0.4);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 162, 145, 0.3);
    animation-delay: -10s;
}

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

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 192, 157, 0.1);
    color: var(--color-primary);
    border-radius: 99px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    color: var(--color-text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   Stats / What is eBlissAI Section
   ========================================================================== */
.stats-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: stretch;
}

.stat-card {
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-number .to {
    font-size: 2rem;
    font-weight: 400;
    -webkit-text-fill-color: var(--color-text-secondary);
}

.stat-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    z-index: -1;
    transform: rotate(-15deg);
}

.stat-text-card {
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-text-card p {
    font-size: 1.125rem;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header p {
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 192, 157, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.feature-content p {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-link {
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.feature-link:hover {
    color: var(--color-primary-hover);
    padding-left: 5px;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(0, 192, 157, 0.08);
    border: 1px solid rgba(0, 192, 157, 0.15);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.source-logo {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    object-fit: contain;
}

/* Contact Form Inputs */
.contact-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #e2e8f0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-input:focus {
    border-color: #00C09D;
    background: rgba(255, 255, 255, 0.18);
}

.contact-input option {
    background: #1a2332;
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem 1.5rem !important;
    }
    #contact-form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Why Section (Split Layout)
   ========================================================================== */
.why-section {
    padding: 8rem 0;
    background: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.split-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.abstract-graphic {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 10%;
    left: 10%;
    opacity: 0.6;
    animation: pulse 8s infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--color-secondary);
    bottom: 10%;
    right: 10%;
    opacity: 0.6;
    animation: pulse 6s infinite alternate-reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 40%;
    left: 40%;
    opacity: 0.4;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.glass-overlay {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.overlay-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.data-value {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.data-label {
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 2rem;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.quote-author h4 {
    font-size: 1.125rem;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.quote-author span {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
}

.testimonials-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: white;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    max-width: 300px;
}

.footer-contact {
    font-weight: 600;
    color: var(--color-primary);
}

.footer-links-group h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.75rem;
}

.footer-links-group a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
}

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

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.5rem; }
    .split-layout { gap: 2rem; }
    .split-content h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero { padding: 140px 0 80px; }
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    .stats-container { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    
    .split-layout { grid-template-columns: 1fr; }
    .abstract-graphic { max-width: 500px; margin: 0 auto; }
    
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-cta { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Mobile Menu Active State */
.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
    gap: 1.5rem;
}
.nav-actions.mobile-active {
    display: flex;
    position: absolute;
    top: calc(80px + 230px);
    left: 0;
    width: 100%;
    background: white;
    padding: 0 2rem 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
