/* ============================================
   Taskit Landing Page - Refined Notion/Claude Style
   ============================================ */

:root {
    /* Warm Paper Palette */
    --bg-main: #FAFAF9;
    --bg-secondary: #F5F4F1;
    --bg-tertiary: #EFEDE8;

    /* Text Colors */
    --text-main: #1A1A19;
    --text-secondary: #37352F;
    --text-muted: #787774;
    --text-subtle: #9B9A97;

    /* Accent - Claude-inspired warm orange */
    --accent-primary: #D97757;
    --accent-hover: #C4603E;
    --accent-light: #FDF4F0;
    --accent-glow: rgba(217, 119, 87, 0.15);

    /* Complementary accent */
    --accent-secondary: #5C8A6B;
    --accent-tertiary: #6B7C95;

    /* Borders & Shadows */
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 60px var(--accent-glow);

    /* Typography */
    --font-display: 'Fraunces', 'Noto Sans JP', serif;
    --font-body: 'DM Sans', 'Noto Sans JP', sans-serif;
    --font-mono: 'JetBrains Mono', 'Menlo', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 960px;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================
   Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.025;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-tertiary);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    color: var(--accent-primary);
}

/* ============================================
   Navigation
   ============================================ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
    transition: all 0.3s var(--ease-out-quart);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 28px;
    width: auto;
    transition: transform 0.3s var(--ease-out-expo);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

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

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

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

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-quart);
    border: none;
}

.btn svg {
    transition: transform 0.25s var(--ease-out-expo);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover svg {
    transform: translateY(2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-subtle);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn svg {
    flex-shrink: 0;
}

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

/* ============================================
   Hero Section
   ============================================ */

#hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, var(--accent-glow), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(92, 138, 107, 0.08), transparent 40%),
        radial-gradient(ellipse 50% 30% at 10% 80%, rgba(107, 124, 149, 0.06), transparent 30%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    margin-bottom: 3rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    margin-top: 1rem;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, var(--accent-glow), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-mockup-img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.hero-image-wrapper:hover .hero-mockup-img {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ============================================
   Section Headers
   ============================================ */

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    background: var(--accent-light);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */

#features {
    padding: var(--section-padding) 0;
    background: white;
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

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

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    transition: box-shadow 0.35s var(--ease-out-expo),
                border-color 0.35s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf9f6, #f0ede6);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: var(--accent-primary);
    transition: transform 0.3s var(--ease-out-expo);
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, #f2e4dc, #fce8e0) !important;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

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

/* ============================================
   Video Showcase - Introduction Video
   ============================================ */

.video-showcase {
    max-width: 800px;
    margin: 3.5rem auto 4rem;
    padding: 0 1rem;
}

.video-frame {
    position: relative;
    background: var(--bg-main);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px var(--border-subtle),
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -8px rgba(0, 0, 0, 0.08),
        0 40px 80px -16px var(--accent-glow);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo);
}

.video-frame:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px var(--border-subtle),
        0 8px 12px -2px rgba(0, 0, 0, 0.06),
        0 24px 48px -8px rgba(0, 0, 0, 0.1),
        0 48px 96px -16px rgba(217, 119, 87, 0.1);
}

.video-frame-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(180deg,
        var(--bg-secondary) 0%,
        var(--bg-tertiary) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.video-frame-dots {
    display: flex;
    gap: 6px;
}

.video-frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.video-frame:hover .video-frame-dots span:nth-child(1) {
    background: #FF5F57;
    border-color: #E54640;
}

.video-frame:hover .video-frame-dots span:nth-child(2) {
    background: #FFBD2E;
    border-color: #DEA123;
}

.video-frame:hover .video-frame-dots span:nth-child(3) {
    background: #28CA41;
    border-color: #1AAB29;
}

.video-frame-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.video-container {
    position: relative;
    background: #1A1A19;
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center,
        rgba(217, 119, 87, 0.15) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.video-wrapper {
    position: relative;
    padding-top: 70.212%; /* 4:3 aspect ratio */
    z-index: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   Mechanics Section
   ============================================ */

#mechanics {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.code-window {
    background: #1E1E1E;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.code-window-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #2D2D2D;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-window-dots {
    display: flex;
    gap: 6px;
}

.code-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-window-dots span:nth-child(1) { background: #FF5F56; }
.code-window-dots span:nth-child(2) { background: #FFBD2E; }
.code-window-dots span:nth-child(3) { background: #27C93F; }

.code-window-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.code-window pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-window code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
    color: #E0E0E0;
    background: transparent;
    padding: 0;
}

.code-folder {
    color: #79B8FF;
}

.code-file {
    color: #B5CEA8;
}

/* ============================================
   Pricing Section
   ============================================ */

#pricing {
    padding: var(--section-padding) 0;
    background: white;
    position: relative;
}

#pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    text-align: center;
    transition: box-shadow 0.35s var(--ease-out-expo),
                border-color 0.35s var(--ease-out-expo),
                transform 0.35s var(--ease-out-expo);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
    margin-top: 0.5rem;
}

.pricing-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-type {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
}

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

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D97757' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================
   Footer / CTA Section
   ============================================ */

#download {
    position: relative;
    padding: var(--section-padding) 0 60px;
    text-align: center;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 100%, var(--accent-glow), transparent 50%),
        linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
    pointer-events: none;
}

.cta-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-actions .btn-primary:hover svg {
    transform: translateX(4px);
}

.footer-bottom {
    position: relative;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-subtle);
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 20px;
    width: auto;
    opacity: 0.6;
}

.footer-tagline {
    font-style: italic;
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo);
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

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

/* Staggered animation for hero elements */
#hero .fade-in {
    transition-delay: calc(0.2s + var(--delay, 0) * 0.12s);
}

/* Staggered animation for feature cards */
.feature-card.fade-in {
    transition-delay: calc(var(--delay, 0) * 0.15s);
}

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

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Navigation */
    #navbar {
        height: 56px;
    }

    .logo-img {
        height: 24px;
    }

    .nav-links {
        display: none;
    }

    /* Hero */
    #hero {
        padding: 100px 0 60px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .hero-mockup-img {
        border-radius: 8px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-label {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon-box {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .feature-icon-box svg {
        width: 20px;
        height: 20px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }

    /* Video Showcase */
    .video-showcase {
        margin: 2.5rem auto 3rem;
    }

    .video-frame {
        border-radius: 12px;
    }

    .video-frame-header {
        padding: 12px 14px;
    }

    .video-frame-dots span {
        width: 8px;
        height: 8px;
    }

    .video-frame-title {
        font-size: 0.7rem;
    }

    /* Code Window */
    .code-window {
        border-radius: 8px;
    }

    .code-window-header {
        padding: 0.75rem 1rem;
    }

    .code-window-dots span {
        width: 8px;
        height: 8px;
    }

    .code-window pre {
        padding: 1rem;
    }

    .code-window code {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .pricing-value {
        font-size: 2.75rem;
    }

    .pricing-currency {
        font-size: 1.25rem;
    }

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

    /* Footer */
    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-top: 3rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 1rem;
    }

    #hero {
        padding: 90px 0 50px;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    /* Video Showcase */
    .video-showcase {
        margin: 2rem auto 2.5rem;
        padding: 0 0.75rem;
    }

    .video-frame {
        border-radius: 10px;
    }

    .video-frame-title {
        display: none;
    }

    .code-window-title {
        display: none;
    }

    .code-window code {
        font-size: 0.7rem;
    }

    .cta-box h2 {
        font-size: 1.35rem;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .pricing-value {
        font-size: 2.25rem;
    }

    .pricing-currency {
        font-size: 1rem;
        margin-top: 0.25rem;
    }

    .pricing-type {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .feature-card:hover {
        transform: none;
        box-shadow: none;
    }

    .feature-card:hover .feature-icon-box {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
        box-shadow: none;
    }

    .hero-image-wrapper:hover .hero-mockup-img {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .video-frame:hover {
        transform: none;
        box-shadow:
            0 0 0 1px var(--border-subtle),
            0 4px 6px -1px rgba(0, 0, 0, 0.05),
            0 20px 40px -8px rgba(0, 0, 0, 0.08),
            0 40px 80px -16px var(--accent-glow);
    }

    .video-frame:hover .video-frame-dots span:nth-child(1),
    .video-frame:hover .video-frame-dots span:nth-child(2),
    .video-frame:hover .video-frame-dots span:nth-child(3) {
        background: var(--bg-tertiary);
        border-color: rgba(0, 0, 0, 0.08);
    }
}

/* ============================================
   Selection & Focus Styles
   ============================================ */

::selection {
    background: var(--accent-light);
    color: var(--accent-hover);
}

:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Smooth scroll anchor offset */
:target {
    scroll-margin-top: 80px;
}
