/* ============================================
   AVARMAN — Modern Corporate Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0f172a;
    --primary-dark: #020617;
    --primary-light: #1e293b;
    --primary-bg: #f1f5f9;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #3b82f6;
    --blue-bg: #eff6ff;
    --green: #10b981;
    --green-dark: #059669;
    --green-bg: #ecfdf5;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --bg-footer: #0f172a;
    --surface: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #cbd5e1;
    --text: #334155;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 4px 24px rgba(37, 99, 235, 0.2);
    --shadow-blue-lg: 0 8px 32px rgba(37, 99, 235, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --section-padding: clamp(80px, 10vw, 120px);
    --card-padding: clamp(28px, 3vw, 40px);
    --grid-gap: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--text-heading);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

p { line-height: 1.65; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

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

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

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

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-bg);
}

.btn-lg {
    padding: 16px 36px;
    min-height: 52px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-full { width: 100%; }

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

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

.section-tag {
    display: inline-block;
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: var(--blue-bg);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    margin-top: 16px;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: rgba(255, 255, 255, 0);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    transition: opacity var(--transition);
}

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-heading);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
}

.nav-phone svg { width: 16px; height: 16px; }
.nav-phone:hover { color: var(--blue); }

.btn-nav {
    padding: 10px 20px;
    min-height: 40px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 2px;
}

.lang-btn {
    padding: 5px 10px;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.03em;
}

.lang-btn:hover {
    color: var(--text-heading);
}

.lang-btn.active {
    background: var(--blue);
    color: white;
}

.mobile-menu-footer { display: none; }
.nav-overlay { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Navbar on dark hero (before scroll) */
.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.7);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
    color: white;
}

.navbar:not(.scrolled) .nav-phone {
    color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.scrolled) .nav-phone:hover {
    color: white;
}

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

.navbar:not(.scrolled) .lang-switcher {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.navbar:not(.scrolled) .lang-btn {
    color: rgba(255, 255, 255, 0.6);
}

.navbar:not(.scrolled) .lang-btn:hover {
    color: white;
}

.navbar:not(.scrolled) .lang-btn.active {
    background: var(--blue);
    color: white;
}

.navbar:not(.scrolled) .hamburger span {
    background: white;
}

.navbar:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO — Modern Dark Gradient
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--primary);
    color: white;
}

/* Gradient mesh background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(37, 99, 235, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 10%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(8px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero .btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hero .btn-primary:hover {
    background: var(--blue-light);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.hero-pricing-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-highlight {
    font-size: 1rem;
    font-weight: 700;
    color: #6ee7b7;
}

.pricing-detail {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Hero Visual — Device Grid */
.hero-visual {
    display: flex;
    justify-content: center;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 440px;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.device-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.device-item svg {
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.device-item:hover svg {
    color: white;
}

.device-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.2;
}

.device-item:hover span {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--bg);
    padding: 48px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat { text-align: center; }

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--bg-alt); }

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before { transform: scaleX(1); }

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-bg);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--blue);
    transition: all var(--transition);
}

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

.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: 12px; }

.service-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.check-list li {
    font-size: 0.875rem;
    color: var(--text);
    padding-left: 26px;
    position: relative;
    line-height: 1.5;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--green-bg);
    border-radius: 50%;
    border: 1.5px solid var(--green);
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works { background: var(--bg); }

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

.step-card {
    text-align: center;
    padding: 32px 28px;
    flex: 1;
    max-width: 320px;
}

.step-num {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-blue);
}

.step-card h3 { margin-bottom: 10px; }

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.step-arrow {
    flex-shrink: 0;
    color: var(--blue);
    opacity: 0.4;
}

.step-arrow svg { width: 36px; height: 36px; }

/* ============================================
   PRICING
   ============================================ */
.pricing { background: var(--bg-alt); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-blue-lg);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-blue);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card.featured .pricing-header {
    padding-top: 56px;
}

.pricing-header {
    padding: 32px 28px 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.pricing-card.featured .price-amount {
    color: var(--blue);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.pricing-features {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 26px;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--green-bg);
    border-radius: 50%;
    border: 1.5px solid var(--green);
}

.pricing-features li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
}

.pricing-card .btn {
    margin: 0 28px 28px;
    width: calc(100% - 56px);
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries { background: var(--bg); }

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.industry-tag {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
    cursor: default;
}

.industry-tag:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    background: var(--bg-alt);
    padding: 64px 0;
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-slow);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 48px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--bg-alt); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    margin-bottom: 16px;
}

.testimonial-stars svg { width: 16px; height: 16px; }

.testimonial-card > p {
    color: var(--text);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.75;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-heading);
}

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

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--bg);
}

.cta-box {
    background: var(--primary);
    border-radius: var(--radius-2xl);
    padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 60px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
}

.cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-box h2 {
    position: relative;
    z-index: 1;
    color: white;
    margin-bottom: 16px;
}

.cta-box p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    max-width: 50ch;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-btn-white {
    background: var(--blue);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.cta-btn-white:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.cta-btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

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

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

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-bg);
    border-radius: var(--radius-md);
    color: var(--blue);
    transition: all var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--blue);
    color: white;
}

.contact-icon svg { width: 24px; height: 24px; }
.contact-item h4 { margin-bottom: 4px; }

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* --- Contact Form --- */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    min-height: 48px;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option { background: white; }

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

.contact-form .btn-primary {
    background: var(--blue);
    box-shadow: var(--shadow-blue);
}

.contact-form .btn-primary:hover {
    background: var(--blue-dark);
    box-shadow: var(--shadow-blue-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-footer);
    padding: 72px 0 32px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

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

.footer .logo-img {
    height: 34px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.85); }

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
}

.social-link svg { width: 16px; height: 16px; }

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.back-to-top svg { width: 18px; height: 18px; }

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    box-shadow: var(--shadow-blue);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
    gap: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-cta-call,
.mobile-cta-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    min-height: 48px;
}

.mobile-cta-call {
    background: var(--white);
    color: var(--text-heading);
    border: 1.5px solid var(--border-light);
}

.mobile-cta-call svg {
    width: 18px;
    height: 18px;
}

.mobile-cta-quote {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-content { order: 1; }
    .hero-visual { order: 0; }

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

    .hero-pricing-note {
        align-items: center;
    }

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

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

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }

    .back-to-top {
        bottom: 84px;
    }

    .footer {
        padding-bottom: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right var(--transition);
        box-shadow: -8px 0 24px rgba(0,0,0,0.08);
        z-index: 1000;
    }

    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }

    .nav-links a::after { display: none; }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-right { display: none; }

    /* Mobile menu overlay */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile menu phone & CTA */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding-top: 24px;
        width: 100%;
    }

    .mobile-menu-footer .nav-phone {
        font-size: 1rem;
        padding: 12px 0;
    }

    .mobile-menu-footer .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .device-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 300px;
        gap: 10px;
    }

    .device-item {
        padding: 16px 8px;
    }

    .device-item svg {
        width: 32px;
        height: 32px;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .steps-grid {
        flex-direction: column;
        gap: 12px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step-arrow svg {
        width: 24px;
        height: 24px;
    }

    .step-card {
        max-width: 100%;
        padding: 24px 20px;
    }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

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

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

    .partners-grid { gap: 20px; }

    .partner-logo img {
        max-height: 36px;
        max-width: 100px;
    }

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

    .cta-actions .btn { width: 100%; }

    .section-header {
        margin-bottom: 40px;
    }

    .pricing-card .btn {
        margin: 0 20px 20px;
        width: calc(100% - 40px);
    }
}

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

    .device-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 260px;
    }

    .device-item svg {
        width: 28px;
        height: 28px;
    }

    .device-item span {
        font-size: 0.68rem;
    }

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

    .hero-actions .btn { width: 100%; }

    .industries-grid {
        gap: 8px;
    }

    .industry-tag {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 16px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }
}
