/* Root Variables */
:root {
    --primary-teal: #14b8a6;
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --deep-blue: #1e3a8a;
    --deep-purple: #581c87;
    --deep-green: #064e3b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(88, 28, 135, 0.85) 50%, rgba(6, 78, 59, 0.85) 100%);
    --bg-dark: #0a0e27;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --card-bg-dark: rgba(255, 255, 255, 0.05);
    --card-bg-light: rgba(255, 255, 255, 0.9);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: var(--bg-dark);
    --bg-secondary: rgba(30, 41, 59, 0.5);
    --text-primary: var(--text-light);
    --text-secondary: rgba(241, 245, 249, 0.8);
    --card-bg: var(--card-bg-dark);
}

[data-theme="light"] {
    --bg-primary: var(--bg-light);
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --text-primary: var(--text-dark);
    --text-secondary: rgba(30, 41, 59, 0.7);
    --card-bg: var(--card-bg-light);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body[data-theme="light"] {
    background: var(--bg-light);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-teal);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background: var(--primary-teal);
    color: white;
}

.btn-trial-nav {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-trial-nav:hover {
    background: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(20, 184, 166, 0.3);
}

.dark-mode-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dark-icon,
.light-icon {
    display: inline-block;
}

[data-theme="dark"] .light-icon,
[data-theme="light"] .dark-icon {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/hero-background.jpg');
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroBackgroundMove 20s ease-in-out infinite alternate;
}

@keyframes heroBackgroundMove {
    0% {
        background-size: 120%;
        background-position: center;
    }
    100% {
        background-size: 130%;
        background-position: 50% 50%;
    }
}

/* Ken Burns Effect for Full-Page Images */
.ken-burns-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: 3rem 0;
    text-align: center;
}

.ken-burns-image {
    width: 100%;
    height: auto;
    display: block;
    animation: kenBurns 30s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.05) translate(-1%, -1%);
    }
    50% {
        transform: scale(1.1) translate(-2%, -2%);
    }
    75% {
        transform: scale(1.05) translate(-1%, -1%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #14b8a6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(20, 184, 166, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5)); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-teal);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(20, 184, 166, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #0d9488;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-teal);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-teal);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    padding: 0.75rem 1.5rem;
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid var(--primary-teal);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-teal);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Why Synergy OS */
.why-synergy {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.feature-icon {
    font-size: 4rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    text-align: center;
    display: block;
    margin: 1.5rem auto;
    width: fit-content;
}

.feature-card h2,
.feature-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--primary-teal);
    text-align: center;
}

.feature-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

/* Core Features Accordion */
.core-features {
    background: var(--bg-primary);
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary-teal);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(20, 184, 166, 0.1);
}

.accordion-icon {
    font-size: 1.5rem;
}

.accordion-title {
    flex: 1;
}

.accordion-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary-teal);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-content ul {
    padding: 0 1.5rem 1.5rem 4rem;
    list-style: none;
}

.accordion-content li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
}

.accordion-content li::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    color: var(--primary-teal);
}

/* AI Tools Section */
.ai-tools {
    background: var(--bg-secondary);
    position: relative;
}

.ai-tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ai-feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-feature-card:hover::before {
    opacity: 1;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.2);
}

.ai-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.ai-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.ai-feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.ai-tech-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 12px;
    border: 1px solid var(--primary-teal);
}

.ai-tech-note p {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Therapy Types */
.therapy-types {
    background: var(--bg-primary);
}

.therapy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.therapy-tag {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--primary-teal);
    border-radius: 50px;
    color: var(--primary-teal);
    font-weight: 600;
    transition: all 0.3s ease;
}

.therapy-tag:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
}

/* Pricing */
.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-teal);
}

.pricing-card.featured {
    border-color: var(--primary-teal);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-teal);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.btn-pricing:hover {
    background: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(20, 184, 166, 0.3);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-style: italic;
}

.link-compare {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-compare:hover {
    text-decoration: underline;
}

/* Testimonials */
.testimonials {
    background: var(--bg-primary);
}

.testimonial-carousel {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.testimonial-card {
    min-width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-teal);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal);
    background: transparent;
    color: var(--primary-teal);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-teal);
    color: white;
    transform: scale(1.1);
}

/* Contact */
.contact {
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
}

.contact-detail a,
.contact-detail p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--primary-teal);
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insightly-form {
    min-height: 500px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insightly-form-styled {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.insightly-form-styled .form-group {
    margin-bottom: 1.5rem;
}

.insightly-form-styled label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.insightly-form-styled input[type="text"],
.insightly-form-styled input[type="email"],
.insightly-form-styled input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

body[data-theme="light"] .insightly-form-styled input[type="text"],
body[data-theme="light"] .insightly-form-styled input[type="email"],
body[data-theme="light"] .insightly-form-styled input[type="tel"] {
    background: white;
    border-color: #e2e8f0;
}

.insightly-form-styled input[type="text"]:focus,
.insightly-form-styled input[type="email"]:focus,
.insightly-form-styled input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.insightly-form-styled input[type="hidden"] {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

body[data-theme="light"] .form-group input,
body[data-theme="light"] .form-group select,
body[data-theme="light"] .form-group textarea {
    background: white;
    border-color: #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Page-specific styles */
.page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 2rem 4rem;
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #14b8a6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.95;
}

.feature-image-large {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin: 2rem 0;
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.feature-detail-grid img {
    width: 100%;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    body[data-theme="light"] .nav-menu {
        background: rgba(248, 250, 252, 0.98);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .hero-subtitle,
    .page-hero-subtitle {
        font-size: 1.1rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .feature-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title,
    .page-hero-title {
        font-size: 2rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-trial-nav {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple effect for buttons */
.btn-primary, .btn-secondary, .btn-pricing {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

