/* ══════════════════════════════════════════════════════════════════════════
   KALANA LABS — Business-Oriented Portfolio
   Clean · Blue & White · Professional
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
    --blue-50:  #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-200: #BFDBFE;
    --blue-300: #93C5FD;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-800: #1E40AF;
    --blue-900: #1E3A8A;
    --blue-950: #172554;

    --white: #FFFFFF;
    --gray-50:  #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --green-500: #22C55E;

    --bg-body: var(--white);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-500);
    --border-color: var(--gray-200);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
    --shadow-blue: 0 8px 30px rgba(37,99,235,0.25);
    --shadow-blue-lg: 0 16px 48px rgba(37,99,235,0.3);

    --container: 1200px;
    --nav-height: 76px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--bg-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.25;
    color: var(--gray-900);
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ─── Shared ─── */
.text-highlight {
    color: var(--blue-600);
}

.section {
    padding: 120px 0;
}

.section-header.center {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-tag.blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-title.white { color: var(--white); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-subtitle.white { color: rgba(255,255,255,0.75); }

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    border: none; cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg);
}

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--blue-600);
    border: 2px solid var(--blue-200);
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-outline:hover {
    background: var(--blue-50);
    border-color: var(--blue-400);
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--blue-700);
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; font-size: 0.95rem;
    border: none; cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ═══════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex; align-items: center;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-color);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto; padding: 0 24px;
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    color: var(--white);
    transition: color 0.4s var(--ease);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-logo span { color: rgba(255,255,255,0.85); transition: color 0.4s var(--ease); }

.navbar.scrolled .nav-logo { color: var(--blue-600); }
.navbar.scrolled .nav-logo span { color: var(--gray-900); }

.footer-logo { font-size: 1.6rem; }
.footer-logo span { color: var(--white); }

.nav-links {
    display: flex; gap: 32px;
}

.nav-link {
    font-size: 0.9rem; font-weight: 500;
    color: rgba(255,255,255,0.75); padding: 6px 0;
    position: relative;
    transition: color 0.4s var(--ease);
}

.nav-link::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--white);
    transition: width 0.3s var(--ease), background 0.4s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.navbar.scrolled .nav-link { color: var(--gray-600); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--blue-700); }
.navbar.scrolled .nav-link::after { background: var(--blue-600); }

.nav-cta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    padding: 10px 24px;
    background: var(--white);
    color: var(--blue-700);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    background: var(--blue-50);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.navbar.scrolled .nav-cta:hover {
    background: var(--blue-700);
}

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}

.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px; transition: all 0.3s var(--ease);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-900);
}

.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 {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--nav-height);
    background: linear-gradient(170deg, var(--blue-600) 0%, var(--blue-800) 55%, var(--blue-950) 100%);
    color: var(--white);
    position: relative; overflow: hidden;
}

.hero-bg-shapes {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}

.hero-shape {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.hero-shape.s1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-shape.s2 { width: 400px; height: 400px; bottom: -100px; left: -80px; }
.hero-shape.s3 { width: 250px; height: 250px; top: 40%; left: 30%; background: rgba(255,255,255,0.02); }

.hero-container {
    max-width: var(--container);
    margin: 0 auto; padding: 60px 24px;
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 60px; align-items: center; width: 100%;
    position: relative; z-index: 2;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 0.85rem; font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s var(--ease);
}

.hero-badge ion-icon { font-size: 1.1rem; }

.hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 800; letter-spacing: -1px;
    line-height: 1.15; margin-bottom: 24px;
    color: var(--white);
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.hero .text-highlight {
    color: var(--blue-200);
}

.hero-subtitle {
    font-size: 1.1rem; line-height: 1.85;
    color: rgba(255,255,255,0.8);
    max-width: 480px; margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
    display: flex; gap: 14px; margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-trust {
    display: flex; align-items: center; gap: 14px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--blue-400);
    color: var(--white);
    font-weight: 700; font-size: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--blue-700);
    margin-left: -8px;
}

.trust-avatar:first-child { margin-left: 0; background: var(--blue-300); }
.trust-avatar:nth-child(2) { background: var(--blue-500); }
.trust-avatar:nth-child(3) { background: #60A5FA; }
.trust-avatar:nth-child(4) { background: var(--blue-400); }

.trust-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.trust-text strong {
    color: var(--white);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInUp 1s var(--ease) 0.3s both;
}

.hero-mockup-stack {
    position: relative;
}

.mockup-browser {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.main-mockup {
    position: relative; z-index: 2;
}

.secondary-mockup {
    position: absolute;
    bottom: -30px; right: -30px;
    width: 55%; z-index: 3;
    border: 3px solid rgba(255,255,255,0.15);
}

.browser-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.browser-bar.small { padding: 8px 12px; }
.browser-bar.tiny { padding: 6px 10px; }

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

.browser-dots span {
    width: 8px; height: 8px; border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA41; }

.browser-url {
    flex: 1; height: 22px;
    background: var(--white);
    border-radius: 4px;
    font-size: 0.65rem; color: var(--gray-400);
    display: flex; align-items: center;
    padding: 0 10px;
    border: 1px solid var(--gray-200);
}

.browser-body { padding: 14px; }
.browser-body.dark { background: #0F172A; padding: 12px; }

/* Mock Elements */
.mock-hero-section {
    margin-bottom: 12px;
}

.mock-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}

.mock-logo {
    width: 50px; height: 8px; border-radius: 4px;
    background: var(--blue-600);
}

.mock-nav-links { display: flex; gap: 8px; align-items: center; }

.mock-link {
    width: 30px; height: 5px; border-radius: 3px;
    background: var(--gray-300);
}

.mock-btn-sm {
    width: 40px; height: 14px; border-radius: 7px;
    background: var(--blue-500);
}

.mock-hero-content {
    padding: 20px 0 12px;
    display: flex; flex-direction: column; gap: 6px;
}

.mock-text-lg {
    height: 9px; width: 90%; border-radius: 4px;
    background: var(--gray-200);
}

.mock-text-lg.w70 { width: 70%; }
.mock-text-lg.w60 { width: 60%; }

.mock-text-sm {
    height: 6px; width: 60%; border-radius: 3px;
    background: var(--gray-100);
    margin-top: 4px;
}

.mock-text-sm.w80 { width: 80%; }

.mock-cta-row {
    display: flex; gap: 6px; margin-top: 8px;
}

.mock-btn {
    width: 60px; height: 18px; border-radius: 9px;
    background: var(--blue-500);
}

.mock-btn.outline {
    background: transparent;
    border: 1.5px solid var(--blue-300);
}

.mock-features {
    display: flex; gap: 8px;
}

.mock-feature-card {
    flex: 1; height: 55px; border-radius: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

/* Dark Mock (Dashboard) */
.mock-sidebar {
    width: 36px; float: left; margin-right: 10px;
    display: flex; flex-direction: column; gap: 6px;
}

.mock-sidebar-item {
    width: 100%; height: 5px; border-radius: 3px;
    background: rgba(255,255,255,0.06);
}

.mock-sidebar-item.active {
    background: var(--blue-500);
}

.mock-dashboard { overflow: hidden; }

.mock-stat-row {
    display: flex; gap: 6px; margin-bottom: 8px;
}

.mock-stat-card {
    flex: 1; height: 32px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
}

.mock-stat-card.s1 { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); }
.mock-stat-card.s2 { background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.05)); }
.mock-stat-card.s3 { background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.05)); }

.mock-chart-area {
    height: 70px; border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative; overflow: hidden;
}

.mock-chart-area::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(0deg, rgba(59,130,246,0.15), transparent);
    clip-path: polygon(0% 100%, 5% 60%, 15% 75%, 25% 35%, 35% 50%, 45% 20%, 55% 30%, 65% 10%, 75% 25%, 85% 8%, 95% 15%, 100% 5%, 100% 100%);
}

/* Hero Float Cards */
.hero-float-card {
    position: absolute; z-index: 4;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.float-card-1 { top: 10%; right: -10px; animation: float 6s ease-in-out infinite; }
.float-card-2 { bottom: 10%; left: -10px; animation: float 7s ease-in-out infinite 1s; }

.float-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--blue-600);
    background: var(--blue-50);
}

.float-icon.green {
    background: #DCFCE7;
    color: var(--green-500);
}

.float-info strong {
    display: block; font-size: 0.95rem; color: var(--gray-900);
}

.float-info span {
    font-size: 0.72rem; color: var(--gray-400);
}

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

/* ═══════════════════════════════════
   STATS BAR
   ═══════════════════════════════════ */
.stats-bar {
    background: var(--white);
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    z-index: 5;
    margin-top: -1px;
}

.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.4rem; font-weight: 800;
    color: var(--blue-600); line-height: 1;
}

.stat-plus {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem; font-weight: 800;
    color: var(--blue-400);
}

.stat-label {
    font-size: 0.88rem; color: var(--text-secondary);
    margin-top: 6px; font-weight: 500;
}

/* ═══════════════════════════════════
   SERVICES
   ═══════════════════════════════════ */
.services {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}

.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--blue-50);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--blue-600);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--blue-600);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-points {
    display: flex; flex-direction: column; gap: 8px;
}

.service-points li {
    font-size: 0.85rem;
    color: var(--gray-400);
    padding-left: 14px;
    position: relative;
}

.service-points li::before {
    content: ''; position: absolute;
    left: 0; top: 8px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--blue-400);
}

/* ═══════════════════════════════════
   WHY US
   ═══════════════════════════════════ */
.why-us {
    background: var(--gray-50);
}

.why-grid {
    display: grid; grid-template-columns: 1fr 0.85fr;
    gap: 80px; align-items: center;
}

.why-features {
    display: flex; flex-direction: column; gap: 28px;
}

.why-feature {
    display: flex; gap: 20px; align-items: flex-start;
}

.why-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 14px;
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}

.why-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Visual */
.why-visual { position: relative; }

.why-image-card { position: relative; }

.why-mockup {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.mock-ecomm { padding: 4px; }
.mock-ecomm-header {
    height: 16px; border-radius: 4px;
    background: var(--gray-100); margin-bottom: 10px;
}

.mock-product-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}

.mock-product {
    border-radius: 6px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.mock-product-img {
    height: 60px;
    background: linear-gradient(135deg, var(--blue-50), var(--gray-100));
}

.mock-product-info {
    padding: 6px; height: 24px;
}

.why-accent-box {
    position: absolute; bottom: -20px; right: -20px;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.88rem; font-weight: 600;
    box-shadow: var(--shadow-blue);
    z-index: 5;
}

.why-accent-box ion-icon { font-size: 1.2rem; }

/* ═══════════════════════════════════
   PORTFOLIO (Blue BG)
   ═══════════════════════════════════ */
.portfolio {
    background: linear-gradient(170deg, var(--blue-700) 0%, var(--blue-950) 100%);
    color: var(--white);
}

.portfolio-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.portfolio-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.portfolio-card.large { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 0.7fr; }
.portfolio-card.wide { grid-column: span 2; display: grid; grid-template-columns: 0.7fr 1.3fr; }

.portfolio-mockup {
    padding: 20px;
}

.portfolio-mockup .browser-bar.tiny {
    background: rgba(255,255,255,0.05);
    border-bottom-color: rgba(255,255,255,0.05);
}

.portfolio-mockup .browser-body {
    border-radius: 0 0 8px 8px;
}

.portfolio-mockup .mock-logo { background: var(--blue-400); }
.portfolio-mockup .mock-link { background: var(--gray-200); }
.portfolio-mockup .mock-text-lg { background: var(--gray-200); }
.portfolio-mockup .mock-text-sm { background: var(--gray-100); }

/* Portfolio mock sub-types */
.mock-site { padding: 4px; }
.mock-site-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock-site-hero { padding: 14px 0; display: flex; flex-direction: column; gap: 5px; }
.mock-site-hero.compact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.mock-site-cards { display: flex; gap: 6px; }
.mock-card-item { flex: 1; height: 40px; border-radius: 6px; background: var(--gray-50); border: 1px solid var(--gray-100); }

.mock-dashboard-mini { display: flex; gap: 8px; padding: 4px; }
.mock-dash-sidebar { width: 30px; display: flex; flex-direction: column; gap: 5px; }
.mock-dash-main { flex: 1; }

.mock-ecomm-page { padding: 4px; }
.mock-search-bar { flex: 1; height: 12px; background: var(--gray-100); border-radius: 6px; margin: 0 8px; }
.mock-product-wide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.mock-img-placeholder { height: 60px; border-radius: 6px; background: var(--blue-50); }
.mock-text-block { display: flex; flex-direction: column; gap: 5px; }

.portfolio-info {
    padding: 28px;
    display: flex; flex-direction: column; justify-content: center;
}

.portfolio-type {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--blue-300);
    margin-bottom: 10px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-info p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
}

.portfolio-tags span {
    padding: 4px 12px; border-radius: 100px;
    font-size: 0.72rem; font-weight: 600;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════
   PRICING (Tabbed)
   ═══════════════════════════════════ */
.pricing {
    background: var(--white);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    background: var(--gray-50);
    padding: 6px;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
}

.tab-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--gray-500);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem; font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.tab-btn ion-icon { font-size: 1.1rem; }

.tab-btn:hover {
    color: var(--blue-600);
    background: var(--white);
}

.tab-btn.active {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s var(--ease);
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
    display: grid; gap: 24px;
    max-width: 960px; margin: 0 auto;
}

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

.price-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 1px var(--blue-400), var(--shadow-lg);
}

.price-card.featured:hover {
    box-shadow: 0 0 0 1px var(--blue-400), var(--shadow-xl);
    transform: translateY(-8px);
}

.badge-popular {
    position: absolute; top: 20px; right: -28px;
    background: var(--blue-600);
    color: var(--white);
    padding: 5px 36px;
    transform: rotate(45deg);
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
}

.price-tier {
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--blue-500);
    margin-bottom: 4px; display: block;
}

.price-amount {
    display: flex; align-items: baseline; gap: 4px;
    margin: 12px 0;
}

.currency {
    font-size: 1rem; font-weight: 500; color: var(--gray-400);
}

.amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.6rem; font-weight: 800;
    color: var(--gray-900); letter-spacing: -1px;
}

.price-period {
    font-size: 0.9rem; font-weight: 500; color: var(--gray-400);
    margin-left: 2px;
}

.price-header p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.price-features {
    margin-bottom: 32px;
}

.price-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--gray-50);
}

.price-features li:last-child { border-bottom: none; }

.price-features li.included { color: var(--text-primary); }
.price-features li.included ion-icon { color: var(--blue-500); font-size: 1.1rem; flex-shrink: 0; }

.price-features li.excluded { color: var(--gray-300); }
.price-features li.excluded ion-icon { color: var(--gray-300); font-size: 1.1rem; flex-shrink: 0; }

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

/* ═══════════════════════════════════
   CTA (Blue BG)
   ═══════════════════════════════════ */
.cta {
    background: linear-gradient(170deg, var(--blue-600) 0%, var(--blue-800) 100%);
    color: var(--white);
    text-align: center;
    position: relative; overflow: hidden;
}

.cta::before {
    content: ''; position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -200px; right: -100px;
}

.cta::after {
    content: ''; position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -100px; left: -50px;
}

.cta-content {
    position: relative; z-index: 2;
    max-width: 640px; margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

.cta-assurance {
    display: flex; gap: 24px;
    justify-content: center; flex-wrap: wrap;
}

.assurance-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.assurance-item ion-icon {
    font-size: 1rem; color: rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════
   ARTICLES
   ═══════════════════════════════════ */
.articles {
    background: var(--gray-50);
}

.articles-top {
    display: flex; justify-content: space-between;
    align-items: flex-end; margin-bottom: 48px;
}

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

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}

.article-thumb { position: relative; }

.article-thumb-visual {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
}

.article-thumb-visual.t1 { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.article-thumb-visual.t2 { background: linear-gradient(135deg, var(--blue-600), var(--blue-900)); }
.article-thumb-visual.t3 { background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); }
.article-thumb-visual.t4 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.article-thumb-visual.t5 { background: linear-gradient(135deg, #3b82f6, #1e40af); }

.article-thumb-visual ion-icon {
    font-size: 42px; color: rgba(255,255,255,0.2);
}

.article-category {
    position: absolute; top: 14px; left: 14px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.72rem; font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
}

.article-body { padding: 24px; }

.article-meta {
    display: flex; gap: 14px;
    margin-bottom: 12px;
}

.article-meta span {
    font-size: 0.8rem; color: var(--gray-400);
}

.article-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.article-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.article-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-600);
}

.article-link:hover {
    color: var(--blue-700);
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.6);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.92rem; line-height: 1.8;
    margin-top: 14px; max-width: 300px;
}

.footer-social {
    display: flex; gap: 10px; margin-top: 20px;
}

.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.88rem; font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0; transform: translateY(35px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1; transform: translateY(0);
}

/* ═══════════════════════════════════
   RESPONSIVE — CAROUSEL MODE
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { max-width: 540px; margin: 0 auto; }

    .why-grid { grid-template-columns: 1fr; gap: 50px; }
    .why-visual { max-width: 450px; }

    /* Services → carousel */
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .services-grid::-webkit-scrollbar { display: none; }
    .service-card {
        min-width: 280px;
        max-width: 320px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Portfolio → carousel */
    .portfolio-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .portfolio-grid::-webkit-scrollbar { display: none; }
    .portfolio-card {
        min-width: 340px;
        max-width: 400px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .portfolio-card.large,
    .portfolio-card.wide {
        grid-column: unset;
        grid-template-columns: 1fr;
        min-width: 360px;
        max-width: 440px;
    }

    /* Pricing → carousel per tab */
    .pricing-grid.cols-3,
    .pricing-grid.cols-2 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        scrollbar-width: none;
        max-width: 100%;
    }
    .pricing-grid.cols-3::-webkit-scrollbar,
    .pricing-grid.cols-2::-webkit-scrollbar { display: none; }
    .price-card {
        min-width: 300px;
        max-width: 340px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Articles → carousel */
    .articles-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .articles-grid::-webkit-scrollbar { display: none; }
    .article-card {
        min-width: 300px;
        max-width: 340px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 36px 36px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s var(--ease);
        z-index: 998;
    }

    .nav-links.active { right: 0; }
    .nav-link { font-size: 1.05rem; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; z-index: 999; }

    .hero-actions { flex-direction: column; align-items: center; }

    /* Carousel card widths tighter on small screens */
    .service-card { min-width: 260px; max-width: 290px; }
    .portfolio-card { min-width: 300px; max-width: 360px; }
    .portfolio-card.large, .portfolio-card.wide { min-width: 320px; max-width: 380px; }
    .price-card { min-width: 280px; max-width: 320px; }
    .article-card { min-width: 270px; max-width: 310px; }

    /* Pricing tabs scroll */
    .pricing-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .pricing-tabs::-webkit-scrollbar { display: none; }
    .tab-btn { white-space: nowrap; flex-shrink: 0; }

    .articles-top { flex-direction: column; align-items: flex-start; gap: 16px; }

    .cta-actions { flex-direction: column; align-items: center; }
    .cta-assurance { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .secondary-mockup { display: none; }
    .hero-float-card { display: none; }
}

/* ═══════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    padding: 24px;
    transition: all 0.3s var(--ease);
}

.faq-item:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 0;
}

.faq-question ion-icon {
    font-size: 1.5rem;
    color: var(--blue-600);
    transition: transform 0.3s var(--ease);
}

.faq-item.active .faq-question ion-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    opacity: 0;
}

.faq-item.active .faq-answer {
    margin-top: 15px;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.9rem; letter-spacing: -0.5px; }
    .section-title { font-size: 1.6rem; }

    .service-card { min-width: 240px; }
    .portfolio-card, .portfolio-card.large, .portfolio-card.wide { min-width: 280px; }
    .price-card { min-width: 260px; padding: 32px 22px; }
    .article-card { min-width: 250px; }
}