/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0f0f15;
    --bg-secondary: #13131b;
    --bg-tertiary: #1b1b25;
    --bg-card: #1e1e2e;
    --purple-primary: #8b5cf6;
    --purple-secondary: #a78bfa;
    --purple-dark: #7c3aed;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border-color: rgba(139, 92, 246, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--purple-primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 14px;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 21, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

.nav-link:hover {
    color: var(--purple-secondary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu.active {
    display: flex !important;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    min-height: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 25s ease-in-out infinite reverse;
    z-index: -1;
}

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

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

.hero-title {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Store Buttons */
.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.store-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-button:hover::before {
    opacity: 1;
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
}

.store-button svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.store-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-button-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.store-button-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2px;
}

/* Hero Review */
.hero-review {
    max-width: 600px;
    margin-top: 24px;
    padding: 24px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    position: relative;
}

.hero-review::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(167, 139, 250, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.review-stars {
    font-size: 24px;
    color: var(--purple-primary);
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Add a subtle glow behind the phone */
.hero-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.phone-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.3));
}

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

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 10px 30px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Glowing edge effect */
.phone-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.6) 0%,
        rgba(167, 139, 250, 0.3) 50%,
        rgba(139, 92, 246, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.8;
    animation: glow 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Notch */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #0a0a14;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    background: #1a1a2e;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.features::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.features > .container {
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-secondary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.screenshots > .container {
    position: relative;
    z-index: 1;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

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

.screenshot-item .phone-mockup {
    margin-bottom: 20px;
}

.screenshot-label {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.screenshot-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.faq > .container {
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--purple-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--purple-secondary);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--purple-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Download Section ===== */
.download {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(167, 139, 250, 0.15) 40%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.download-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: var(--transition);
}

.store-button:hover {
    transform: translateY(-2px);
    border-color: var(--purple-primary);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 18px;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 15px;
}

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

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

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

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--purple-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--purple-primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .screenshot-description {
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Forms */
    .contact-form {
        max-width: 100%;
    }

    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav {
        padding: 16px 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        padding: 12px 24px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding: 50px 0 30px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1 1 calc(50% - 12px);
        min-width: 120px;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }

    .hero-review {
        padding: 16px;
        margin-top: 20px;
    }

    .review-text {
        font-size: 15px;
    }

    /* Phone Mockup */
    .phone-frame {
        width: 230px;
        height: 460px;
    }

    .phone-screen {
        border-radius: 28px;
        display: block;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-title {
        font-size: 20px;
    }

    /* Screenshots */
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .screenshot-item {
        max-width: 300px;
        margin: 0 auto;
    }

    .screenshot-description {
        font-size: 13px;
    }

    /* Download */
    .download {
        padding: 60px 0;
    }

    .download-title {
        font-size: 36px;
    }

    .download-subtitle {
        font-size: 17px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .store-button {
        width: 100%;
        max-width: 300px;
    }

    /* FAQ */
    .faq-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 17px;
    }

    /* Footer */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

    .footer-social {
        justify-content: center;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-card {
        border-radius: 16px;
    }

    /* Blog Post */
    .post-title {
        font-size: 36px;
    }

    .post-content {
        font-size: 17px;
    }

    .post-content h2 {
        font-size: 28px;
    }

    .post-content h3 {
        font-size: 22px;
    }

    /* Story Cards */
    .story-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Logo */
    .logo {
        font-size: 18px;
    }

    .logo-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Hero */
    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .hero-review {
        padding: 12px;
        margin-top: 16px;
    }

    .review-text {
        font-size: 13px;
    }

    .review-author {
        font-size: 12px;
    }

    /* Phone Mockup */
    .phone-frame {
        width: 200px;
        height: 400px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Features */
    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* Screenshots */
    .screenshot-label {
        font-size: 16px;
    }

    .screenshot-description {
        font-size: 13px;
    }

    /* Download */
    .download-title {
        font-size: 28px;
    }

    .download-subtitle {
        font-size: 16px;
    }

    .store-button {
        padding: 14px 24px;
    }

    .store-info h4 {
        font-size: 11px;
    }

    .store-info p {
        font-size: 16px;
    }

    /* FAQ */
    .faq-item {
        padding: 16px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-column h4 {
        font-size: 16px;
    }

    .footer-column a {
        font-size: 14px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    /* Blog */
    .blog-header h1 {
        font-size: 36px;
    }

    .blog-header p {
        font-size: 16px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-excerpt {
        font-size: 14px;
    }

    .blog-meta {
        font-size: 13px;
        flex-wrap: wrap;
    }

    /* Blog Post */
    .post-title {
        font-size: 32px;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 14px;
    }

    .post-content {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 24px;
        margin-top: 36px;
    }

    .post-content h3 {
        font-size: 20px;
        margin-top: 28px;
    }

    .post-content p {
        margin-bottom: 20px;
    }

    .post-content ul,
    .post-content ol {
        padding-left: 24px;
    }

    .highlight-box,
    .science-fact {
        padding: 16px;
        margin: 24px 0;
    }

    .cta-box {
        padding: 28px 20px;
    }

    .cta-box h3 {
        font-size: 24px;
    }

    .cta-box p {
        font-size: 15px;
    }

    /* Story Cards */
    .story-card {
        padding: 20px;
    }

    .story-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .story-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .story-info h4 {
        font-size: 18px;
    }

    .story-content {
        font-size: 15px;
    }

    .story-stats {
        flex-direction: column;
        gap: 16px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Smooth Scrolling ===== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ===== Responsive Images ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Touch-friendly Buttons ===== */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .store-button,
    .faq-question,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===== Prevent Text Size Adjustment ===== */
@media screen and (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* ===== Landscape Mobile Optimization ===== */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }

    .section {
        padding: 40px 0;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }
}

/* ===== Tablet Specific (601px - 1024px) ===== */
@media (min-width: 601px) and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero {
        padding: 50px 0 30px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content,
    .about-content,
    .legal-content {
        padding: 0 24px;
    }
}

/* ===== Additional Mobile Optimizations ===== */
@media (max-width: 768px) {
    /* Legal Pages */
    .legal-page,
    .about-page,
    .contact-page {
        padding: 100px 0 60px;
    }

    .legal-content h1,
    .about-content h1,
    .contact-content h1 {
        font-size: 32px;
    }

    .legal-content h2,
    .about-content h2 {
        font-size: 24px;
    }

    .legal-content h3,
    .about-content h3 {
        font-size: 20px;
    }

    .legal-content p,
    .about-content p {
        font-size: 16px;
    }

    /* Contact Form */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px;
        padding: 14px;
    }

    .contact-form button {
        width: 100%;
        padding: 16px;
    }

    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== Extra Small Mobile (320px - 375px) ===== */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .feature-card,
    .faq-item,
    .blog-card {
        padding: 16px;
    }
}
