/* Base Styles and Variables */
:root {
    --primary-color: #FF5E94;
    --primary-light: #FF96C8;
    --secondary-color: #6C3CE8;
    --secondary-light: #8A66F0;
    --text-dark: #111827;
    --text-light: #F9FAFB;
    --text-muted: #9CA3AF;
    --background: #121212;
    --background-light: #1F1F1F;
    --background-dark: #0A0A0A;
    --dark-bg: #0A0A0A;
    --medium-dark-bg: #121212;
    --light-dark-bg: #1F1F1F;
    --accent: #FF5E94;
    --danger: #F43F5E;
    --success: #10B981;
    --gradient-bg: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --card-bg: rgba(255, 255, 255, 0.03);
    --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
    --radius: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
    --primary-dark: rgba(108, 60, 232, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--background);
    overflow-x: hidden;
    font-weight: 400;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(108, 60, 232, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(255, 94, 148, 0.1) 0%, transparent 30%);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

section {
    padding: 5rem 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(22, 33, 62, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

.logo-svg {
    width: 150px;
    height: 50px;
}

.logo-text {
    fill: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px rgba(255, 94, 148, 0.5));
}

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

.nav-links a {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 0;
}

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

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn svg {
    fill: var(--text-light);
    width: 24px;
    height: 24px;
}

.mobile-menu-btn svg rect {
    fill: var(--text-light);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--medium-dark-bg);
    z-index: 200;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--light-dark-bg);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.mobile-menu-close svg {
    stroke: var(--text-light);
    stroke-width: 2;
    width: 24px;
    height: 24px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-cta {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem;
    background: var(--gradient-bg);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: var(--background);
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 20% 60%, rgba(108, 60, 232, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 94, 148, 0.15) 0%, transparent 40%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 94, 148, 0.1), transparent 70%),
        radial-gradient(circle at 70% 30%, rgba(108, 60, 232, 0.1), transparent 70%);
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ai-illustration {
    width: 100%;
    max-width: 500px;
}

.screen {
    fill: var(--medium-dark-bg);
    stroke: var(--secondary-color);
    stroke-width: 2;
}

.ai-core {
    fill: var(--primary-dark);
    opacity: 0.8;
}

.ai-processor {
    fill: var(--secondary-color);
}

.ai-connection {
    stroke: var(--text-light);
    stroke-width: 2;
    opacity: 0.6;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--gradient);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(255, 94, 148, 0.4);
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    background-color: var(--background-light);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-circle {
    fill: var(--primary-dark);
    opacity: 0.2;
}

.feature-path {
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--background);
}

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

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

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* FAQ Section */
.faq {
    background-color: var(--background-light);
}

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

.faq-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background);
}

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

.testimonial {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.quote {
    font-style: italic;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2, .cta p {
    color: var(--text-light);
}

.cta .cta-button {
    background-color: var(--text-light);
    color: var(--primary-dark);
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-dark-bg);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        justify-content: center;
        order: -1;
    }
    
    .ai-illustration {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .features-grid, .steps, .faq-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
