/* ═══════════════════════════════════════════
   TINSHED SOFTWARE — Main Stylesheet
   ═══════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.25);
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #263548;
    --surface: rgba(30, 41, 59, 0.7);
    --text: #f1f5f9;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(59, 130, 246, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1a1a3e 50%, #0f172a 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.5);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════ UTILITIES ═══════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.05);
}

/* ═══════════ TINSHEDIFY BUTTON ═══════════ */
.btn-tinshedify {
    position: relative;
}

.btn-tinshedify.glow {
    animation: tinshedify-glow 2s ease-in-out forwards;
}

.btn-ai-ready {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(20, 184, 166, 0.12));
    color: #d1fae5;
    border: 1px solid rgba(45, 212, 191, 0.55);
    box-shadow: 0 0 28px rgba(20, 184, 166, 0.22), inset 0 0 18px rgba(16, 185, 129, 0.08);
    text-transform: uppercase;
}

.btn-ai-ready::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.btn-ai-ready:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 234, 212, 0.85);
    color: #ffffff;
    box-shadow: 0 0 36px rgba(20, 184, 166, 0.36), inset 0 0 22px rgba(16, 185, 129, 0.12);
}

.btn-ai-ready:hover::before {
    transform: translateX(120%);
}

@keyframes tinshedify-glow {
    0% {
        background: transparent;
        border-color: var(--border);
    }
    50% {
        background: rgba(255, 140, 0, 0.12);
        border-color: #ff8c00;
        box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
    }
    100% {
        background: transparent;
        border-color: var(--border);
        box-shadow: 0 0 0 rgba(255, 140, 0, 0);
    }
}

/* ═══════════ NAVIGATION ═══════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1.5rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(15, 23, 42, 0.5) 40%,
        rgba(15, 23, 42, 0.85) 65%,
        rgba(15, 23, 42, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-ai-ready {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--font-mono);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.2rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ═══════════ HOW WE CAN HELP TODAY ═══════════ */
.help-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(6, 182, 212, 0.04));
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.help-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.help-card::before {
    content: '';
    position: absolute;
    inset: -35% 25% auto -15%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent 70%);
    pointer-events: none;
}

.help-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.help-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.help-desc {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.help-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.help-link {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.help-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* ═══════════ SERVICES ═══════════ */
.services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary-light);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.service-link {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* ═══════════ ABOUT ═══════════ */
.about {
    background: var(--gradient-bg);
}

/* ═══════════ WHAT WE DELIVER ═══════════ */
.deliver {
    background: var(--bg);
    overflow: hidden;
}

.deliver-highlight {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.deliver-highlight-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.deliver-highlight-icon svg {
    width: 32px;
    height: 32px;
}

.deliver-highlight-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.deliver-highlight-content p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}

.deliver-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.deliver-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.deliver-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.deliver-card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.deliver-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.deliver-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(6, 182, 212, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-top: 2px;
}

.about-feature-icon svg {
    width: 16px;
    height: 16px;
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* About visual cards */
.about-visual {
    display: flex;
    justify-content: center;
}

.about-card-stack {
    position: relative;
    width: 280px;
    height: 340px;
}

.about-card {
    position: absolute;
    width: 240px;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.about-card-1 {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border-color: rgba(59, 130, 246, 0.2);
    z-index: 3;
    transform: rotate(-3deg);
}

.about-card-2 {
    top: 60px;
    left: 50px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
    border-color: rgba(6, 182, 212, 0.2);
    z-index: 2;
    transform: rotate(2deg);
}

.about-card-3 {
    top: 120px;
    left: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border-color: rgba(139, 92, 246, 0.2);
    z-index: 1;
    transform: rotate(-1deg);
}

.about-card:hover {
    transform: rotate(0deg) translateY(-4px);
    z-index: 10;
}

.about-card-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-mono);
    margin-bottom: 0.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ═══════════ TECH STACK MARQUEE ═══════════ */
.tech-stack {
    background: var(--bg);
    padding: 4rem 0;
    overflow: hidden;
}

.tech-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.tech-marquee-track {
    display: flex;
    gap: 1rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.tech-item {
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    transition: all var(--transition);
}

.tech-item:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ═══════════ PORTFOLIO ═══════════ */
.portfolio {
    background: var(--bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.42);
    box-shadow: var(--shadow-lg), 0 0 28px rgba(6, 182, 212, 0.12);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-light);
}

.portfolio-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 28, 0.55));
    pointer-events: none;
}

.portfolio-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.portfolio-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.32rem 0.65rem;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0;
}

.portfolio-card p {
    flex: 1;
    margin-bottom: 1rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.portfolio-link {
    color: var(--primary-light);
    font-size: 0.82rem;
    font-weight: 700;
}

/* ═══════════ CONTACT ═══════════ */
.contact {
    background: var(--gradient-bg);
}

.tinshed-contact-page {
    min-height: calc(100vh - 178px);
    padding-top: 10rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 1rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}

/* Contact form */
.contact-form-wrapper {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.btn-submit .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit .spinner {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-status {
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem 0 0;
    min-height: 1.5rem;
    transition: all var(--transition);
}

.form-status.success {
    color: #34d399;
}

.form-status.error {
    color: #f87171;
}

/* ═══════════ TINSHEDIFY PAGE ═══════════ */
.hero-shopify {
    min-height: 92vh;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.hero-shopify .hero-overlay {
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.2), transparent 30%),
        linear-gradient(
            to bottom,
            rgba(15, 23, 42, 0.35) 0%,
            rgba(15, 23, 42, 0.58) 35%,
            rgba(15, 23, 42, 0.88) 70%,
            rgba(15, 23, 42, 1) 100%
        );
}

.hero-shopify .hero-content {
    max-width: 1180px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px);
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.hero-copy {
    max-width: 720px;
}

.hero-copy .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
}

.hero-panel {
    position: relative;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 28px;
    padding: 1.75rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: -25% 35% auto -10%;
    height: 180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 65%);
    pointer-events: none;
}

.hero-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.45rem 0.8rem;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: 999px;
}

.status-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 16px currentColor;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.hero-metric {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(30, 41, 59, 0.7);
}

.hero-metric-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text);
}

.hero-metric-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hero-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.hero-feature-list li::before {
    content: '↗';
    color: var(--accent);
    font-weight: 700;
    line-height: 1.2;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.eyebrow-stack {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.eyebrow-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(96, 165, 250, 0.08);
    color: var(--primary-light);
}

.story-panel {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    position: sticky;
    top: 96px;
}

.story-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.story-panel p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.story-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-steps li {
    padding-left: 1.1rem;
    position: relative;
    color: var(--text-dim);
}

.story-steps li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.shop-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(20, 30, 46, 0.92));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.shop-card::after {
    content: '';
    position: absolute;
    inset: auto -20% -35% auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 70%);
    pointer-events: none;
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.shop-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-light);
}

.shop-card-icon svg {
    width: 26px;
    height: 26px;
}

.shop-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.65rem;
}

.shop-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.7;
}

.capability-band {
    background: var(--gradient-bg);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.25rem;
}

.capability-item {
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.15rem;
}

.capability-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.capability-item span {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.14), rgba(6, 182, 212, 0.07) 55%, rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 28px;
    padding: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: -20% auto auto 58%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.28), transparent 72%);
    pointer-events: none;
}

.pricing-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.pricing-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.pricing-title small {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.pricing-points {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.pricing-points li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--text-dim);
}

.pricing-points li::before {
    content: '•';
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
}

.ownership-callout {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
    padding: 2rem;
}

.ownership-callout h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.ownership-callout p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.ownership-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.ownership-list li {
    color: var(--text-dim);
    padding-left: 1rem;
    position: relative;
}

.ownership-list li::before {
    content: '';
    position: absolute;
    top: 0.65rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary-light);
}

.cta-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.1));
    border-top: 1px solid rgba(96, 165, 250, 0.15);
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-banner-copy p {
    color: var(--text-dim);
    margin-top: 0.75rem;
    max-width: 700px;
}

.live-examples {
    background: var(--bg);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.example-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.98));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.75rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.example-card::before {
    content: '';
    position: absolute;
    inset: -25% auto auto 55%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 72%);
    pointer-events: none;
}

.example-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.example-label {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.22);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.example-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    word-break: break-word;
}

.example-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.example-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.9rem;
}

.example-link::after {
    content: '↗';
}

/* ═══════════ FOOTER ═══════════ */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    opacity: 0.7;
}

.footer-brand-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ═══════════ ANIMATIONS (AOS-like) ═══════════ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delays */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ═══════════ EMAIL EXPERTISE PAGE ═══════════ */
.email-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a3e 50%, #0f172a 100%);
}

.email-hero-bg-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.email-visual-icon {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-20px) rotateZ(2deg); }
}

/* ═══════════ CUSTOM SAAS PAGE ═══════════ */
.saas-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a3e 50%, #0f172a 100%);
}

.saas-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.grid-line {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: pulse-ring 3s ease-in-out infinite;
}

.grid-line:nth-child(2) {
    animation-delay: 0.5s;
}

.grid-line:nth-child(3) {
    animation-delay: 1s;
}

.grid-line:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.1;
    }
}

/* SaaS Problem Section */
.saas-problem {
    background: var(--bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.problem-card {
    background: linear-gradient(180deg, rgba(244, 63, 94, 0.08), rgba(244, 63, 94, 0.03));
    border: 1px solid rgba(244, 63, 94, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.problem-card:hover {
    border-color: rgba(244, 63, 94, 0.3);
    background: linear-gradient(180deg, rgba(244, 63, 94, 0.12), rgba(244, 63, 94, 0.05));
    transform: translateY(-4px);
}

.problem-number {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fb7185;
}

.problem-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* SaaS Pitch Section */
.saas-pitch {
    background: var(--gradient-bg);
}

.pitch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pitch-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.pitch-card::before {
    content: '';
    position: absolute;
    inset: -30% auto auto 60%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.pitch-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pitch-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.pitch-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pitch-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.pitch-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pitch-features li {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-left: 1rem;
    position: relative;
}

.pitch-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* SaaS Process Timeline */
.saas-process {
    background: var(--bg);
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    flex: 1;
    min-width: 240px;
    text-align: center;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-step p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 1.8rem;
    color: var(--primary-light);
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

/* SaaS Examples Carousel */
.saas-examples {
    background: var(--gradient-bg);
}

.examples-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.example-item {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    min-width: 300px;
}

.example-item::before {
    content: '';
    position: absolute;
    inset: -30% auto auto 60%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    pointer-events: none;
}

.example-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.example-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent);
    margin-bottom: 1rem;
}

.example-item h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.example-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.example-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.example-tech span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

/* SaaS CTA */
.saas-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.1));
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.cta-content {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.05rem;
}

.cta-tagline {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.cta-tagline p {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.8), rgba(59, 130, 246, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Email Complexity Section */
.email-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a3e 50%, #0f172a 100%);
}

.email-hero-bg-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.email-visual-icon {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-20px) rotateZ(2deg); }
}

/* Email Complexity Section */
.email-complexity {
    background: var(--bg);
}

.complexity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.complexity-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8), rgba(20, 30, 46, 0.8));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.complexity-card::before {
    content: '';
    position: absolute;
    inset: -40% 30% auto -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.complexity-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(20, 30, 46, 0.95));
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.complexity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.complexity-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.complexity-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.complexity-issue {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.15);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #fb7185;
    font-weight: 600;
}

/* Email Expertise Section */
.email-expertise {
    background: var(--gradient-bg);
}

.expertise-content {
    max-width: 900px;
    margin: 0 auto;
}

.expertise-content .section-tag {
    justify-content: center;
}

.expertise-content .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.expertise-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.expertise-details {
    margin-bottom: 3rem;
}

.expertise-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.expertise-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.expertise-checkmark {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.expertise-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.expertise-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.expertise-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2.5rem;
}

.expertise-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.expertise-cta p {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════ reCAPTCHA BADGE HIDE ═══════════ */
.grecaptcha-badge { visibility: hidden; }

/* ═══════════ TIN SHED FLAGSHIP HOME ═══════════ */
.flagship-page {
    --flagship-ink: #111827;
    --flagship-ink-soft: #969ba1;
    --flagship-ink-soft-dark: #334155;
    --flagship-paper: #f8faf7;
    --flagship-paper-2: #eef3ea;
    --flagship-line: rgba(17, 24, 39, 0.12);
    --flagship-green: #2f6f62;
    --flagship-teal: #0f766e;
    --flagship-rust: #b45309;
    --flagship-gold: #f4b942;
    background: var(--flagship-paper);
    color: var(--flagship-ink);
}

.flagship-page .container {
    max-width: 1180px;
}

.flagship-page .section {
    padding: 5.5rem 0;
}

.flagship-page .section-title,
.flagship-page h1,
.flagship-page h2,
.flagship-page h3,
.flagship-page h4 {
    color: var(--flagship-ink);
    letter-spacing: 0;
}

.flagship-page .section-title {
    font-size: 2.65rem;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.flagship-page .section-desc,
.flagship-page .large-copy,
.flagship-page p {
    color: var(--flagship-ink-soft);
}

.flagship-page .section-desc {
    max-width: 720px;
    font-size: 1.08rem;
}

.flagship-page .section-header {
    max-width: 820px;
    margin: 0 auto 3rem;
}

.flagship-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    color: var(--flagship-teal);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.flagship-page .eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
}

.flagship-page .btn {
    border-radius: 8px;
    letter-spacing: 0;
    min-height: 48px;
}

.flagship-page .btn-primary {
    background: #111827;
    color: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
}

.flagship-page .btn-primary:hover {
    background: #0f766e;
    color: #fff;
}

.flagship-page .btn-outline {
    border-color: rgba(17, 24, 39, 0.22);
    color: var(--flagship-ink);
    background: rgba(255, 255, 255, 0.56);
}

.flagship-page .btn-outline:hover {
    border-color: var(--flagship-teal);
    color: var(--flagship-teal);
    background: rgba(15, 118, 110, 0.08);
}

.flagship-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 5rem;
    background: #111827;
}

.flagship-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.44;
}

.flagship-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.76) 46%, rgba(17, 24, 39, 0.58) 100%),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
}

.flagship-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
    gap: 3rem;
    align-items: center;
}

.flagship-hero .eyebrow,
.flagship-hero h1,
.flagship-hero__lead,
.flagship-hero .trust-list li {
    color: #f8fafc;
}

.flagship-hero h1 {
    max-width: 760px;
    margin-bottom: 1.35rem;
    font-size: 4rem;
    line-height: 1.02;
    font-weight: 900;
}

.flagship-hero__lead {
    max-width: 750px;
    margin-bottom: 1.8rem;
    color: rgba(248, 250, 252, 0.82);
    font-size: 1.16rem;
    line-height: 1.75;
}

.flagship-hero .hero-actions {
    justify-content: flex-start;
    margin-bottom: 1.6rem;
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.1rem;
    max-width: 760px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.trust-list li {
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.94rem;
    color: rgba(248, 250, 252, 0.82);
}

.trust-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.64rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--flagship-gold);
}

.system-panel {
    border: 1px solid rgba(248, 250, 252, 0.16);
    border-radius: 8px;
    padding: 1.35rem;
    background: rgba(8, 13, 23, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.system-panel__top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
    color: #f8fafc;
    font-family: var(--font-mono);
    font-size: 0.86rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.8);
}

.system-panel__tag {
    margin-left: auto;
    padding: 0.24rem 0.5rem;
    border: 1px solid rgba(244, 185, 66, 0.5);
    border-radius: 999px;
    color: #fde68a;
    font-size: 0.72rem;
}

.system-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.system-panel__grid span,
.platform-list span,
.commercial-list span {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.08);
}

.system-panel__grid span {
    padding: 0.7rem 0.8rem;
    color: rgba(248, 250, 252, 0.9);
    font-size: 0.88rem;
}

.system-panel__flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.system-panel__flow div {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 185, 66, 0.28);
    border-radius: 8px;
    color: #fde68a;
    font-size: 0.72rem;
    font-family: var(--font-mono);
}

.system-panel p {
    margin: 0;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.92rem;
}

.positioning-section,
.platform-section,
.process-section {
    background:
        linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.045) 1px, transparent 1px),
        var(--flagship-paper);
    background-size: 34px 34px;
}

.split-layout,
.platform-layout,
.ai-layout {
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 4rem;
    align-items: start;
}

.large-copy {
    font-size: 1.18rem;
    line-height: 1.8;
}

.services-section,
.portfolio-section,
.commercial-section {
    background: #ffffff;
}

.feature-grid,
.work-grid,
.portfolio-grid,
.process-grid {
    display: grid;
    gap: 1rem;
}

.feature-grid--three,
.portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.work-card,
.portfolio-card,
.fit-panel,
.process-step,
.commercial-panel,
.ai-proof {
    border: 1px solid var(--flagship-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.feature-card,
.work-card,
.portfolio-card,
.fit-panel,
.process-step {
    padding: 1.45rem;
}

.feature-card {
    min-height: 286px;
    display: flex;
    flex-direction: column;
}

.feature-card h3,
.work-card h3,
.portfolio-card h4,
.fit-panel h3,
.process-step h3 {
    margin-bottom: 0.7rem;
    font-size: 1.14rem;
    font-weight: 800;
}

.feature-card p,
.work-card p,
.portfolio-card p,
.fit-panel li,
.process-step p {
    color: var(--flagship-ink-soft-dark);
    font-size: 0.94rem;
    line-height: 1.66;
}

.card-index,
.work-card__label,
.portfolio-kicker,
.process-step span {
    display: inline-flex;
    margin-bottom: 0.95rem;
    color: var(--flagship-rust);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1rem;
}

.tag-row span {
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: rgba(47, 111, 98, 0.1);
    color: var(--flagship-green);
    font-size: 0.74rem;
    font-weight: 700;
}

.work-section,
.fit-section,
.ai-section,
.final-cta {
    background: var(--flagship-paper-2);
}

.work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card {
    display: flex;
    flex-direction: column;
    background: #111827;
}

.work-card h3,
.work-card p {
    color: #f8fafc;
}

.work-card__label {
    color: #fde68a;
}

.work-card .text-link {
    margin-top: auto;
    padding-top: 1rem;
}

.text-link,
.portfolio-link,
.footer-email {
    color: var(--flagship-teal);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.portfolio-link:hover,
.footer-email:hover {
    color: var(--flagship-rust);
}

.platform-list,
.commercial-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.platform-list span,
.commercial-list span {
    padding: 0.78rem 0.85rem;
    color: var(--flagship-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.portfolio-group + .portfolio-group {
    margin-top: 3rem;
}

.portfolio-group__title {
    margin-bottom: 1rem;
    font-size: 1.45rem;
}

.portfolio-card {
    display: flex;
    min-height: 342px;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portfolio-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e5e7eb;
    border-bottom: 1px solid var(--flagship-line);
}

.portfolio-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.24s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.1);
}

.portfolio-card:hover .portfolio-card__media img {
    transform: scale(1.035);
}

.portfolio-card > :not(.portfolio-card__media) {
    margin-right: 1.45rem;
    margin-left: 1.45rem;
}

.portfolio-card > .portfolio-kicker {
    margin-top: 1.35rem;
}

.portfolio-card > .portfolio-link {
    margin-bottom: 1.45rem;
}

.portfolio-card .portfolio-detail {
    flex: 0 0 auto;
    margin-bottom: 1rem;
    padding-left: 0.85rem;
    border-left: 3px solid transparent;
}

.portfolio-card .portfolio-detail--problem {
    border-left-color: var(--flagship-rust);
}

.portfolio-card .portfolio-detail--contribution {
    border-left-color: var(--flagship-teal);
}

.portfolio-detail__label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--flagship-ink);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.portfolio-detail--problem .portfolio-detail__label {
    color: var(--flagship-rust);
}

.portfolio-detail--contribution .portfolio-detail__label {
    color: var(--flagship-teal);
}

.portfolio-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.portfolio-stats span {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--flagship-ink-soft-dark);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.portfolio-stats strong {
    color: var(--flagship-green);
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.portfolio-link {
    display: inline-flex;
    margin-top: 1rem;
}

.fit-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.fit-panel--muted {
    background: #f8fafc;
}

.check-list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.25rem;
}

.check-list--plain li::before {
    background: var(--flagship-rust);
}

.ai-layout {
    align-items: center;
}

.ai-proof {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    background: #111827;
}

.ai-proof__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    padding: 1rem;
    border: 1px solid rgba(248, 250, 252, 0.12);
    border-radius: 8px;
}

.ai-proof__row span {
    color: rgba(248, 250, 252, 0.72);
}

.ai-proof__row strong {
    color: #fde68a;
    font-family: var(--font-mono);
}

.process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-step {
    background: rgba(255, 255, 255, 0.84);
}

.commercial-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.final-cta__inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.final-cta__inner .eyebrow {
    justify-content: center;
}

.final-cta__inner h2 {
    margin-bottom: 1rem;
    font-size: 3rem;
    line-height: 1.08;
    font-weight: 900;
}

.final-cta__inner p {
    max-width: 720px;
    margin: 0 auto 1.8rem;
    font-size: 1.12rem;
}

.final-cta .hero-actions {
    justify-content: center;
}

.marketing-footer {
    background: #111827;
}

.marketing-footer .footer-brand-text,
.marketing-footer .footer-location,
.marketing-footer .footer-copy,
.marketing-footer .footer-links a {
    color: rgba(248, 250, 252, 0.72);
}

.marketing-footer .footer-links {
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deliver-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .complexity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .pitch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-shopify .hero-content,
    .section-split,
    .pricing-wrap {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 100svh;
        padding-bottom: 3rem;
    }

    .hero-shopify {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero-shopify .hero-content {
        text-align: center;
    }

    .hero-copy .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .deliver-grid {
        grid-template-columns: 1fr;
    }

    .complexity-grid {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .pitch-grid {
        grid-template-columns: 1fr;
    }

    .deliver-highlight {
        flex-direction: column;
        text-align: center;
    }

    .shop-grid,
    .capability-grid,
    .examples-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .about-card-stack {
        width: 260px;
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-ai-ready .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .hero-panel,
    .pricing-card,
    .ownership-callout,
    .story-panel {
        padding: 1.5rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .expertise-cta {
        padding: 2rem 1.5rem;
    }

    .expertise-cta h3 {
        font-size: 1.25rem;
    }

    .process-timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .process-arrow {
        display: none;
    }

    .examples-carousel {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tinshed-contact-page {
        padding-top: 9rem;
    }
}

@media (max-width: 1100px) {
    .flagship-hero__inner,
    .split-layout,
    .platform-layout,
    .ai-layout,
    .commercial-panel {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .flagship-page .section {
        padding: 4.5rem 0;
    }

    .flagship-hero {
        min-height: auto;
        padding: 7.5rem 0 4rem;
    }

    .flagship-hero h1 {
        font-size: 3rem;
    }

    .flagship-hero__lead {
        font-size: 1.04rem;
    }

    .feature-grid--three,
    .work-grid,
    .fit-columns,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .flagship-page .container {
        padding: 0 1rem;
    }

    .flagship-page .section-title {
        font-size: 2rem;
    }

    .flagship-hero h1,
    .final-cta__inner h2 {
        font-size: 2.35rem;
    }

    .flagship-hero .hero-actions,
    .final-cta .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .flagship-hero .hero-actions .btn,
    .final-cta .hero-actions .btn {
        width: 100%;
        max-width: none;
    }

    .trust-list,
    .system-panel__grid,
    .system-panel__flow,
    .platform-list,
    .commercial-list,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .system-panel {
        padding: 1rem;
    }

    .ai-proof__row {
        align-items: flex-start;
        flex-direction: column;
    }

    .commercial-panel {
        padding: 1.25rem;
    }
}
