/* Modern Design System - Upgraded from React Design */
:root {
    /* Colors */
    --background: #0a0a0f;
    --foreground: #f5f5f7;
    --card: #16161e;
    --card-foreground: #f5f5f7;
    --primary: #0066ff;
    --primary-foreground: #ffffff;
    --secondary: #1e1e2e;
    --secondary-foreground: #f5f5f7;
    --muted: #27272f;
    --muted-foreground: #a1a1aa;
    --accent: #0066ff;
    --accent-foreground: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --input-background: #1e1e2e;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing */
    --radius: 0.625rem;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

.fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

.fade-in-scale-delay {
    animation: fadeInScale 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-up[data-delay="100"] {
    animation-delay: 0.1s;
}

.fade-in-up[data-delay="150"] {
    animation-delay: 0.15s;
}

.fade-in-up[data-delay="200"] {
    animation-delay: 0.2s;
}

.fade-in-up[data-delay="300"] {
    animation-delay: 0.3s;
}

.fade-in-up[data-delay="400"] {
    animation-delay: 0.4s;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(to right, var(--primary), rgba(0, 102, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mono-text {
    font-family: var(--font-mono);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 102, 255, 0.05), var(--background), var(--background));
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    z-index: 0;
}

.hero-radial-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(50%, -50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 48px 24px;
}

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

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    background: rgba(0, 102, 255, 0.05);
    backdrop-filter: blur(8px);
    width: fit-content;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.badge-text {
    font-size: 14px;
    font-family: var(--font-mono);
    color: var(--primary);
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.hero-name {
    margin-top: -8px;
    margin-bottom: 8px;
}

.name-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 18px;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2);
}

.cta-button-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.cta-button-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 14px;
    color: var(--muted-foreground);
    font-family: var(--font-mono);
}

.hero-travel-line {
    font-size: 13px;
    color: var(--muted-foreground);
    font-family: var(--font-mono);
    margin-top: 8px;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.1);
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent, transparent);
    z-index: 10;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: float 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border-radius: 9999px;
    border: 2px solid rgba(161, 161, 170, 0.2);
    display: flex;
    justify-content: center;
    padding: 8px;
}

.scroll-dot {
    width: 6px;
    height: 8px;
    background: var(--primary);
    border-radius: 9999px;
}

/* Features Section */
.features {
    padding: 96px 0;
    border-top: 1px solid var(--border);
    position: relative;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card:hover .feature-underline {
    width: 48px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: linear-gradient(to bottom right, rgba(0, 102, 255, 0.2), rgba(0, 102, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-description {
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.feature-underline {
    height: 2px;
    width: 0;
    background: var(--primary);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* Travel Niche Section (secondary) */
.section-secondary {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

.section-title-secondary {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.travel-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.travel-intro {
    font-size: 17px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 96px 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.portfolio-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.portfolio .container {
    position: relative;
    z-index: 10;
}

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

.section-title {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--foreground);
}

.portfolio-subtitle {
    font-size: 14px;
    color: var(--muted-foreground);
    font-family: var(--font-mono);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-thumbnail:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

/* Storylane stacked-card visual effect (tight offset) */
#storylane-thumbnail.stacked-thumbnail {
    box-shadow:
        8px 8px 0 rgba(0, 102, 255, 0.14),
        16px 16px 0 rgba(0, 102, 255, 0.08),
        0 20px 36px rgba(0, 0, 0, 0.28);
}

#storylane-thumbnail.stacked-thumbnail:hover {
    transform: translateY(-8px) translateX(-2px);
    box-shadow:
        10px 10px 0 rgba(0, 102, 255, 0.16),
        20px 20px 0 rgba(0, 102, 255, 0.1),
        0 26px 46px rgba(0, 102, 255, 0.22);
}

.thumbnail-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
    z-index: 10;
    pointer-events: none;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-thumbnail:hover img {
    transform: scale(1.1);
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.play-button-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
}

.portfolio-thumbnail:hover .play-button-circle {
    transform: scale(1.1);
    background: var(--primary);
}

.play-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-foreground);
    margin-left: 2px;
}

.video-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    z-index: 20;
}

.video-count-chip {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 102, 255, 0.35);
    background: rgba(0, 102, 255, 0.18);
    color: #d8e6ff;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 20;
}

.portfolio-variant-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: -4px;
}

.variant-pill {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted-foreground);
    border-radius: 9999px;
    padding: 6px 12px;
    font-size: 12px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-pill:hover {
    border-color: rgba(0, 102, 255, 0.35);
    color: #d8e6ff;
}

.variant-pill.active {
    background: rgba(0, 102, 255, 0.22);
    border-color: rgba(0, 102, 255, 0.5);
    color: #d8e6ff;
}

.portfolio-label {
    text-align: center;
    font-size: 14px;
    color: var(--muted-foreground);
}

.portfolio-sublabel {
    text-align: center;
    font-size: 12px;
    color: var(--muted-foreground);
    opacity: 0.8;
    margin-top: 4px;
}

/* Client Work - Logo Badge */
.portfolio-item-client {
    position: relative;
}

.client-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.portfolio-item-client:hover .client-logo-badge {
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.05);
}

.client-badge-text {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Brand Logo Badge (for portfolio concepts) */
.brand-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.portfolio-item-brand:hover .brand-logo-badge {
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.05);
}

/* Unified logo sizing - fixed container keeps borders consistent */
.brand-logo-badge,
.client-logo-badge {
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
}

.portfolio-logo {
    height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    object-position: center;
}

/* ASUS logo larger but badge stays same size - reduced padding */
.brand-logo-badge-asus {
    padding: 6px 16px;
}

.portfolio-logo-asus {
    height: 40px;
    max-width: 140px;
}

/* Text-only logo badge (for white-label products) */
.portfolio-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    letter-spacing: 0.02em;
}

/* Packages Section */
.packages {
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

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

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

.package-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.05);
}

.package-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, var(--card), rgba(0, 102, 255, 0.05));
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.1);
}

.package-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 80px rgba(0, 102, 255, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 9999px;
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.package-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 500;
    width: fit-content;
}

.package-badge.starter,
.package-badge.pro {
    background: var(--muted);
    color: var(--muted-foreground);
}

.package-badge.growth {
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary);
}

.package-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
}

.package-description {
    font-size: 14px;
    color: var(--muted-foreground);
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--foreground);
}

.checkmark {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.package-button {
    width: 100%;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--foreground);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.package-button:hover {
    background: var(--muted);
    transform: translateX(4px);
}

.package-button.primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2);
}

.package-button.primary:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
    transform: translateX(4px);
}

/* Aspect Ratio Upgrades Section */
.aspect-ratio {
    padding: 96px 0;
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, var(--background), rgba(0, 102, 255, 0.05));
    position: relative;
}

.aspect-ratio-glow {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 500px;
    height: 500px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.container-narrow {
    max-width: 896px;
}

.aspect-ratio .container-narrow {
    position: relative;
    z-index: 10;
}

.aspect-ratio-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.aspect-ratio-header {
    margin-bottom: 0;
}

.aspect-ratio-tagline {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-top: 8px;
}

.aspect-ratio-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(22, 22, 30, 0.5);
    backdrop-filter: blur(8px);
}

.aspect-ratio-explainer {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
}

.aspect-ratio-subtitle {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.aspect-ratio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 968px) {
    .aspect-ratio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.format-card {
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 180px;
    transition: all 0.3s ease;
}

.format-card:hover {
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.05);
    transform: translateY(-4px);
}

.format-visual {
    border: 2px solid var(--primary);
    border-radius: 8px;
    flex-shrink: 0;
}

.format-visual.format-9-16 {
    width: 45px;
    height: 80px;
}

.format-visual.format-4-5 {
    width: 64px;
    height: 80px;
}

.format-visual.format-1-1 {
    width: 80px;
    height: 80px;
}

.format-visual.format-16-9 {
    width: 80px;
    height: 45px;
}

.format-label {
    font-weight: 500;
    color: var(--foreground);
    text-align: center;
}

.format-use {
    font-size: 12px;
    color: var(--muted-foreground);
    text-align: center;
}

.aspect-ratio-addons {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 32px;
}

.addons-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.addons-heading {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
}

.addons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--muted-foreground);
}

.addons-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.addons-list .bullet {
    color: var(--primary);
    flex-shrink: 0;
}

.addons-list .bullet::before {
    content: "•";
}

.addons-p {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0;
}

.addons-note {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.addons-note p {
    font-size: 14px;
    color: var(--muted-foreground);
    font-style: italic;
    margin: 0;
}

.aspect-ratio-cta {
    text-align: center;
    padding-top: 16px;
}

.aspect-ratio-cta-text {
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.aspect-ratio-cta .cta-button-primary {
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 96px 0 48px;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 10;
    max-width: 768px;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-title {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--foreground);
}

.contact-subtitle {
    font-size: 20px;
    color: var(--muted-foreground);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    transition: all 0.3s ease;
}

.contact-form.form-highlight {
    animation: formPulse 2s ease-out;
}

@keyframes formPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 102, 255, 0.1);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--input-background);
    border: 1px solid var(--border);
    color: var(--foreground);
    font-size: 16px;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

.form-textarea {
    resize: none;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 12px 32px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2);
}

.submit-button:hover:not(:disabled) {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-button:hover .arrow-icon {
    transform: translateX(4px);
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

.footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

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

.footer-accent {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .portfolio-grid,
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 60px 0;
    }

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

    .hero-description {
        font-size: 18px;
    }

    .features,
    .portfolio,
    .packages,
    .contact {
        padding: 64px 0;
    }

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

    .package-card {
        padding: 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Intersection Observer Animation Trigger */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 9/16;
    max-height: 90vh;
    z-index: 10000;
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-modal-embed {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-modal-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        aspect-ratio: 9/16;
    }

    #storylane-thumbnail.stacked-thumbnail {
        box-shadow:
            6px 6px 0 rgba(0, 102, 255, 0.12),
            12px 12px 0 rgba(0, 102, 255, 0.07),
            0 18px 30px rgba(0, 0, 0, 0.25);
    }
}

/* ========== Rate Card Page (hidden / direct link) ========== */
.ratecard-page {
    min-height: 100vh;
    padding: 80px 24px 96px;
}

.ratecard-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.ratecard-heading {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
}

.ratecard-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.ratecard-locations {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.ratecard-title {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 48px;
}

.ratecard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.rate-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rate-card-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, var(--card), rgba(0, 102, 255, 0.06));
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.12);
}

.rate-card-badges {
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rate-card-recommended {
    padding: 8px 20px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rate-card-savings {
    padding: 8px 16px;
    background: #059669;
    color: #fff;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.rate-card-tier {
    display: inline-block;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rate-card-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.rate-card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.rate-card-turnaround {
    font-size: 0.9rem;
    color: var(--primary);
    margin: 0;
}

.rate-card-tagline {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin: 0;
}

.rate-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rate-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--foreground);
}

.rate-card-features li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

/* Add-On Rates section (rate card page) */
.addon-rates {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.addon-rates-title {
    text-align: center;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 12px;
}

.addon-rates-subheading {
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted-foreground);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.addon-blocks {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.addon-block {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 24px 28px;
}

.addon-block-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.addon-block-note-top {
    margin-bottom: 16px;
}

.addon-block-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 14px 0 0;
    line-height: 1.5;
}

.addon-table-wrap {
    overflow-x: auto;
    margin: 4px 0 0;
}

.addon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.addon-table th,
.addon-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.addon-table th {
    color: var(--muted-foreground);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.addon-table td {
    color: var(--foreground);
}

.addon-table tbody tr:last-child td {
    border-bottom: none;
}

.addon-price {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.addon-table-2col th:last-child,
.addon-table-2col td:last-child {
    text-align: right;
}

.addon-table-3col th:last-child,
.addon-table-3col td:last-child {
    text-align: right;
}

.addon-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.addon-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--foreground);
    line-height: 1.5;
}

.addon-bullets li:last-child {
    margin-bottom: 0;
}

.addon-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.ratecard-footer {
    margin-top: 64px;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
    text-align: center;
}

.ratecard-footer-contact {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.ratecard-footer-contact a {
    color: var(--primary);
    text-decoration: none;
}

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

.ratecard-footer-payment {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin: 0;
}

@media (max-width: 900px) {
    .ratecard-grid {
        grid-template-columns: 1fr;
    }
}
