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

:root {
    /* Colors - Based on brand color #0da29b */
    --primary-color: #0da29b;
    --primary-dark: #0a8a7e;
    --primary-light: #15c2b6;
    --secondary-color: #0dd2c5;
    --accent-color: #1dd3c7;
    --bg-primary: #0a1618;
    --bg-secondary: #142124;
    --bg-card: #1e2f33;
    --text-primary: #ffffff;
    --text-secondary: #b0d9d6;
    --text-muted: #7ca8a4;
    --border-color: #2a3f43;
    --success-color: #0da29b;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0da29b 0%, #15c2b6 100%);
    --gradient-secondary: linear-gradient(135deg, #0dd2c5 0%, #48e5db 100%);
    --gradient-accent: linear-gradient(135deg, #1dd3c7 0%, #0da29b 100%);
    --gradient-bg: linear-gradient(180deg, #0a1618 0%, #142124 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;
    --card-padding: 32px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(13, 162, 155, 0.3);
    --shadow-glow-hover: 0 0 60px rgba(13, 162, 155, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Buttons */
.top-buttons {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 12px;
}

.guide-btn,
.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(30, 47, 51, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.guide-btn:hover,
.lang-btn:hover {
    background: rgba(30, 47, 51, 1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.guide-btn i {
    font-size: 14px;
}

.lang-btn i {
    font-size: 14px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 22, 24, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 63, 67, 0.5);
    transition: all var(--transition-base);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* Removed background and box-shadow to support transparent PNG */
}

.brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(13, 162, 155, 0.15) 0%, transparent 70%),
                radial-gradient(circle at 70% 80%, rgba(21, 194, 182, 0.1) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(13, 162, 155, 0.25), transparent),
                      radial-gradient(1px 1px at 90px 40px, rgba(21, 194, 182, 0.2), transparent);
    background-repeat: repeat;
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b6d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-hover);
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cta-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(13, 162, 155, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b6d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--card-padding);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: white;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Demo Section */
.demo {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.demo-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.demo-desc {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.step-text {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

.phone-mockup {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: 40px;
    filter: blur(20px);
    opacity: 0.3;
}

.screen {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 24px 16px;
    border: 1px solid var(--border-color);
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.user-message .message-bubble {
    background: var(--gradient-primary);
    color: white;
}

.bot-message .message-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.analysis-preview {
    font-family: 'Courier New', monospace;
    font-size: 10px;
}

.analysis-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.analysis-item {
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.analysis-more {
    color: var(--text-muted);
    margin-top: 8px;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--card-padding);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: var(--font-size-base);
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--text-muted);
}

.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(13, 162, 155, 0.1);
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(21, 194, 182, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(13, 162, 155, 0.2) 0%, transparent 50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.cta-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* Removed background to support transparent PNG */
}

.brand-info .brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 8px;
}

.brand-tagline {
    color: var(--text-secondary);
}

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

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.footer-section li {
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
        --card-padding: 24px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pricing-featured {
        transform: none;
    }
    
    .top-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .cta-title {
        font-size: var(--font-size-3xl);
    }
    
    .demo-steps .step {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animation classes */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

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

.bg-gradient {
    background: var(--gradient-primary);
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}