/* ========================================
   MerchantMind Labs — Apple-Inspired Design
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Apple-style Colors — Light, Clean, Minimal */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #ffffff;

    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --text-link: #0066cc;
    --text-link-hover: #0077ed;

    --accent: #0071e3;
    --accent-hover: #0077ed;
    --accent-light: rgba(0, 113, 227, 0.08);

    /* Typography — Apple's SF Pro style */
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;

    /* Spacing */
    --section-padding: 110px;
    --container-max: 1060px;
    --container-wide: 1440px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 22px;
}

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

/* --- Section --- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* --- Buttons (Apple-style) --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 400;
    padding: 12px 28px;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    letter-spacing: 0;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: none;
    padding: 12px 4px;
    font-size: 1.0625rem;
}

.btn-secondary:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.btn-secondary svg {
    transition: transform 0.2s var(--ease);
}

.btn-secondary:hover svg {
    transform: translateX(3px);
}

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

/* ==========================================
   NAVBAR — Apple-style
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

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

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

.nav-logo:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    transition: transform 0.3s var(--ease);
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-highlight {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 400;
    transition: color 0.3s var(--ease);
    text-decoration: none;
    letter-spacing: 0;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 6px 18px !important;
    border-radius: 980px;
    font-weight: 400 !important;
    font-size: 0.8125rem !important;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    color: #fff !important;
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO — Apple clean style
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 48px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 113, 227, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 60%, rgba(88, 86, 214, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0, 113, 227, 0.03) 0%, transparent 50%);
}

.hero-grid {
    display: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(0, 113, 227, 0.2);
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 20px;
    border-radius: 980px;
    margin-bottom: 24px;
}

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #5856d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
}

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

.hero-actions .btn-primary {
    background: var(--accent);
    color: #fff;
    font-weight: 400;
}

.hero-actions .btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.hero-actions .btn-secondary {
    color: var(--accent);
    font-weight: 400;
}

.hero-actions .btn-secondary:hover {
    color: var(--accent-hover);
}

.hero-actions .btn-secondary svg {
    stroke: currentColor;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-top: 6px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fade-in-up 1s 1.5s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* ==========================================
   SERVICES — Apple grid cards
   ========================================== */
.services {
    background: var(--bg-primary);
}

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

.service-card {
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    cursor: default;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    background: var(--bg-secondary);
    border: none;
}

.service-card::before {
    display: none;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================
   WHY US — Apple feature highlights
   ========================================== */
.why-us {
    background: var(--bg-secondary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.why-card {
    padding: 36px 30px;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

.why-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: none;
    background: var(--bg-primary);
}

.why-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Stats Row — Apple-style counters */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 56px 40px;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================
   APPS / PORTFOLIO — Apple product grid
   ========================================== */
.apps {
    background: var(--bg-primary);
}

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

.app-card {
    padding: 32px 28px;
    position: relative;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

.app-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: none;
    background: var(--bg-secondary);
}

.app-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.4s var(--ease-spring);
}

.app-card:hover .app-card-icon {
    transform: scale(1.08);
}

.app-card h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.app-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

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

.app-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    border: none;
    padding: 4px 12px;
    border-radius: 980px;
}

/* ==========================================
   PROCESS — Apple timeline style
   ========================================== */
.process {
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), rgba(0, 113, 227, 0.1));
}

.process-step {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-secondary);
    border: 2px solid rgba(0, 113, 227, 0.2);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.4s var(--ease);
    letter-spacing: -0.02em;
}

.process-step:hover .process-number {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.25);
}

.process-content {
    padding: 28px;
    flex: 1;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

.process-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: none;
    border: none;
    background: var(--bg-primary);
}

.process-content h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.process-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.process-list li {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    padding-left: 20px;
    position: relative;
}

.process-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* ==========================================
   TECHNOLOGIES — Apple badge style
   ========================================== */
.tech {
    background: var(--bg-primary);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-badge {
    padding: 10px 24px;
    border-radius: 980px;
    cursor: default;
    background: var(--bg-secondary);
    border: none;
    transition: all 0.3s var(--ease);
}

.tech-badge:hover {
    background: var(--text-primary);
    transform: none;
    box-shadow: none;
    border: none;
}

.tech-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease);
}

.tech-badge:hover span {
    color: #fff;
}

/* ==========================================
   TESTIMONIALS — Apple quote style
   ========================================== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s var(--ease);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px 40px;
    text-align: center;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-lg);
}

.testimonial-card:hover {
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-primary);
}

.testimonial-stars {
    font-size: 1.25rem;
    color: #ff9500;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1.3125rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-style: normal;
    font-weight: 600;
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.carousel-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.carousel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================
   CONTACT — Apple clean form
   ========================================== */
.contact {
    background: var(--bg-primary);
}

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

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 14px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
    font-size: 1.0625rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

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

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.social-link:hover {
    background: var(--text-primary);
    color: #fff;
    transform: scale(1.05);
    text-decoration: none;
}

/* Contact Form */
.contact-form {
    padding: 36px;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
}

.contact-form:hover {
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-secondary);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.25s var(--ease);
}

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

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

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

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 24px;
    color: #34c759;
    font-weight: 600;
}

.form-success.show {
    display: block;
}

/* ==========================================
   FOOTER — Apple minimal footer
   ========================================== */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-secondary);
}

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

.footer .nav-logo {
    margin-bottom: 0;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-top: 14px;
    max-width: 280px;
    line-height: 1.5;
}

.footer-links-group h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-group a {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    transition: color 0.3s var(--ease);
    text-decoration: none;
}

.footer-links-group a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.01em;
}

/* ==========================================
   SCROLL ANIMATIONS — Apple-subtle
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {

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

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

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

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-primary);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        padding: 80px 28px 28px;
        gap: 20px;
        transition: right 0.4s var(--ease);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 9vw, 3.5rem);
    }

    .hero-stats {
        gap: 32px;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        gap: 28px;
        padding: 36px 24px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .section-eyebrow {
        text-align: center;
        display: block;
    }

    .contact-info p {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 0.9375rem;
    }

    .process-step {
        gap: 16px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}