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

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #8B5CF6;
    --accent: #10B981;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray: #64748B;
    --gray-light: #CBD5E1;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.compact {
    background: rgba(15, 23, 42, 0.95);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.navbar.compact .nav-content {
    padding: 0.4rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.navbar.compact .logo {
    font-size: 0.95rem;
}

.logo svg {
    width: 24px;
    height: 24px;
}

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

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.navbar.compact .nav-links {
    gap: 1rem;
}

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.navbar.compact .nav-links a {
    font-size: 0.8rem;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

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

.nav-actions .btn-primary {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

/* App Showcase Section */
.app-showcase {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
    text-align: center;
    margin-top: 1rem;
}

.app-showcase.compact {
    padding: 4rem 0 2rem;
    margin-top: 1rem;
}

/* Remove showcase header styles since we moved text to nav */

/* Clean Screenshot Frame */
.device-frame {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 0.8s 0.2s backwards;
    position: relative;
}

.app-showcase.compact .device-frame {
    max-width: 1400px;
    margin: 0 auto 1rem;
}

.device-screen {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Add overlay gradient for better text readability */
.device-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(59, 130, 246, 0.1) 25%,
        rgba(139, 92, 246, 0.1) 75%,
        rgba(15, 23, 42, 0.3) 100%
    );
    z-index: 5;
    pointer-events: none;
}

.screenshot-container {
    position: relative;
    width: 100%;
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 1s ease-in-out;
}

.screenshot-light {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.screenshot-dark {
    opacity: 1;
    z-index: 2;
}

/* Animation: alternate between light and dark */
.screenshot-container.show-light .screenshot-light {
    opacity: 1;
}

.screenshot-container.show-light .screenshot-dark {
    opacity: 0;
}

/* Mode indicator dots */
.mode-indicator {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s 0.3s backwards;
    position: relative;
    z-index: 15;
}

.mode-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s;
    cursor: pointer;
}

.mode-dot.light {
    background: #f0f0f0;
    box-shadow: 0 0 0 2px transparent;
}

.mode-dot.dark {
    background: #1e293b;
    box-shadow: 0 0 0 2px transparent;
}

.mode-dot.active {
    box-shadow: 0 0 0 2px var(--primary);
    transform: scale(1.2);
}

.showcase-cta {
    animation: fadeInUp 0.8s 0.4s backwards;
    position: relative;
    z-index: 15;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    top: 100px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s;
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s 0.1s backwards;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    animation: fadeInUp 0.6s 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
}

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

/* Hero Image */
.hero-image {
    margin-top: 4rem;
    animation: fadeInUp 0.8s 0.5s backwards;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-title {
    font-size: 0.875rem;
    color: var(--gray-light);
}

.preview-content {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    min-height: 400px;
}

.preview-sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-item {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.sidebar-item.active {
    background: var(--gradient);
}

.preview-main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features {
    background: var(--dark-light);
}

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

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.2); color: var(--primary); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.2); color: var(--secondary); }
.feature-icon.green { background: rgba(16, 185, 129, 0.2); color: var(--accent); }
.feature-icon.orange { background: rgba(249, 115, 22, 0.2); color: #F97316; }
.feature-icon.pink { background: rgba(236, 72, 153, 0.2); color: #EC4899; }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.2); color: #06B6D4; }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-light);
    line-height: 1.8;
}

/* AI Showcase */
.ai-showcase {
    background: var(--dark);
}

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

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ai-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
}

.ai-feature-icon {
    font-size: 2rem;
}

.ai-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.ai-feature p {
    color: var(--gray-light);
    font-size: 0.875rem;
}

.ai-demo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
}

.ai-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ai-badge {
    padding: 0.5rem 1rem;
    background: var(--gradient);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.ai-status {
    color: var(--accent);
    font-size: 0.875rem;
}

.ai-message {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.ai-message.user {
    background: rgba(59, 130, 246, 0.2);
    margin-left: 2rem;
}

.ai-message.assistant {
    background: rgba(255, 255, 255, 0.05);
    margin-right: 2rem;
}

/* Solutions */
.solutions {
    background: var(--dark-light);
}

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

.solution-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    text-align: center;
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.solution-card ul {
    list-style: none;
    text-align: left;
}

.solution-card li {
    padding: 0.75rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card li:last-child {
    border-bottom: none;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s;
}

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

.pricing-card.featured {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--gradient);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin: 1.5rem 0;
}

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

.price-period {
    color: var(--gray);
    font-size: 1.125rem;
}

.price-description {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

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

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

/* Testimonials */
.testimonials {
    background: var(--dark-light);
}

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

.testimonial-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
}

.testimonial-stars {
    color: #FCD34D;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 600;
}

.author-title {
    color: var(--gray);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    padding: 6rem 0;
}

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

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

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

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .showcase-header .hero-title {
        font-size: 3.5rem;
        transform: perspective(600px) rotateX(6deg);
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .device-screen {
        border-radius: 6px;
    }
    
    .app-showcase.compact .device-frame {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-title {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .showcase-header .hero-title {
        font-size: 2.8rem;
        transform: perspective(400px) rotateX(5deg);
    }
    
    .hero-title.compact {
        font-size: 1.8rem;
    }
    
    .app-showcase {
        padding: 2.5rem 0 3rem;
    }
    
    .app-showcase.compact {
        padding: 2rem 0 2rem;
    }
    
    .device-screen {
        border-radius: 4px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .solutions-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
