/* ============================================
   THOR Su Arıtma - Ana Stil Dosyası
   Tema: Siyah & Mavi
   Mobil Uyumlu (Mobile-First Approach)
   ============================================ */

/* ==== CSS Variables / Design Tokens ==== */
:root {
    /* Colors - Black & Blue Theme */
    --color-bg: #050714;
    --color-bg-alt: #0a0e27;
    --color-bg-card: #0f1535;
    --color-bg-elevated: #131a3d;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);

    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-300: #93c5fd;
    --color-blue-400: #60a5fa;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;
    --color-blue-900: #1e3a8a;
    --color-cyan: #22d3ee;
    --color-accent: #38bdf8;

    --color-text: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-border: rgba(59, 130, 246, 0.15);
    --color-border-strong: rgba(59, 130, 246, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #1e3a8a 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%);
    --gradient-text: linear-gradient(135deg, #93c5fd 0%, #3b82f6 100%);

    /* Typography */
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --container-padding: 1.25rem;

    /* Effects */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-blue: 0 10px 40px rgba(59, 130, 246, 0.3);

    /* Transitions */
    --t-fast: 0.2s ease;
    --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

/* Atmospheric background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 600px at 10% 0%, rgba(59, 130, 246, 0.12), transparent 50%),
        radial-gradient(ellipse 600px 400px at 90% 30%, rgba(30, 64, 175, 0.1), transparent 50%),
        radial-gradient(ellipse 700px 500px at 50% 100%, rgba(34, 211, 238, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-blue-400); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

/* ==== Container ==== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

/* ==== Top Bar ==== */
.topbar {
    background: rgba(5, 7, 20, 0.95);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    position: relative;
    z-index: 50;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    gap: 1rem;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--t-fast);
}

.topbar-item:hover { color: var(--color-blue-400); }

@media (max-width: 640px) {
    .topbar-hide-mobile { display: none; }
    .topbar { font-size: 0.7rem; }
    .topbar-inner { height: 34px; }
}

/* ==== Header ==== */
.header {
    position: sticky;
    top: 0;
    background: rgba(5, 7, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    transition: background var(--t-base);
}

.header.scrolled {
    background: rgba(5, 7, 20, 0.95);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.4));
}

.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.18em;
    margin-top: 3px;
    font-weight: 500;
}

/* Nav */
.nav ul {
    display: flex;
    gap: 0.5rem;
}

.nav a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--t-fast);
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--t-base);
}

.nav a:hover, .nav a.active {
    color: #fff;
}

.nav a.active::after,
.nav a:hover::after {
    width: 60%;
}

/* Header CTA */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-blue);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.header-cta:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 50px rgba(59, 130, 246, 0.45);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--t-base);
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==== Buttons ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: all var(--t-base);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(59, 130, 246, 0.5);
    color: #fff;
}

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

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
    border-color: var(--color-blue-500);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.25rem;
    font-size: 1rem;
}

/* ==== Section Common ==== */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-sm { padding: 4rem 0; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-border-strong);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-blue-300);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.section-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-blue-500);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-blue-500);
}

.section-title {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    margin-bottom: 1rem;
}

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

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

/* ==== HERO ==== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

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

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 1000px 700px at 30% 50%, rgba(59, 130, 246, 0.18), transparent 60%),
        radial-gradient(ellipse 800px 600px at 80% 20%, rgba(30, 64, 175, 0.15), transparent 60%);
}

/* Animated water drops in background */
.water-drops {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.water-drops .drop {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-blue-400);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-blue-400);
    opacity: 0;
    animation: dropFall 6s linear infinite;
}

@keyframes dropFall {
    0% { transform: translateY(-100px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Grid pattern */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid var(--color-border-strong);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-blue-300);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title .accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.25rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
}

.hero-device {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
}

.hero-device-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 65%);
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-device-svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

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

/* Floating feature cards on hero */
.hero-feature {
    position: absolute;
    background: rgba(15, 21, 53, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--shadow);
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    flex-shrink: 0;
}

.hero-feature-text strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
    font-weight: 600;
}

.hero-feature-text span {
    font-size: 0.74rem;
    color: var(--color-text-muted);
}

.hero-feature-1 { top: 8%; left: -5%; animation-delay: 0s; }
.hero-feature-2 { bottom: 18%; right: -8%; animation-delay: 1.5s; }
.hero-feature-3 { bottom: 5%; left: 5%; animation-delay: 3s; }

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

/* ==== FEATURES BAR ==== */
.features-bar {
    background: linear-gradient(180deg, transparent, var(--color-bg-alt));
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.feature-bar-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.feature-bar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-border-strong);
    border-radius: 12px;
    color: var(--color-blue-400);
    flex-shrink: 0;
}

.feature-bar-text strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.feature-bar-text span {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ==== ABOUT SECTION ==== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--gradient-blue);
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4));
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    background: rgba(15, 21, 53, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    color: #fff;
}

.about-badge-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.about-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: all var(--t-fast);
}

.about-feature:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-strong);
    transform: translateY(-3px);
}

.about-feature-check {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.about-feature span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==== PRODUCTS SECTION ==== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-card), var(--color-bg-elevated));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-blue-600);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.2);
}

.product-card.featured::before {
    content: "EN POPÜLER";
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    letter-spacing: 0.08em;
    z-index: 2;
    box-shadow: var(--shadow-blue);
}

.product-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 64, 175, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.product-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 60%, rgba(59, 130, 246, 0.3), transparent 60%);
}

.product-image svg {
    width: 60%;
    height: 60%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    transition: transform var(--t-base);
}

.product-card:hover .product-image svg {
    transform: scale(1.06);
}

.product-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.product-tagline {
    color: var(--color-blue-400);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 1.75rem;
    flex: 1;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    border-bottom: 1px solid var(--color-border);
}

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

.product-features li svg {
    color: var(--color-blue-400);
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 0.6rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

/* ==== PROCESS / 6 STAGE FILTRATION ==== */
.process-section {
    background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt), var(--color-bg));
    padding: 7rem 0;
    overflow: hidden;
    position: relative;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 4rem;
    position: relative;
}

.process-flow::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-blue-500), var(--color-blue-500), transparent);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(180deg, var(--color-bg-card), var(--color-bg-elevated));
    border: 2px solid var(--color-blue-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-400);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
    transition: all var(--t-base);
    position: relative;
}

.process-icon::after {
    content: attr(data-step);
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    border: 2px solid var(--color-bg);
}

.process-step:hover .process-icon {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.45);
    color: #fff;
    background: var(--gradient-primary);
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ==== SERVICES SECTION ==== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-400);
    margin-bottom: 1.5rem;
    transition: all var(--t-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-blue-400);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--t-fast);
}

.service-link:hover {
    color: var(--color-blue-300);
    gap: 0.6rem;
}

/* ==== TESTIMONIALS ==== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testimonial-card {
    background: linear-gradient(180deg, var(--color-bg-card), var(--color-bg-elevated));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--t-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(59, 130, 246, 0.2);
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    font-weight: 800;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

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

/* ==== CTA SECTION ==== */
.cta-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-elevated));
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ==== FAQ ==== */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--t-fast);
}

.faq-item.is-open {
    border-color: var(--color-border-strong);
    background: var(--color-bg-elevated);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--t-fast);
}

.faq-question:hover { color: var(--color-blue-300); }

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-400);
    flex-shrink: 0;
    transition: all var(--t-base);
}

.faq-item.is-open .faq-icon {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
}

.faq-answer-inner {
    padding: 0 1.75rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ==== PAGE HEADER (sub pages) ==== */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(59, 130, 246, 0.15), transparent 60%);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-blue-400); }
.breadcrumb a:hover { color: var(--color-blue-300); }
.breadcrumb-sep { opacity: 0.4; }

.page-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==== CONTACT FORM ==== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-400);
    flex-shrink: 0;
}

.contact-info-text {
    flex: 1;
}

.contact-info-text strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-info-text a, .contact-info-text span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info-text a:hover { color: var(--color-blue-400); }

/* Form */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--t-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

/* ==== FOOTER ==== */
.footer {
    background: linear-gradient(180deg, var(--color-bg), #020308);
    padding-top: 0;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.2), transparent 70%);
    pointer-events: none;
}

.footer-cta {
    background: linear-gradient(135deg, var(--color-blue-700), var(--color-blue-900));
    padding: 3rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.2), transparent 50%);
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    flex-wrap: wrap;
}

.footer-cta-text h3 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: #fff;
    margin-bottom: 0.4rem;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
}

.footer-cta-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-cta-buttons .btn {
    background: #fff;
    color: var(--color-blue-700);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-cta-buttons .btn:hover {
    background: var(--color-bg);
    color: #fff;
    transform: translateY(-3px);
}

.footer-cta-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.footer-logo .logo-name {
    font-size: 1.6rem;
}

.footer-about {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--t-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a::before {
    content: "›";
    color: var(--color-blue-400);
    transition: margin var(--t-fast);
}

.footer-links a:hover {
    color: var(--color-blue-300);
}

.footer-links a:hover::before {
    margin-right: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact li svg { color: var(--color-blue-400); flex-shrink: 0; }
.footer-contact a { color: var(--color-text-muted); }
.footer-contact a:hover { color: var(--color-blue-300); }

.footer-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item svg { color: var(--color-blue-400); }

.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-credit {
    color: var(--color-blue-400) !important;
    font-weight: 500;
}

/* ==== WhatsApp Float ==== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--t-fast);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ==== Animations ==== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE - MOBILE FIRST OPTIMIZATION
   ============================================ */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
    .section { padding: 4.5rem 0; }
    .hero-inner { gap: 2.5rem; }
    .about-grid, .contact-grid { gap: 2.5rem; }
    .features-row { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .products-grid, .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .process-flow { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .process-flow::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    :root { --container-padding: 1rem; }

    .section { padding: 4rem 0; }

    /* Header / Nav */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--color-bg-alt);
        border-left: 1px solid var(--color-border);
        padding: 5rem 1.5rem 2rem;
        transition: right var(--t-base);
        z-index: 90;
        overflow-y: auto;
    }
    .nav.is-open { right: 0; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); }
    .nav ul { flex-direction: column; gap: 0.25rem; }
    .nav a {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
    }
    .nav a.active {
        background: rgba(59, 130, 246, 0.15);
        border-color: var(--color-border-strong);
    }
    .nav a::after { display: none; }
    .menu-toggle { display: flex; }

    .header-cta {
        display: none;
    }

    .header-inner { height: 68px; }
    .logo-icon { width: 38px; height: 38px; }
    .logo-name { font-size: 1.2rem; }
    .logo-sub { font-size: 0.6rem; }

    /* Hero */
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { gap: 1rem; padding-top: 1.5rem; }
    .hero-visual { min-height: 360px; order: -1; }
    .hero-device { max-width: 280px; }
    .hero-feature { padding: 0.65rem 0.85rem; }
    .hero-feature-icon { width: 32px; height: 32px; }
    .hero-feature-text strong { font-size: 0.78rem; }
    .hero-feature-text span { font-size: 0.66rem; }
    .hero-feature-1 { top: 0; left: 0; }
    .hero-feature-2 { bottom: 8%; right: 0; }
    .hero-feature-3 { display: none; }

    /* Features bar */
    .features-row { grid-template-columns: 1fr; gap: 1rem; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { aspect-ratio: 4/3; max-width: 480px; margin: 0 auto; }
    .about-features { grid-template-columns: 1fr; }

    /* Products & services */
    .products-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Process */
    .process-flow { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .process-icon { width: 64px; height: 64px; }

    /* CTA */
    .cta-box { padding: 2.5rem 1.5rem; }

    /* FAQ */
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    .faq-answer-inner { padding: 0 1.25rem 1.25rem; font-size: 0.9rem; }

    /* Page header */
    .page-header { padding: 5rem 0 3rem; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form, .contact-info-card { padding: 1.75rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Footer */
    .footer-cta-inner { flex-direction: column; text-align: center; }
    .footer-cta-buttons { justify-content: center; width: 100%; }
    .footer-cta-buttons .btn { flex: 1; min-width: 140px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-trust { gap: 1.25rem; }
    .trust-item { font-size: 0.82rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* WhatsApp */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
    .hero-stats > :nth-child(3) { grid-column: span 2; }
    .product-body { padding: 1.5rem; }
    .product-actions { flex-direction: column; }
    .btn { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
    .testimonial-quote { display: none; }
    .footer-cta-buttons .btn { width: 100%; }
}

/* Body lock when nav open on mobile */
body.nav-open {
    overflow: hidden;
}

body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 80;
    backdrop-filter: blur(4px);
}
