/* ===== NoteWarp Dark Theme - Clean Minimal Design ===== */
:root {
    /* NoteWarp Brand Colors */
    --brand-orange: #ff8c00;
    --brand-orange-light: #ffa333;
    --brand-orange-dark: #e67e00;
    --brand-blue: #3d85c6;
    --accent-cyan: #4dd0e1;

    /* Dark Backgrounds */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --bg-subtle: #222222;

    /* Text */
    --text-white: #ffffff;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Accents */
    --success: #4CAF50;
    --border: #2a2a2a;
    --border-light: #333333;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1100px;
    --nav-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== MAGIC BACKGROUND ===== */
.magic-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.magic-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 140, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(61, 133, 198, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 140, 0, 0.04) 0%, transparent 70%);
    animation: magicFloat 25s ease-in-out infinite;
}

.magic-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 140, 0, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(61, 133, 198, 0.05) 0%, transparent 40%);
    animation: magicFloat 18s ease-in-out infinite reverse;
}

@keyframes magicFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Floating music notes - scroll with page, appear below hero */
.particles {
    position: absolute;
    top: 100vh;  /* Start below the viewport (after hero) */
    left: 0;
    right: 0;
    height: 300vh;  /* Cover scrollable content area */
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 1rem;
    color: var(--brand-orange);
    opacity: 0.15;
    animation: noteFloat 15s ease-in-out infinite;
}

.particle::before {
    content: '♪';
}

/* Distribute notes throughout scrollable area */
.particle:nth-child(1) { left: 5%; top: 5%; animation-delay: 0s; }
.particle:nth-child(2) { left: 88%; top: 15%; animation-delay: 2s; }
.particle:nth-child(2)::before { content: '♫'; }
.particle:nth-child(3) { left: 12%; top: 35%; animation-delay: 4s; }
.particle:nth-child(4) { left: 75%; top: 45%; animation-delay: 1s; }
.particle:nth-child(4)::before { content: '♬'; }
.particle:nth-child(5) { left: 30%; top: 65%; animation-delay: 3s; }
.particle:nth-child(5)::before { content: '♫'; }
.particle:nth-child(6) { left: 92%; top: 80%; animation-delay: 5s; }

@keyframes noteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.3; }
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--brand-orange);
}

.nav-cta {
    padding: var(--space-xs) var(--space-md);
    background: var(--brand-orange);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--brand-orange-light);
    color: white;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: var(--space-lg);
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
}

.mobile-menu-list li {
    margin-bottom: var(--space-lg);
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-orange);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-overlay {
        display: block;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-2xl);
    text-align: center;
}

/* Hero Background Video */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.hero-icon-container {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-lg);
}

.hero-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 15px 40px rgba(255, 140, 0, 0.4));
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        filter: drop-shadow(0 15px 40px rgba(255, 140, 0, 0.35));
    }
    50% {
        filter: drop-shadow(0 20px 50px rgba(255, 140, 0, 0.5));
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--brand-orange);
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--brand-orange-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.changelog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--accent-cyan);
    padding: 6px 12px;
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    background: rgba(77, 208, 225, 0.1);
    transition: all 0.2s ease;
}

.changelog-link:hover {
    background: rgba(77, 208, 225, 0.2);
    color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(77, 208, 225, 0.2);
}

/* ===== PRODUCT SHOWCASE ===== */
.showcase {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.showcase-image {
    max-width: 850px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(255, 140, 0, 0.08);
    border: 1px solid var(--border);
}

.showcase-image img {
    width: 100%;
    display: block;
}

/* ===== FEATURES GRID ===== */
.features {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    perspective: 1000px;
    cursor: pointer;
    height: 320px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.feature-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-front {
    justify-content: center;
    align-items: center;
}

.feature-card:hover .card-front {
    border-color: var(--brand-orange);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.1);
}

.card-back {
    transform: rotateY(180deg);
    padding: var(--space-md);
    justify-content: flex-start;
    text-align: left;
}

.card-back .feature-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.card-back-list {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0;
    flex: 1;
}

.card-back-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

.card-back-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: bold;
}

.card-back-note {
    margin-top: auto;
    padding-top: var(--space-sm);
    color: var(--brand-light);
    font-size: 0.85rem;
    font-style: italic;
    border-top: 1px solid var(--border);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-white);
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FEATURE SECTIONS (oeksound style) ===== */
.feature-section {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border);
}

.feature-section-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-md);
    text-align: center;
}

.feature-section-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.feature-section-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-section-image:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 140, 0, 0.1);
}

.feature-section-image img {
    width: 100%;
    display: block;
}

.feature-section-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    max-width: 600px;
    margin: 0 auto;
}

.feature-section-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-section-list li::before {
    content: "\2192";
    color: var(--brand-orange);
    font-weight: bold;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-orange);
    flex-shrink: 0;
}

.about-text h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.about-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-note a {
    color: var(--brand-orange);
    text-decoration: none;
}

.about-note a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        width: 120px;
        height: 120px;
    }
}

/* ===== PRICING ===== */
.pricing {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border);
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 0 50px rgba(255, 140, 0, 0.12);
}

.pricing-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 16px;
    margin-bottom: var(--space-md);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-white);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.price-old {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-orange);
}

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

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-lg);
}

.pricing-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: "\2713";
    color: var(--success);
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
    justify-content: center;
}

.checkout-info {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.pricing-alt {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* AI Credits */
.credits-section {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.credits-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-white);
}

.credits-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.credits-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.credit-card {
    position: relative;
    padding: var(--space-md);
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 10px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.credit-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.15);
}

.credit-card.popular {
    border-color: var(--brand-orange);
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 140, 0, 0.08));
}

.credit-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-orange);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
}

.credit-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1;
}

.credit-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.credit-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.credit-savings {
    font-size: 0.7rem;
    color: var(--success);
    margin-bottom: var(--space-xs);
}

.btn-credits {
    background: transparent;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    padding: 6px var(--space-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-credits:hover {
    background: var(--brand-orange);
    color: white;
}

.credits-note {
    margin-top: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* System Requirements */
.requirements {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.req-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border);
    min-width: 160px;
}

.req-icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.req-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-white);
    font-size: 0.95rem;
}

.req-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border);
}

.contact-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.contact-form {
    max-width: 450px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-btn {
    width: 100%;
    margin-top: var(--space-xs);
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-title {
    font-weight: 600;
    color: var(--text-white);
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
}

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

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

.footer-column a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-also {
    margin-top: var(--space-sm);
}

.footer-also a {
    color: var(--brand-orange);
    text-decoration: none;
}

.footer-also a:hover {
    text-decoration: underline;
}

.developer-credit {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
}

.developer-logo {
    width: 120px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.developer-logo:hover {
    opacity: 1;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* Navigation */
    .nav {
        height: 60px;
    }

    .nav-logo {
        width: 36px;
        height: 36px;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        padding-top: calc(60px + var(--space-2xl));
        padding-bottom: var(--space-xl);
    }

    .hero-icon,
    .hero-icon-container {
        width: 120px;
        height: 120px;
    }

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

    .hero-tagline {
        font-size: 1.15rem;
        margin-bottom: var(--space-md);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px var(--space-lg);
    }

    .hero-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .changelog-link {
        margin-top: var(--space-xs);
    }

    /* Showcase */
    .showcase {
        padding: var(--space-lg) 0 var(--space-2xl);
    }

    .showcase-image {
        border-radius: 8px;
    }

    /* Features */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .feature-card {
        height: 280px;
    }

    .card-front, .card-back {
        padding: var(--space-md);
    }

    .feature-icon {
        font-size: 1.75rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }

    .card-back-list li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .card-back-note {
        font-size: 0.8rem;
    }

    /* Feature Sections */
    .feature-section {
        padding: var(--space-2xl) 0;
    }

    .feature-section-title {
        font-size: 1.5rem;
    }

    .feature-section-text {
        font-size: 0.95rem;
    }

    .feature-section-image {
        border-radius: 8px;
    }

    .feature-section-list {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .feature-section-list li {
        font-size: 0.9rem;
    }

    /* Pricing */
    .pricing-card {
        padding: var(--space-lg);
        margin: 0 var(--space-xs);
    }

    .pricing-title {
        font-size: 1.1rem;
    }

    .price-new {
        font-size: 3rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }

    .requirements {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .req-item {
        width: 100%;
        max-width: 200px;
    }

    /* AI Credits */
    .credits-grid {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .credit-card {
        width: 100%;
        max-width: 160px;
    }

    /* Contact */
    .contact-form {
        padding: 0 var(--space-xs);
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-lg);
        width: 100%;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .footer-column li {
        margin-bottom: 0;
    }
}

/* ===== RESPONSIVE - SMALL PHONES ===== */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-icon,
    .hero-icon-container {
        width: 100px;
        height: 100px;
    }

    .btn {
        font-size: 0.9rem;
        padding: 12px var(--space-md);
    }

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

    .price-new {
        font-size: 2.5rem;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 48px;
    }

    .nav-link {
        padding: 12px;
    }

    .nav-cta {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Remove hover effects that don't work on touch */
    .feature-card:hover,
    .pricing-card:hover,
    .feature-section-image:hover {
        transform: none;
    }

    /* Keep the visual feedback on active state instead */
    .btn:active {
        transform: scale(0.98);
    }

    .feature-card:active {
        border-color: var(--brand-orange);
    }
}

/* ===== SAFE AREA INSETS (iPhone notch) ===== */
@supports (padding: max(0px)) {
    .nav {
        padding-left: max(var(--space-sm), env(safe-area-inset-left));
        padding-right: max(var(--space-sm), env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
    }
}

/* ===== LANDSCAPE PHONE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-top: calc(60px + var(--space-lg));
        padding-bottom: var(--space-lg);
    }

    .hero-icon,
    .hero-icon-container {
        width: 80px;
        height: 80px;
        margin-bottom: var(--space-sm);
    }

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

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: var(--space-sm);
    }

    .hero-description {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn {
        width: auto;
        max-width: none;
    }
}
