/* ===================================
   Award Certificate Creator
   Dreamy Modern Theme
   Lavender x Soft Pink x Mint
   =================================== */

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design System */
:root {
    /* Color Palette - Dreamy Modern */
    --lavender: #C8B6FF;
    --lavender-light: #E0D4FF;
    --lavender-dark: #9B85E3;
    --soft-pink: #FFB8D0;
    --soft-pink-light: #FFD6E4;
    --mint: #B8F0D8;
    --mint-light: #D4F7E8;

    --bg-primary: #FEFBFF;
    --bg-secondary: #F8F4FF;
    --bg-warm: #FFF5F8;

    --text-heading: #2D1B4E;
    --text-body: #4A4A5A;
    --text-muted: #8B8BA0;

    /* Gradients */
    --gradient-dreamy: linear-gradient(135deg, #C8B6FF 0%, #FFB8D0 50%, #B8F0D8 100%);
    --gradient-hero: linear-gradient(180deg, #FEFBFF 0%, #F8F4FF 50%, #FFF5F8 100%);
    --gradient-cta: linear-gradient(135deg, #9B85E3 0%, #C8B6FF 30%, #FFB8D0 70%, #FFD6E4 100%);
    --gradient-shimmer: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);

    /* Typography */
    --font-display: 'Quicksand', 'Noto Sans JP', sans-serif;
    --font-body: 'Nunito', 'Noto Sans JP', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(155, 133, 227, 0.06);
    --shadow-md: 0 4px 20px rgba(155, 133, 227, 0.1);
    --shadow-lg: 0 8px 40px rgba(155, 133, 227, 0.12);
    --shadow-lavender: 0 4px 20px rgba(200, 182, 255, 0.3);
    --shadow-card: 0 2px 30px rgba(155, 133, 227, 0.08);
    --shadow-glass: 0 8px 32px rgba(155, 133, 227, 0.1);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Compatibility: Legacy variables used by privacy-policy, terms-of-service, contact pages */
    --background-primary: var(--bg-primary);
    --background-secondary: var(--bg-secondary);
    --background-tertiary: var(--bg-warm);
    --text-primary: var(--text-heading);
    --text-secondary: var(--text-muted);
    --text-main: var(--text-heading);
    --primary-color: var(--lavender-dark);
    --primary-dark: var(--lavender-dark);
    --gradient-primary: var(--gradient-dreamy);
    --gradient-text: linear-gradient(to right, var(--lavender-dark), var(--soft-pink));
    --radius-full: 9999px;
    --shadow-xl: var(--shadow-lg);

    /* Legacy color aliases */
    --cream: var(--bg-primary);
    --cream-dark: var(--bg-secondary);
    --ivory: var(--bg-warm);
    --plum: var(--text-heading);
    --plum-light: #6B4F8A;
    --charcoal: #2C2C2C;
    --pink-primary: var(--lavender);
    --pink-dark: var(--lavender-dark);
    --pink-light: var(--lavender-light);
    --pink-shine: var(--soft-pink-light);
    --text-light: var(--text-muted);
    --gradient-pink: var(--gradient-dreamy);
    --gradient-plum: var(--gradient-cta);
    --shadow-pink: var(--shadow-lavender);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
}

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

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

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

/* ===================================
   Scroll Reveal Animation
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===================================
   Decorative Animations
   =================================== */
@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 182, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(200, 182, 255, 0.5), 0 0 60px rgba(255, 184, 208, 0.2); }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(254, 251, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 182, 255, 0.15);
}

.nav {
    height: 100%;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.nav-logo-text a {
    color: inherit;
    text-decoration: none;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-dreamy);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    padding: 5rem 0 7rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Hero decorations */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blob-float 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--lavender-light);
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 200px;
    height: 200px;
    background: var(--soft-pink-light);
    bottom: -30px;
    left: -30px;
    animation-delay: -3s;
}

.hero-blob-3 {
    width: 150px;
    height: 150px;
    background: var(--mint-light);
    top: 40%;
    right: 20%;
    animation-delay: -5s;
}

.hero-sparkle {
    position: absolute;
    font-size: 1.2rem;
    animation: sparkle 3s ease-in-out infinite;
    user-select: none;
}

.hero-sparkle:nth-child(4) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.hero-sparkle:nth-child(5) {
    top: 25%;
    right: 15%;
    animation-delay: -1s;
    font-size: 0.9rem;
}

.hero-sparkle:nth-child(6) {
    bottom: 20%;
    left: 20%;
    animation-delay: -2s;
    font-size: 1rem;
}

.hero-sparkle:nth-child(7) {
    top: 60%;
    right: 10%;
    animation-delay: -1.5s;
    font-size: 0.8rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.hero-title br {
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
}

.btn-primary {
    background: var(--gradient-dreamy);
    color: var(--text-heading);
    box-shadow: var(--shadow-lavender);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 182, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-heading);
    border: 2px solid var(--lavender);
}

.btn-secondary:hover {
    background: var(--lavender-light);
    border-color: var(--lavender-light);
    transform: translateY(-3px);
}

/* Phone Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    background: white;
    padding: 10px;
    max-width: 500px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(200, 182, 255, 0.15);
    transition: transform 0.5s ease;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(200, 182, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.phone-mockup:hover {
    transform: translateY(-10px) rotate(2deg);
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* ===================================
   Features Section - Bento Grid
   =================================== */
.features {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Dreamy underline for section titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-dreamy);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

/* Bento: first 2 and last 2 cards span 2 columns */
.feature-card:nth-child(1),
.feature-card:nth-child(2),
.feature-card:nth-child(7),
.feature-card:nth-child(8) {
    grid-column: span 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(200, 182, 255, 0.15);
    position: relative;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glass);
    border-color: rgba(200, 182, 255, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(200, 182, 255, 0.15) 0%, rgba(255, 184, 208, 0.15) 100%);
    border-radius: 50%;
    border: 1px solid rgba(200, 182, 255, 0.2);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===================================
   Screenshot Gallery (Swiper)
   =================================== */
.screenshots {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Gradient mesh background */
.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(200, 182, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 184, 208, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(184, 240, 216, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.screenshot-swiper {
    padding: 2rem 0 3rem;
}

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

.screenshot-phone {
    background: linear-gradient(145deg, #2C2C2C 0%, #1A1A1A 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 20px 60px rgba(0, 0, 0, 0.15);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.screenshot-phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1A1A1A;
    border-radius: 12px;
    z-index: 10;
}

.screenshot-phone img {
    display: block;
    width: 200px;
    height: auto;
    border-radius: 28px;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
}

.screenshot-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Swiper pagination */
.screenshot-swiper .swiper-pagination-bullet {
    background: var(--lavender);
    opacity: 0.4;
}

.screenshot-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--lavender-dark);
}

/* ===================================
   Use Cases Section
   =================================== */
.use-cases {
    padding: 7rem 0;
    background: var(--bg-warm);
    position: relative;
}

/* Subtle dot pattern */
.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(200, 182, 255, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.use-cases .container {
    position: relative;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.use-case {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(200, 182, 255, 0.12);
    box-shadow: var(--shadow-sm);
}

.use-case:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glass);
    border-color: rgba(200, 182, 255, 0.25);
    background: rgba(255, 255, 255, 0.9);
}

.use-case:nth-child(1) { border-top: 3px solid var(--lavender); }
.use-case:nth-child(2) { border-top: 3px solid var(--soft-pink); }
.use-case:nth-child(3) { border-top: 3px solid var(--mint); }
.use-case:nth-child(4) { border-top: 3px solid var(--lavender-dark); }
.use-case:nth-child(5) { border-top: 3px solid var(--soft-pink-light); }
.use-case:nth-child(6) { border-top: 3px solid var(--mint-light); }

.use-case h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.use-case p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 7rem 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    border: 1px solid rgba(200, 182, 255, 0.12);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--lavender);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-question::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--gradient-dreamy);
    color: var(--text-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    padding-left: 2.25rem;
}

/* ===================================
   Download / CTA Section
   =================================== */
.download {
    padding: 7rem 0;
    background: var(--gradient-cta);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative light particles */
.download-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.download-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: sparkle 4s ease-in-out infinite;
}

.download-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.download-particle:nth-child(2) { top: 40%; right: 15%; animation-delay: -1s; width: 6px; height: 6px; }
.download-particle:nth-child(3) { bottom: 30%; left: 25%; animation-delay: -2s; }
.download-particle:nth-child(4) { top: 15%; right: 30%; animation-delay: -3s; width: 5px; height: 5px; }
.download-particle:nth-child(5) { bottom: 20%; right: 10%; animation-delay: -1.5s; }
.download-particle:nth-child(6) { top: 60%; left: 5%; animation-delay: -2.5s; width: 3px; height: 3px; }

/* Decorative blobs */
.download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

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

.download .section-title {
    color: white;
    margin-bottom: 1rem;
}

.download .section-title::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.8), rgba(255,255,255,0.4));
}

.download-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    color: white;
    transition: all 0.4s ease;
    min-width: 200px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
    color: var(--text-heading);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: none;
}

.download-btn:hover .btn-small,
.download-btn:hover .btn-large {
    color: var(--text-heading);
}

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

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

.btn-small {
    font-size: 0.7rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-large {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.download-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-family: var(--font-display);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--lavender-light);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--lavender-light);
}

.footer-download-link {
    display: inline-block;
    background: var(--gradient-dreamy);
    color: var(--text-heading) !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-download-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lavender);
    color: var(--text-heading) !important;
}

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

.footer-bottom .last-updated {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* Template comparison table */
.template-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.template-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.95rem;
}

.template-table th,
.template-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(200, 182, 255, 0.15);
}

.template-table thead th {
    background: rgba(200, 182, 255, 0.15);
    font-weight: 600;
    color: var(--text-primary, #333);
}

.template-table tbody tr:hover {
    background: rgba(200, 182, 255, 0.08);
}

@media (max-width: 640px) {
    .template-table {
        font-size: 0.85rem;
    }
    .template-table th,
    .template-table td {
        padding: 0.5rem 0.75rem;
    }
}

/* ===================================
   Common Page Styles
   =================================== */
.page-main {
    padding: 4rem 0;
    min-height: 80vh;
    background: var(--bg-primary);
}

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

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

.page-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.back-to-app {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(200, 182, 255, 0.2);
}

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

    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(7),
    .feature-card:nth-child(8) {
        grid-column: span 1;
    }

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero {
        padding: 3rem 0 5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        max-width: 360px;
    }

    /* Hide some decorations on mobile */
    .hero-blob-3,
    .hero-sparkle:nth-child(6),
    .hero-sparkle:nth-child(7) {
        display: none;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(254, 251, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(200, 182, 255, 0.15);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1rem;
        text-align: center;
        padding: 0.5rem;
    }

    .nav-links a::after {
        display: none;
    }

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

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

    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(7),
    .feature-card:nth-child(8) {
        grid-column: span 1;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

    .page-main {
        padding: 3rem 0;
    }
}

/* Screenshot Gallery Responsive */
@media (min-width: 1024px) {
    .screenshot-phone img {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .screenshots {
        padding: 4rem 0;
    }

    .screenshot-phone {
        border-radius: 32px;
        padding: 10px;
    }

    .screenshot-phone::before {
        width: 60px;
        height: 20px;
        top: 10px;
    }

    .screenshot-phone img {
        width: 160px;
        border-radius: 22px;
    }

    .screenshot-label {
        font-size: 0.8rem;
    }
}
