/* CSS Variables */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

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

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="600" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s infinite linear;
}

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

.hero {
    /* Mobile first: single column layout */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 1s ease 0.5s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideUp 1s ease 0.9s forwards;
    width: 100%;
    max-width: 400px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    opacity: 0;
    animation: slideUp 1s ease 1.1s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideUp 1s ease 1.3s forwards;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #4b5563;
    border-radius: 2px;
}

.phone-screen {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    border-radius: 1.5rem;
    height: 100%;
    padding: 2rem 1rem;
    color: var(--text-primary);
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-header {
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.image-placeholder {
    flex: 1;
    background: var(--bg-accent);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px dashed var(--border-color);
}

.prompts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.prompt-chip {
    padding: 0.5rem 1rem;
    background: var(--bg-accent);
    border-radius: 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-chip.active {
    background: var(--primary-color);
    color: white;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Gallery Section */
.gallery-grid {
    display: grid;
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.before-after {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.image-container {
    flex: 1;
    text-align: center;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background: var(--bg-accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.placeholder-image.enhanced {
    background: var(--gradient-accent);
    color: white;
}

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

.arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* How it works */
.how-it-works {
    background: var(--bg-secondary);
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Download Section */
.download {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

.store-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-features span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

/* Large desktops - improved layout */
@media (min-width: 1024px) {
    /* Hero section - two columns with phone on right */
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        text-align: left;
        min-height: 80vh;
    }
    
    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    
    .hero-image {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero content layout for desktop */
    .hero-title {
        margin-bottom: 1.5rem;
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }
    
    /* Smaller buttons on large screens - perfectly aligned with phone screen */
    .hero-buttons {
        flex-direction: row;
        max-width: none;
        width: auto;
        justify-content: flex-start;
        margin: 2rem 0;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
        flex: 0 0 auto;
        border-radius: 0.6rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
        justify-content: flex-start;
    }
    
    /* Features grid - 2 columns */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Gallery - horizontal layout */
    .gallery-grid {
        gap: 1.5rem;
    }
    
    .gallery-item {
        padding: 1.5rem;
    }
    
    .before-after {
        gap: 1.5rem;
    }
    
    .placeholder-image {
        height: 160px;
    }
}

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 6rem 2rem 4rem;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

/* Mobile Navigation Styles */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile menu overlay */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    animation: fadeInOverlay 0.3s ease forwards;
}

@keyframes fadeInOverlay {
    to { opacity: 1; }
}

.nav-active {
    transform: translateX(0%) !important;
}

/* Mobile menu animations */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 280px;
        max-width: 80vw;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        padding-top: 6rem;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu li {
        opacity: 0;
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        margin: 0 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu a:hover {
        background: var(--bg-accent);
        color: var(--primary-color);
    }
    
    .nav-menu .cta-button {
        background: var(--gradient-primary);
        color: white !important;
        margin-top: 1rem;
    }
    
    .nav-menu .cta-button:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }
    
    .burger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: var(--primary-color);
    }
    
    .burger.toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: var(--primary-color);
    }
}

/* Desktop menu styles */
@media (min-width: 769px) {
    .nav-menu {
        position: static;
        transform: translateX(0);
        flex-direction: row;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding-top: 0;
        overflow-y: visible;
    }
    
    .nav-menu li {
        opacity: 1;
        margin: 0;
        width: auto;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        margin: 0;
        font-size: 1rem;
        min-height: auto;
        display: inline-block;
    }
    
    .nav-menu a:hover {
        background: transparent;
        color: var(--primary-color);
    }
    
    .nav-menu .cta-button {
        margin-top: 0;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 6rem 1.5rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .before-after {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .download-content h2 {
        font-size: 2.25rem;
    }
    
    .download-content p {
        font-size: 1.125rem;
    }
    
    .store-button {
        padding: 0.875rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .download-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Large Mobile Phones */
@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav {
        padding: 1rem 1.25rem;
    }
    
    .logo {
        font-size: 1.375rem;
    }
    
    .hero {
        padding: 5rem 1.25rem 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat {
        flex: 1;
        min-width: 120px;
    }
    
    .phone-mockup {
        width: 230px;
        height: 460px;
    }
    
    .app-interface {
        padding: 1.5rem 0.75rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .gallery-item {
        padding: 1.25rem 0.75rem;
        margin: 0 -0.5rem;
        border-radius: 1rem;
    }
    
    .before-after {
        gap: 1rem;
    }
    
    .placeholder-image {
        height: 160px;
        font-size: 1.1rem;
        border-radius: 0.75rem;
    }
    
    .arrow {
        font-size: 1.5rem;
        color: var(--primary-color);
        font-weight: bold;
        margin: 0.75rem 0;
    }
    
    .step {
        padding: 0 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-column {
        margin-bottom: 1rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 0.875rem 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 4.5rem 1rem 1.5rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 0.75rem;
    }
    
    .phone-screen {
        padding: 1.5rem 0.75rem;
    }
    
    .app-header {
        font-size: 1.125rem;
    }
    
    .image-placeholder {
        font-size: 2.5rem;
    }
    
    .prompt-chip {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .gallery-item {
        padding: 1rem;
        margin: 0 -1rem;
        border-radius: 0.75rem;
    }
    
    .before-after {
        gap: 0.75rem;
    }
    
    .placeholder-image {
        height: 140px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .image-label {
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .arrow {
        font-size: 1.25rem;
        margin: 0.5rem 0;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .step h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .download-content h2 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .download-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .store-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .store-text {
        font-size: 0.8rem;
    }
    
    .store-name {
        font-size: 1rem;
    }
    
    .download-features span {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile Phones */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
        padding: 0.5rem;
    }
    
    .phone-screen {
        padding: 1.25rem 0.5rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat {
        min-width: auto;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    .download-content h2 {
        font-size: 1.625rem;
    }
}

/* Touch Device Optimizations */
.touch-device .feature-card:hover,
.touch-device .gallery-item:hover,
.touch-device .btn:hover,
.touch-device .store-button:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.touch-device .cta-button:hover {
    transform: none;
}

/* Disable hover animations on touch devices */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    .gallery-item:hover .placeholder-image.enhanced {
        transform: none;
    }
    
    .btn:hover,
    .store-button:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
        box-shadow: none;
    }
    
    .nav-menu a:hover {
        background: none;
        color: var(--text-primary);
    }
}

/* Touch-friendly improvements for all mobile sizes */
@media (max-width: 768px) {
    .btn, .store-button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .feature-card, .gallery-item, .step {
        touch-action: manipulation;
    }
    
    /* Prevent double-tap zoom on buttons */
    .btn, .store-button, .prompt-chip {
        touch-action: manipulation;
    }
    
    /* Improved gallery spacing on mobile */
    .gallery-grid {
        gap: 1.25rem;
    }
    
    .gallery-item {
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
    }
}

/* Focus styles for accessibility */
.btn:focus,
.store-button:focus,
.prompt-chip:focus,
.nav-menu a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Improved button active states for mobile */
.btn:active,
.store-button:active {
    transform: scale(0.98);
}

.prompt-chip:active {
    transform: scale(0.95);
}

/* Legal Pages Styles */
.legal-content {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    background: var(--bg-secondary);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.effective-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.legal-text {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.legal-text .intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Active nav link for legal pages */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding-top: 80px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-text {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.75rem;
    }
    
    .legal-text {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.125rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
} 