/* ===== CLIPIFY — PREMIUM BLACK DESIGN SYSTEM ===== */
/* Inspired by Apple's design language: pure black, white type, surgical precision */

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

:root {
    /* Core palette */
    --black: #000000;
    --black-rich: #050505;
    --black-card: #0a0a0a;
    --black-elevated: #111111;
    --black-border: #1a1a1a;

    /* Text */
    --white: #ffffff;
    --white-secondary: #a1a1a6;
    --white-tertiary: #6e6e73;
    --white-faint: #48484a;

    /* Accent */
    --accent: #2997ff;
    --accent-soft: rgba(41, 151, 255, 0.12);
    --accent-glow: rgba(41, 151, 255, 0.25);
    --accent-gradient: linear-gradient(135deg, #2997ff, #5ac8fa);

    /* Layout */
    --container-max: 1120px;
    --section-pad: 140px;
    --card-pad: 36px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.5s;
    --duration-fast: 0.3s;

    /* Shadows */
    --shadow-card: 0 0 0 1px var(--black-border), 0 4px 24px rgba(0,0,0,0.5);
    --shadow-elevated: 0 0 0 1px rgba(255,255,255,0.06), 0 16px 48px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 60px rgba(41, 151, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'ss01' on, 'ss02' on, 'cv01' on;
}

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

/* Selection */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41,151,255,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}


/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all var(--duration-fast) var(--ease-out);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--black-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

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

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: var(--white-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color var(--duration-fast) ease;
    letter-spacing: 0.01em;
}

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

.btn-nav {
    background: var(--white);
    color: var(--black) !important;
    padding: 8px 20px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 14px !important;
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-nav:hover {
    background: var(--white-secondary);
    transform: scale(1.02);
}

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

.mobile-menu-btn span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-fast) var(--ease-out);
    transform-origin: center;
}


/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
    background: var(--black);
}

.hero-bg-grid {
    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: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow-1 {
    width: 800px;
    height: 800px;
    background: var(--accent);
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #5e5ce6;
    bottom: -200px;
    right: -100px;
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    padding: 6px 16px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white-secondary);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30d158;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--white);
}

.hero-title-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--white-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.metric {
    text-align: center;
    padding: 0 40px;
}

.metric-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-unit {
    font-size: 24px;
    color: var(--white-secondary);
}

.metric-label {
    display: block;
    font-size: 13px;
    color: var(--white-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--black-border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    overflow: hidden;
}

.scroll-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--white-tertiary), transparent);
    animation: scroll-down 2s var(--ease-out) infinite;
}

@keyframes scroll-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: #e8e8ed;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--black-border);
}

.btn-ghost:hover {
    border-color: var(--white-faint);
    background: var(--black-elevated);
}

.btn-outline-subtle {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--black-border);
    padding: 12px 28px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
}

.btn-outline-subtle:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

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


/* ===== SECTION GLOBAL ===== */
section {
    padding: var(--section-pad) 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--white-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ===== SERVICES ===== */
.services {
    background: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    padding: var(--card-pad);
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%, transparent 100%);
    pointer-events: none;
    transition: opacity var(--duration-fast) ease;
    opacity: 0;
}

.service-card:hover .card-shine {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.service-card--featured {
    border-color: rgba(41,151,255,0.3);
    background: linear-gradient(180deg, rgba(41,151,255,0.06) 0%, var(--black-card) 60%);
}

.service-card--featured:hover {
    border-color: rgba(41,151,255,0.5);
    box-shadow: var(--shadow-glow), var(--shadow-elevated);
}

.featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.service-description {
    color: var(--white-tertiary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    color: var(--white-secondary);
    padding: 6px 0;
    font-size: 14px;
    position: relative;
    padding-left: 18px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}

.service-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--black-border);
}

.price-label {
    font-size: 11px;
    color: var(--white-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.1;
}

.price-period {
    font-size: 13px;
    color: var(--white-tertiary);
}


/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: var(--black-rich);
}

.steps-timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--black-border), rgba(41,151,255,0.2), var(--black-border));
}

.step-card {
    display: flex;
    gap: 32px;
    padding: 36px 0;
    position: relative;
}

.step-card + .step-card {
    border-top: none;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    width: 72px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 980px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

.step-body {
    flex: 1;
    padding-top: 6px;
}

.step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.step-description {
    color: var(--white-tertiary);
    font-size: 15px;
    line-height: 1.7;
}


/* ===== PORTFOLIO ===== */
.portfolio {
    background: var(--black);
    overflow: hidden;
}

.portfolio-container {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--black-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    z-index: 10;
    color: var(--white);
}

.scroll-arrow:hover {
    background: var(--black-elevated);
    border-color: var(--white-faint);
    transform: translateY(-50%) scale(1.08);
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.portfolio-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 20px 48px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    scroll-behavior: smooth;
}

.portfolio-grid::-webkit-scrollbar {
    display: none;
}

.portfolio-item {
    flex: 0 0 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    transition: all var(--duration) var(--ease-out);
    cursor: pointer;
    scroll-snap-align: start;
}

.portfolio-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255,255,255,0.1);
    box-shadow: var(--shadow-elevated);
}

.portfolio-video {
    position: relative;
    aspect-ratio: 9/16;
    background: var(--black);
    overflow: hidden;
}

.clip-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--black);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--duration-fast) ease;
    pointer-events: none;
}

.play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    pointer-events: all;
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.25);
}

.play-btn svg {
    margin-left: 2px;
}

.portfolio-info {
    padding: 16px 20px;
}

.portfolio-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.portfolio-info p {
    font-size: 13px;
    color: var(--white-tertiary);
}


/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--black-rich);
}

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

.testimonial-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    padding: var(--card-pad);
    transition: all var(--duration) var(--ease-out);
}

.testimonial-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    opacity: 0.8;
}

.testimonial-text {
    color: var(--white-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 15px;
    font-style: normal;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--white-secondary);
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.author-role {
    font-size: 13px;
    color: var(--white-tertiary);
}


/* ===== PROBLEM → SOLUTION ===== */
.problem-solution {
    background: var(--black);
    padding: var(--section-pad) 0;
}

.ps-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ps-problem,
.ps-solution {
    text-align: center;
}

.ps-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.ps-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

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

.ps-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

@media (max-width: 768px) {
    .ps-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ps-divider {
        width: 80px;
        height: 1px;
    }
}


/* ===== PRODUCT ===== */
.product {
    background: var(--black);
    padding: var(--section-pad) 0;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.highlight {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--duration) var(--ease-out);
}

.highlight:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(41,151,255,0.04), var(--black-card));
    transform: translateY(-2px);
}

.highlight h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--white);
}


/* ===== FEATURES ===== */
.features {
    background: var(--black);
    padding: var(--section-pad) 0;
}

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

.feature-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(41,151,255,0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
}

.feature-card:hover {
    border-color: rgba(41,151,255,0.4);
    background: var(--black-elevated);
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(41,151,255,0.2), 0 8px 32px rgba(41,151,255,0.08);
}

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

.feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.feature-desc {
    font-size: 14px;
    color: var(--white-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}


/* ===== USE CASES ===== */
.use-cases {
    background: var(--black);
    padding: var(--section-pad) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.use-case-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--duration) var(--ease-out);
}

.use-case-card:hover {
    border-color: rgba(41,151,255,0.4);
    background: var(--black-elevated);
    transform: translateY(-4px);
}

.use-case-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 14px;
    color: var(--white-secondary);
    line-height: 1.6;
}


/* ===== PRICING ===== */
.pricing {
    background: var(--black);
    padding: var(--section-pad) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(41,151,255,0.4);
}

.pricing-card--featured {
    border-color: rgba(41,151,255,0.3);
    background: linear-gradient(180deg, rgba(41,151,255,0.06) 0%, var(--black-card) 60%);
    transform: scale(1.02);
}

.pricing-card--featured:hover {
    border-color: rgba(41,151,255,0.5);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-tier {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-subtitle {
    font-size: 13px;
    color: var(--white-tertiary);
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 28px;
}

.currency {
    font-size: 18px;
    color: var(--white-secondary);
}

.amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.period {
    font-size: 13px;
    color: var(--white-tertiary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 14px;
    color: var(--white-secondary);
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}


/* ===== POSITIONING ===== */
.positioning {
    background: linear-gradient(180deg, var(--black) 0%, rgba(41,151,255,0.03) 100%);
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--black-border);
}

.positioning-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.positioning-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.positioning-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.positioning-content p {
    font-size: 16px;
    color: var(--white-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.positioning-content p.emphasis {
    font-weight: 600;
    color: var(--white);
}


/* ===== SOCIAL PROOF ===== */
.social-proof {
    background: var(--black);
    padding: var(--section-pad) 0;
}


/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, rgba(41,151,255,0.1) 0%, var(--black) 100%);
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--black-border);
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--white-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===== CONTACT ===== */
.contact {
    background: var(--black);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-description {
    color: var(--white-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    font-size: 16px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-secondary);
    font-size: 15px;
}

.contact-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

.direct-contact {
    padding: 24px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-md);
}

.direct-contact p {
    font-size: 14px;
    color: var(--white-tertiary);
    margin-bottom: 6px;
}

.email-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: opacity var(--duration-fast) ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-xl);
    padding: 44px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--white-secondary);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--duration-fast) ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--white-faint);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white-faint);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--white-faint);
    margin-top: 16px;
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Error states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff453a !important;
    background: rgba(255, 69, 58, 0.05);
}

.error-message {
    display: none;
    color: #ff453a;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.error-message:not(:empty) {
    display: block;
}

/* Success state */
.form-success {
    background: rgba(48, 209, 88, 0.06);
    border: 1px solid rgba(48, 209, 88, 0.3);
    border-radius: var(--radius-md);
    padding: 44px;
    text-align: center;
    margin-top: 20px;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: #30d158;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--white-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.email-backup {
    font-size: 13px;
    margin-top: 12px;
    color: var(--white-faint);
}

.email-backup a {
    color: var(--accent);
    text-decoration: none;
}

/* Loading spinner */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-text,
.btn-icon {
    transition: all var(--duration-fast) ease;
}


/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    padding: 80px 0 40px;
    border-top: 1px solid var(--black-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 64px;
    margin-bottom: 56px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--white-tertiary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

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

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

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

.footer-column a {
    color: var(--white-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--duration-fast) ease;
}

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

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--white-faint);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--duration-fast) ease;
}

.footer-legal a:hover {
    color: var(--white);
}