:root {
    --primary: #FF6B5D;
    --primary-dark: #E55A4D;
    --primary-light: #FF8F85;
    --text: #1a1a2e;
    --text-secondary: #666;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #FF6B5D 0%, #FF8F85 100%);
    --gradient-ai: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #FF7B6D;
        --primary-dark: #FF6B5D;
        --primary-light: #FF9F95;
        --text: #f0f0f0;
        --text-secondary: #a0a0a0;
        --background: #1a1a2e;
        --background-alt: #252542;
        --border: #3a3a5a;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section - New Layout with Screenshots */
.hero {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 100%);
    padding-bottom: 2rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 107, 93, 0.3);
}

.app-icon svg {
    width: 100%;
    height: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.platform-badges span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--background-alt);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.hero-screenshots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.device-showcase {
    position: relative;
}

.iphone-frame {
    position: relative;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 50px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(255, 107, 93, 0.2),
        inset 0 0 0 3px #333;
}

.screenshot-main {
    width: 280px;
    height: auto;
    border-radius: 38px;
    display: block;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text);
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    width: fit-content;
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.app-store-button svg {
    width: 24px;
    height: 24px;
}

/* Trial Badge */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 93, 0.4);
    font-size: 0.95rem;
}

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

.trial-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 2rem;
    background: var(--text);
    color: var(--background);
    flex-wrap: wrap;
}

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

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

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

/* New Features Section */
.new-features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.new-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.new-features h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.new-feature-card {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.new-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.new-feature-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.new-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.new-feature-icon.ai-gradient {
    background: var(--gradient-ai);
}

.new-feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-tag {
    display: inline-block;
    background: var(--gradient-ai);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.new-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Screenshot Gallery */
.screenshot-gallery {
    padding: 5rem 2rem;
    background: var(--background-alt);
    text-align: center;
}

.screenshot-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.screenshots-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.screenshot-item {
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-item img {
    width: 200px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Premium Features Section */
.premium-features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--background);
}

.premium-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.premium-card {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.premium-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.premium-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.premium-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.premium-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.developer {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Pricing Section */
.pricing {
    background: var(--background-alt);
    padding: 5rem 2rem;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    width: 280px;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

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

/* Footer */
footer {
    background: var(--text);
    color: var(--background);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        align-items: center;
    }

    .platform-badges {
        justify-content: center;
    }

    .hero-screenshots {
        min-height: 500px;
    }

    .screenshot-main {
        width: 240px;
    }

    .stats-banner {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .screenshot-item img {
        width: 140px;
    }

    .screenshots-row {
        gap: 1rem;
    }

    .new-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MORE APPS SECTION
   ============================================ */

.more-apps {
    padding: 80px 24px;
    background: var(--background);
}

.more-apps-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.more-apps h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.more-apps-container > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.more-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.more-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.more-app-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(255, 107, 93, 0.15);
}

.more-app-icon {
    font-size: 2rem;
}

.more-app-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.more-apps-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.more-apps-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 93, 0.4);
}

@media (max-width: 640px) {
    .more-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   DUTTLABS BRANDED FOOTER
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, var(--text) 0%, #0A0A0B 100%);
    border-top: 1px solid var(--border);
    padding: 60px 24px 24px;
    margin-top: 0;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}

.brand-logo {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B5D 0%, #FF8F85 50%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

.footer-links-grid {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: #FAFAFA;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.site-footer .footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-maker {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-maker a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-maker a:hover {
    opacity: 0.8;
}

/* Mobile responsive for new footer */
@media (max-width: 640px) {
    .site-footer {
        padding: 40px 16px 20px;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links-grid {
        gap: 32px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.iphone-frame {
    animation: float 6s ease-in-out infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
