/* ============================================================
   DevSpins — Main Stylesheet
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    color: #1a1a2e;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
    --primary: #fe3b13;
    --primary-dark: #d42b05;
    --accent: #ff7125;
    --dark: #130c08;
    --dark-2: #1a0f08;
    --light: #fff8f5;
    --gray: #64748b;
    --border: #e8ddd9;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(254, 59, 19, 0.12);
    --transition: 0.25s ease;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 59, 19, 0.35);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.full-width { width: 100%; justify-content: center; }

/* ---------- Section Shared ---------- */
.section { padding: 96px 0; }
.bg-dark  { background: var(--dark); }
.bg-light { background: var(--light); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header.light h2,
.section-header.light p { color: #fff; }
.section-header.light .section-label { color: var(--accent); }

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 68px;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo { height: 56px; width: auto; }
.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    padding: 10px 22px;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #130c08 0%, #2e0e04 50%, #1a0800 100%);
    overflow: hidden;
    padding-top: 68px;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(254,59,19,0.30) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(255,113,37,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 760px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,113,37,0.35);
    color: #fcdb7b;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 22px;
}
.accent { color: var(--accent); }
.hero-sub {
    font-size: 1.1rem;
    color: #f7b98a;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.stat strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
}
.stat span {
    font-size: 0.85rem;
    color: #f79350;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.93rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ============================================================
   PRODUCTS — Showcase Layout
   ============================================================ */

/* ---- Feed Connect: Staggered Phone Mockups ---- */
.fc-phones {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 440px;
    padding-bottom: 32px;
}
.fc-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.4s ease;
}
.fc-phone--left  { transform: translateX(32px) translateY(36px) rotate(-7deg); z-index: 1; }
.fc-phone--center { transform: translateY(0); z-index: 3; }
.fc-phone--right { transform: translateX(-32px) translateY(36px) rotate(7deg); z-index: 1; }

.fc-phone--left:hover  { transform: translateX(32px) translateY(24px) rotate(-7deg); }
.fc-phone--center:hover { transform: translateY(-12px); }
.fc-phone--right:hover { transform: translateX(-32px) translateY(24px) rotate(7deg); }

.fc-phone-frame {
    position: relative;
    width: 130px;
    height: 264px;
    border-radius: 26px;
    background: #111;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.8),
        0 20px 50px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.07);
    overflow: hidden;
    transition: box-shadow 0.35s ease;
}
.fc-phone--center .fc-phone-frame {
    width: 158px;
    height: 320px;
    border-radius: 32px;
    border-color: rgba(255,255,255,0.22);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.8),
        0 32px 70px rgba(254,59,19,0.28),
        0 16px 40px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255,255,255,0.10);
}
.fc-phone-frame:hover {
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.8),
        0 40px 90px rgba(254,59,19,0.35),
        inset 0 1px 0 rgba(255,255,255,0.10);
}
.fc-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 18px;
    background: #111;
    border-radius: 0 0 14px 14px;
    z-index: 10;
    border: 1.5px solid rgba(255,255,255,0.08);
    border-top: none;
}
.fc-phone--center .fc-phone-notch { width: 64px; height: 20px; }
.fc-phone-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: inherit;
    display: block;
}
.fc-phone-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s;
}
.fc-phone:hover .fc-phone-label { color: var(--accent); }

@media (max-width: 860px) {
    .fc-phones { height: 300px; }
    .fc-phone-frame { width: 88px; height: 178px; border-radius: 18px; }
    .fc-phone--center .fc-phone-frame { width: 106px; height: 214px; border-radius: 22px; }
    .fc-phone--left  { transform: translateX(22px) translateY(26px) rotate(-7deg); }
    .fc-phone--right { transform: translateX(-22px) translateY(26px) rotate(7deg); }
}

/* ---- Showcase row ---- */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 64px 0;
}
.product-showcase.reverse {
    direction: rtl;
}
.product-showcase.reverse > * {
    direction: ltr;
}

/* Visual side */
.product-showcase-visual {
    position: relative;
}
.product-showcase-glow {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.glow-primary { background: var(--primary); }
.glow-accent  { background: var(--accent); }

.product-showcase-imgbox {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0d0d1a;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-showcase-imgbox:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 48px 100px rgba(0,0,0,0.6);
}
.product-showcase-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}
.product-showcase-imgbox:hover .product-showcase-img { opacity: 1; }

.product-apps-badge {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}
.app-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 5px 12px;
    border-radius: 50px;
}

/* Content side */
.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.product-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}
.tag-mobile  { background: rgba(254,59,19,0.18); color: #fcdb7b; border: 1px solid rgba(254,59,19,0.4); }
.tag-finance { background: rgba(255,113,37,0.15); color: var(--accent); border: 1px solid rgba(255,113,37,0.35); }
.product-status {
    font-size: 0.78rem;
    font-weight: 600;
    color: #86efac;
}
.product-showcase-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.product-showcase-desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 32px;
}



/* Feature list */
.product-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}
.pf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.93rem;
    color: #cbd5e1;
}
.pf-icon {
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Product actions */
.product-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-ghost-purple {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    background: transparent;
    color: #fcdb7b;
    border: 2px solid rgba(254,59,19,0.45);
    cursor: pointer;
    transition: all var(--transition);
}
.btn-ghost-purple:hover {
    border-color: var(--accent);
    background: rgba(254,59,19,0.15);
    color: #fff;
}

/* Divider between products */
.product-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 0 40px;
}

/* Legacy card styles (kept for product sub-pages) */
.product-card {
    background: #1a1a30;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    overflow: hidden;
}
.product-img-wrap {
    height: 200px;
    overflow: hidden;
    background: #0d0d1a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-body { padding: 28px 28px 32px; }
.product-platform {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

/* Responsive */
@media (max-width: 860px) {
    .product-showcase,
    .product-showcase.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
        padding: 48px 0;
    }
    .product-stats-row { gap: 20px; }
}

/* ============================================================
   WHY US
   ============================================================ */

/* Two-column layout: intro | cards */
.why-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

/* Intro column */
.why-intro {
    position: sticky;
    top: 96px;
}
.why-intro .section-label { margin-bottom: 12px; }
.why-intro h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--dark);
}
.why-intro p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 36px;
}
.why-intro-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.wi-metric strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.wi-metric span {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* 2x2 card grid */
.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254,59,19,0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(254,59,19,0.12);
    border-color: rgba(254,59,19,0.30);
}
.why-card:hover::before { opacity: 1; }

/* Card top row: icon + step number */
.why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.why-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(254,59,19,0.12), rgba(255,113,37,0.08));
    border: 1px solid rgba(254,59,19,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.why-step {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
}
.why-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 4px;
}
.why-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    flex: 1;
}
/* Tag pills at card footer */
.why-card-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.why-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(254,59,19,0.07);
    border: 1px solid rgba(254,59,19,0.20);
    padding: 4px 10px;
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 960px) {
    .why-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .why-intro { position: static; }
}
@media (max-width: 540px) {
    .why-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.tech-pills span {
    padding: 10px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    transition: all var(--transition);
}
.tech-pills span:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

/* Top CTA block */
.contact-cta {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}
.contact-cta .section-label { margin-bottom: 12px; }
.contact-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.2;
}
.contact-cta p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 36px;
}
.contact-btn {
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(254,59,19,0.30);
}
.contact-btn:hover {
    box-shadow: 0 14px 36px rgba(254,59,19,0.40);
}

/* Channel cards grid */
.contact-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.contact-channel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact-channel::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.contact-channel:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(254,59,19,0.10);
    border-color: rgba(254,59,19,0.25);
}
.contact-channel:hover::after { transform: scaleX(1); }

.channel-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.channel-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.channel-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}
.channel-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}
a.channel-value:hover { color: var(--primary); }
.channel-note {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 2px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-2); }
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 24px 48px;
}
.footer-brand .brand-name { color: #fff; font-size: 1.1rem; margin: 8px 0 12px; display: block; }
.footer-brand p { font-size: 0.88rem; color: #64748b; }
.footer-logo { height: 32px; }
.footer-links-group h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 16px;
}
.footer-links-group a {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-links-group a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: #475569; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.85rem; color: #475569; transition: color var(--transition); }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   PRODUCT PAGES (feedconnect.html / soulsconnect.html)
   ============================================================ */
.product-header {
    background: var(--dark);
    padding: 100px 24px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.product-logo-large {
    max-width: 100px;
    margin: 0 auto 20px;
    border-radius: 20px;
}
.product-header h1 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.product-header p  { color: #f79350; font-size: 1.05rem; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
}
.back-link:hover { color: var(--primary-dark); }
.product-content {
    max-width: 860px;
    margin: 48px auto;
    padding: 0 24px 80px;
}
.product-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    font-family: 'Inter', monospace;
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.75;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero-stats { gap: 28px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ============================================================
   PRODUCT PAGE — Feed Connect / Souls Connect
   ============================================================ */

/* ---- Hero ---- */
.pp-hero {
    background: var(--dark);
    padding: 140px 0 80px;
    overflow: hidden;
    position: relative;
}
.pp-hero::before {
    content: '';
    position: absolute;
    top: -160px; right: -160px;
    width: 640px; height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,59,19,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.pp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Breadcrumb */
.pp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 24px;
}
.pp-breadcrumb a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.pp-breadcrumb a:hover { color: var(--accent); }
.pp-breadcrumb span { color: rgba(255,255,255,0.3); }

/* Platform badges */
.pp-platform-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.pp-badge {
    background: rgba(254,59,19,0.18);
    color: var(--accent);
    border: 1px solid rgba(254,59,19,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pp-badge-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}
.pp-category {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

/* Hero copy */
.pp-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.pp-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

/* Store buttons */
.pp-store-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.pp-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #fff;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.pp-store-btn:hover {
    background: rgba(254,59,19,0.15);
    border-color: rgba(254,59,19,0.4);
    transform: translateY(-2px);
}
.pp-store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-sub {
    display: block;
    font-size: 0.68rem;
    opacity: 0.6;
    letter-spacing: 0.04em;
}
.store-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

/* Hero stats */
.pp-hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.pp-stat { display: flex; flex-direction: column; gap: 2px; }
.pp-stat strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}
.pp-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.pp-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
}

/* Hero visual — larger phone cluster */
.pp-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.fc-phones--hero {
    height: 520px;
}

/* ---- Features ---- */
.pp-features { background: var(--light); }
.section-sub {
    font-size: 1rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}
.pp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.pp-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.pp-feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.pp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(254,59,19,0.10);
    border-color: rgba(254,59,19,0.2);
}
.pp-feature-card:hover::after { transform: scaleX(1); }
.pp-feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1;
}
.pp-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.pp-feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ---- Screen showcases ---- */
.pp-screens { background: var(--dark); }
.pp-screens .section-label { color: var(--accent); }
.pp-screens h2 { color: #fff; }

.pp-screen-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pp-screen-row:last-child { border-bottom: none; }
.pp-screen-row--reverse { direction: rtl; }
.pp-screen-row--reverse > * { direction: ltr; }

/* Large single phone */
.pp-single-phone {
    display: flex;
    justify-content: center;
}
.fc-phone-frame--lg {
    width: 200px;
    height: 420px;
    border-radius: 36px;
    border: 8px solid #2a1a0e;
    background: #0d0704;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05),
                inset 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s;
}
.fc-phone-frame--lg:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 48px 96px rgba(254,59,19,0.25), 0 0 0 1px rgba(254,59,19,0.15);
}
.fc-phone-frame--lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.fc-phone-notch--lg {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 18px;
    background: #0d0704;
    border-radius: 10px;
    z-index: 5;
}

/* Screen copy */
.pp-screen-copy { position: relative; }
.pp-screen-num {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(254,59,19,0.12);
    letter-spacing: -0.04em;
    margin-bottom: -16px;
}
.pp-screen-copy h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.pp-screen-copy p {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 24px;
}
.pp-screen-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pp-screen-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}
.pp-screen-bullets li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ---- Download CTA ---- */
.pp-download {
    background: linear-gradient(135deg, var(--dark) 0%, #2a0e04 100%);
    position: relative;
    overflow: hidden;
}
.pp-download::before {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,59,19,0.14) 0%, transparent 70%);
}
.pp-download-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
}
.pp-download-copy .section-label { margin-bottom: 12px; }
.pp-download-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.pp-download-copy p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}
.pp-store-row--light { margin-bottom: 0; }
.pp-store-btn--light {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.2);
}
.pp-app-icon {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.08);
}

/* ---- Product page responsive ---- */
@media (max-width: 1024px) {
    .pp-hero-inner { grid-template-columns: 1fr; gap: 56px; }
    .pp-hero { padding: 120px 0 56px; }
    .fc-phones--hero { height: 380px; }
    .pp-features-grid { grid-template-columns: 1fr 1fr; }
    .pp-screen-row { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
    .pp-screen-row--reverse { direction: ltr; }
    .pp-single-phone { order: -1; }
    .pp-download-inner { grid-template-columns: 1fr; text-align: center; }
    .pp-download-graphic { display: flex; justify-content: center; }
    .pp-store-row { justify-content: center; }
}
@media (max-width: 640px) {
    .pp-features-grid { grid-template-columns: 1fr; }
    .pp-hero-stats { flex-wrap: wrap; gap: 20px; }
    .pp-stat-divider { display: none; }
    .pp-store-row { flex-direction: column; align-items: stretch; }
    .pp-store-btn { justify-content: center; }
    .fc-phones--hero { height: 280px; }
    .fc-phone-frame--lg { width: 160px; height: 340px; }
}

/* ============================================================
   SOULS CONNECT — Product Page
   ============================================================ */

/* Hero overrides for wider layout */
.pp-hero-inner--wide {
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
}

/* Trust row */
.sc-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}
.sc-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}
.sc-trust-icon { font-size: 1rem; }

/* Browser frame mockup */
.pp-hero-visual--browser {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sc-browser-frame {
    width: 100%;
    max-width: 560px;
    background: #1a0f08;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 100px rgba(0,0,0,0.55),
                0 0 0 1px rgba(255,255,255,0.04),
                0 24px 48px rgba(254,59,19,0.12);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s;
}
.sc-browser-frame:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 56px 120px rgba(0,0,0,0.5), 0 0 0 1px rgba(254,59,19,0.2),
                0 32px 64px rgba(254,59,19,0.18);
}
.sc-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #120a05;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sc-browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.sc-browser-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.sc-browser-dots span:nth-child(1) { background: #ff5f57; }
.sc-browser-dots span:nth-child(2) { background: #febc2e; }
.sc-browser-dots span:nth-child(3) { background: #28c840; }
.sc-browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-family: monospace;
    letter-spacing: 0.02em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.sc-browser-screen {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0a0502;
}
.sc-browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

/* ---- How It Works ---- */
.sc-how .section-header p { color: rgba(255,255,255,0.5); }
.sc-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 56px;
}
.sc-step {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.sc-step:hover {
    background: rgba(254,59,19,0.07);
    border-color: rgba(254,59,19,0.25);
    transform: translateY(-4px);
}
.sc-step-num {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(254,59,19,0.2);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}
.sc-step-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.sc-step-body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}
.sc-step-arrow {
    font-size: 1.6rem;
    color: rgba(254,59,19,0.35);
    padding: 0 6px;
    margin-top: 48px;
    flex-shrink: 0;
}

/* ---- Dashboard Showcase ---- */
.sc-showcase { background: var(--light); }
.sc-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: center;
}
.sc-bullets { margin-top: 20px; }
.sc-bullets li { color: var(--dark); opacity: 0.75; }
.sc-bullets li::before { background: var(--primary); }
.sc-browser-frame--showcase {
    max-width: 100%;
    box-shadow: 0 32px 80px rgba(254,59,19,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}
.sc-browser-frame--showcase .sc-browser-bar {
    background: #f2ede9;
    border-bottom-color: var(--border);
}
.sc-browser-frame--showcase .sc-browser-url {
    background: #fff;
    border-color: var(--border);
    color: var(--gray);
}
.sc-browser-frame--showcase .sc-browser-screen {
    background: #fff7f4;
}

/* ---- Pricing ---- */
.sc-pricing .section-header p { color: rgba(255,255,255,0.5); }
.sc-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: start;
}
.sc-plan {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.sc-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(254,59,19,0.3);
    box-shadow: 0 20px 48px rgba(254,59,19,0.1);
}
.sc-plan--featured {
    background: rgba(254,59,19,0.10);
    border-color: rgba(254,59,19,0.35);
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(254,59,19,0.18);
}
.sc-plan--featured:hover { transform: translateY(-14px); }
.sc-plan-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.sc-plan-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}
.sc-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}
.sc-plan-price strong {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.sc-plan-price span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}
.sc-plan-header p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sc-plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 32px;
}
.sc-plan-features li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}
.sc-feature-off { opacity: 0.3; text-decoration: line-through; }
.sc-plan-btn { width: 100%; justify-content: center; text-align: center; }
.sc-plan--featured .sc-plan-btn { box-shadow: 0 8px 28px rgba(254,59,19,0.35); }

/* Download section overrides */
.sc-download .pp-download-copy p { max-width: 520px; }
.sc-app-preview {
    width: 340px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.07);
    display: block;
}

/* ---- Souls Connect Responsive ---- */
@media (max-width: 1024px) {
    .pp-hero-inner--wide { grid-template-columns: 1fr; }
    .sc-showcase-inner { grid-template-columns: 1fr; gap: 48px; }
    .sc-plans { grid-template-columns: 1fr; }
    .sc-plan--featured { transform: none; }
    .sc-steps { flex-direction: column; align-items: stretch; }
    .sc-step-arrow { transform: rotate(90deg); margin: 0 auto; }
    .sc-app-preview { width: 100%; max-width: 400px; }
}
@media (max-width: 640px) {
    .sc-trust-row { gap: 12px; }
    .sc-browser-frame { border-radius: 10px; }
}
