/* =============================================
   SITEHAVEN DEV PREVIEW - STYLES
   Version: 1.0.0
   ============================================= */

/* CSS Variables */
:root {
    --color-deep-forest: #1C2321;
    --color-stone-taupe: #A79B8B;
    --color-river-clay: #4F6D7A;
    --color-moss-green: #708D57;
    --color-sand-white: #F7F4EE;
    --color-driftwood-gray: #D4CDC3;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-sand-white);
    color: var(--color-deep-forest);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-primary {
    background: var(--color-moss-green);
    color: white;
    border-color: var(--color-moss-green);
}

.btn-primary:hover {
    background: #5a7a47;
    border-color: #5a7a47;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(112, 141, 87, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--color-deep-forest);
    border-color: var(--color-deep-forest);
}

.btn-ghost:hover {
    background: var(--color-deep-forest);
    color: var(--color-sand-white);
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--spacing-sm) 0;
    background: rgba(247, 244, 238, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28, 35, 33, 0.08);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-deep-forest);
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.main-nav a:not(.btn) {
    color: var(--color-deep-forest);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-moss-green);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.main-nav a:not(.btn):hover::after {
    transform: scaleX(1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--color-deep-forest);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-lg);
    background: linear-gradient(180deg, var(--color-sand-white) 0%, #EDE9E0 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--color-moss-green);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(28, 35, 33, 0.7);
    margin-bottom: var(--spacing-md);
    max-width: 440px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* =============================================
   BROWSER MOCKUP & ANIMATION
   ============================================= */

.hero-animation {
    position: relative;
    perspective: 1000px;
}

.browser-mockup {
    background: var(--color-deep-forest);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-smooth);
}

.browser-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
}

.url-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-family: monospace;
}

.browser-content {
    position: relative;
    height: 400px;
    overflow: hidden;
}

/* Build Phases */
.build-phase {
    position: absolute;
    inset: 0;
    padding: var(--spacing-md);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
    pointer-events: none;
}

.build-phase.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* First phase visible by default */
.build-phase.phase-wireframe {
    opacity: 1;
    transform: scale(1);
}

/* Phase 1: Wireframe */
.phase-wireframe {
    background: #1a1a2e;
}

.wire-header {
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
    animation: wire-pulse 2s ease-in-out infinite;
}

.wire-nav {
    display: flex;
    gap: 8px;
    margin-bottom: var(--spacing-md);
}

.wire-block {
    width: 60px;
    height: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    animation: wire-pulse 2s ease-in-out infinite;
    animation-delay: 0.1s;
}

.wire-hero {
    padding: var(--spacing-md);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.wire-text-lg {
    height: 28px;
    width: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 12px;
    animation: wire-pulse 2s ease-in-out infinite;
}

.wire-text-md {
    height: 16px;
    width: 60%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin-bottom: 16px;
    animation: wire-pulse 2s ease-in-out infinite;
    animation-delay: 0.2s;
}

.wire-btn {
    height: 36px;
    width: 120px;
    background: rgba(112, 141, 87, 0.3);
    border-radius: 4px;
    animation: wire-pulse 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.wire-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.wire-card {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    animation: wire-pulse 2s ease-in-out infinite;
}

.wire-card:nth-child(2) { animation-delay: 0.1s; }
.wire-card:nth-child(3) { animation-delay: 0.2s; }

@keyframes wire-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Phase 2: Design */
.phase-design {
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a2e 100%);
}

.design-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.design-logo {
    width: 80px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-moss-green), var(--color-river-clay));
    border-radius: 4px;
}

.design-nav {
    display: flex;
    gap: 16px;
}

.design-nav span {
    width: 50px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.design-hero {
    text-align: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.design-hero h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
}

.design-hero p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.design-btn {
    display: inline-block;
    width: 120px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-moss-green), #5a7a47);
    border-radius: var(--radius-sm);
}

.design-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.design-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-river-clay), var(--color-moss-green));
    border-radius: 50%;
    margin: 0 auto 12px;
}

.card-text {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Phase 3: Live */
.phase-live {
    background: linear-gradient(180deg, var(--color-sand-white) 0%, #EDE9E0 100%);
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.live-logo {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-deep-forest);
}

.live-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--color-deep-forest);
}

.live-cta-btn {
    background: var(--color-moss-green);
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
}

.live-hero {
    text-align: center;
    padding: var(--spacing-sm) 0 var(--spacing-md);
}

.live-hero h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-deep-forest);
    margin-bottom: 8px;
}

.live-hero h2 span {
    color: var(--color-moss-green);
}

.live-hero p {
    color: rgba(28, 35, 33, 0.7);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.live-hero button {
    background: var(--color-moss-green);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
}

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

.live-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.live-icon {
    font-size: 1.25rem;
    color: var(--color-moss-green);
    margin-bottom: 8px;
}

.live-card h4 {
    font-size: 0.75rem;
    margin-bottom: 4px;
    color: var(--color-deep-forest);
}

.live-card p {
    font-size: 0.625rem;
    color: rgba(28, 35, 33, 0.6);
}

/* Progress Indicator */
.build-progress {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all var(--transition-smooth);
}

.progress-step.active .step-dot,
.progress-step.complete .step-dot {
    background: var(--color-moss-green);
    box-shadow: 0 0 12px rgba(112, 141, 87, 0.6);
}

.step-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.progress-step.active .step-label,
.progress-step.complete .step-label {
    color: white;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-moss-green);
    transition: width 0.5s ease;
}

.progress-step.complete + .progress-line .progress-fill {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: bounce-subtle 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-deep-forest);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-deep-forest);
    border-bottom: 2px solid var(--color-deep-forest);
    transform: rotate(45deg);
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS SECTION
   ============================================= */

.stats-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-deep-forest);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    color: var(--color-sand-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-moss-green);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-moss-green);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* =============================================
   SERVICES SECTION
   ============================================= */

.services-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-moss-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(28, 35, 33, 0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 35, 33, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(112, 141, 87, 0.1), rgba(79, 109, 122, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-moss-green);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-card p {
    color: rgba(28, 35, 33, 0.7);
    font-size: 0.9375rem;
}

/* =============================================
   SOCIAL PROOF SECTION
   ============================================= */

.social-proof-section {
    padding: var(--spacing-lg) 0;
    background: var(--color-sand-white);
    border-bottom: 1px solid rgba(28, 35, 33, 0.08);
}

.proof-label {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(28, 35, 33, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.4;
    transition: opacity var(--transition-smooth);
    flex-shrink: 0;
}

.logo-item:hover {
    opacity: 0.8;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-deep-forest);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* =============================================
   PORTFOLIO SECTION
   ============================================= */

.portfolio-section {
    padding: var(--spacing-xl) 0;
    background: #F2EFE8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.portfolio-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(28, 35, 33, 0.15);
}

.portfolio-card.portfolio-featured {
    grid-column: 1;
    grid-row: 1 / 3;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-featured .portfolio-image {
    height: 100%;
    min-height: 300px;
}

.portfolio-card:not(.portfolio-featured) .portfolio-image {
    height: 180px;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-placeholder {
    transform: scale(1.05);
}

.placeholder-icon {
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-info {
    padding: var(--spacing-sm);
    flex: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-moss-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.portfolio-info p {
    font-size: 0.9375rem;
    color: rgba(28, 35, 33, 0.7);
    margin: 0;
}

.portfolio-arrow {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
    background: var(--color-moss-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-smooth);
}

.portfolio-card:hover .portfolio-arrow {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* =============================================
   PROCESS SECTION
   ============================================= */

.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-deep-forest);
    color: var(--color-sand-white);
}

.process-section .section-tag {
    color: var(--color-moss-green);
}

.process-section .section-header h2 {
    color: var(--color-sand-white);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: var(--spacing-md);
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(112, 141, 87, 0.2);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.step-content h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    color: var(--color-sand-white);
}

.step-content p {
    font-size: 0.9375rem;
    color: rgba(247, 244, 238, 0.7);
    line-height: 1.6;
}

.step-icon {
    margin-top: var(--spacing-sm);
    color: var(--color-moss-green);
    opacity: 0.6;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    color: rgba(112, 141, 87, 0.3);
    transform-origin: left center;
}

/* =============================================
   TESTIMONIAL SECTION
   ============================================= */

.testimonial-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-sand-white);
}

.testimonial-card-large {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--color-moss-green);
    opacity: 0.15;
    line-height: 0.5;
    margin-bottom: var(--spacing-sm);
}

.testimonial-card-large blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-deep-forest);
    margin: 0 0 var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-moss-green), var(--color-river-clay));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-deep-forest);
}

.author-title {
    display: block;
    font-size: 0.875rem;
    color: rgba(28, 35, 33, 0.6);
}

/* =============================================
   PRICING SECTION
   ============================================= */

.pricing-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-deep-forest);
    color: var(--color-sand-white);
}

.pricing-section .section-tag {
    color: var(--color-moss-green);
}

.pricing-section .section-header h2 {
    color: var(--color-sand-white);
}

.pricing-section .section-subtitle {
    color: rgba(247, 244, 238, 0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: var(--spacing-sm) auto 0;
}

/* SEO Tier Selection */
.seo-tier-selection {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(112, 141, 87, 0.15);
}

.tier-header {
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tier-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-sand-white);
}

.tier-note {
    font-size: 0.8125rem;
    color: rgba(247, 244, 238, 0.5);
    font-style: italic;
}

.tier-options {
    display: flex;
    gap: 0.75rem;
}

.tier-options.two-options {
    width: 100%;
}

.tier-options.two-options .tier-option {
    flex: 1 1 50%;
}

.tier-option {
    flex: 1;
    cursor: pointer;
}

.tier-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tier-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    background: var(--color-sand-white);
    border: 2px solid var(--color-driftwood-gray);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.tier-option input:checked + .tier-option-content {
    border-color: var(--color-moss-green);
    background: rgba(112, 141, 87, 0.08);
}

.tier-option:hover .tier-option-content {
    border-color: var(--color-moss-green);
}

.tier-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-sand-white);
    margin-bottom: 0.25rem;
}

.tier-desc {
    font-size: 0.8125rem;
    color: var(--color-moss-green);
    font-weight: 500;
}

.tier-option input:checked + .tier-option-content .tier-name {
    color: var(--color-moss-green);
}

.tier-option-content {
    background: rgba(28, 35, 33, 0.6);
    border-color: rgba(167, 155, 139, 0.3);
}

.tier-option input:checked + .tier-option-content {
    background: rgba(112, 141, 87, 0.15);
    border-color: var(--color-moss-green);
}

@media (max-width: 480px) {
    .tier-options {
        flex-direction: column;
    }
}

/* =============================================
   FINAL INSPIRATIONAL CTA SECTION
   ============================================= */

.final-cta-section {
    padding: var(--spacing-xl, 5rem) 0;
    background: var(--color-sand-white);
    text-align: center;
    color: var(--color-deep-forest);
    position: relative;
    overflow: hidden;
}

.final-cta-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.cta-preheader {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-moss-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.final-cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-deep-forest);
}

.final-cta-section h2 .highlight {
    color: var(--color-moss-green);
    font-style: italic;
}

.cta-message {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-driftwood-gray);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-message-emphasis {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-sand-white);
    margin-bottom: var(--spacing-lg);
}

.final-cta-buttons {
    margin-bottom: var(--spacing-sm);
}

.final-cta-section .btn-primary {
    background: var(--color-moss-green);
    color: white;
    border-color: var(--color-moss-green);
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.final-cta-section .btn-primary:hover {
    background: #5a7a47;
    border-color: #5a7a47;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(112, 141, 87, 0.4);
}

.cta-reassurance {
    font-size: 0.9375rem;
    color: var(--color-driftwood-gray);
    margin-top: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .final-cta-section {
        padding: var(--spacing-lg) 0;
    }

    .final-cta-section h2 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .cta-message {
        font-size: 1rem;
    }

    .cta-message-emphasis {
        font-size: 1.25rem;
    }
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    padding: 0;
    background: var(--color-deep-forest);
    text-align: center;
    color: rgba(247, 244, 238, 0.6);
    font-size: 0.875rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-animation {
        max-width: 600px;
        margin: 0 auto;
    }

    .browser-mockup {
        transform: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

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

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

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

    .browser-content {
        height: 320px;
    }

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

    .wire-card:nth-child(3),
    .design-card:nth-child(3),
    .live-card:nth-child(3) {
        display: none;
    }

    .client-logos {
        gap: var(--spacing-md);
    }

    .logo-text {
        font-size: 1rem;
    }

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

    .portfolio-card.portfolio-featured {
        grid-column: 1;
        grid-row: auto;
    }

    .portfolio-featured .portfolio-image {
        min-height: 200px;
    }

    .process-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        transform: rotate(90deg);
        padding: var(--spacing-xs) 0;
        transform-origin: center center;
    }

    .process-step {
        max-width: 100%;
    }

    .testimonial-card-large blockquote {
        font-size: 1.125rem;
    }

    .quote-mark {
        font-size: 5rem;
    }
}

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

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
