/* ===========================
   SPEED CELL — CSS Styles
   Colors: Dark Blue & Yellow
   =========================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary Colors */
    --blue-950: #0a1628;
    --blue-900: #0d1f3c;
    --blue-800: #102a50;
    --blue-700: #153a6b;
    --blue-600: #1a4a86;
    --blue-500: #1e5aa0;
    --blue-400: #3b7dd4;
    --blue-300: #6da0e6;

    /* Accent Colors */
    --yellow-500: #f5c518;
    --yellow-400: #fad643;
    --yellow-300: #fde26e;
    --yellow-600: #d4a80f;
    --yellow-glow: rgba(245, 197, 24, 0.15);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8f9fc;
    --gray-100: #f0f2f7;
    --gray-200: #e2e5ed;
    --gray-300: #c8cdd8;
    --gray-400: #9aa1b3;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic */
    --success: #10b981;
    --danger: #ef4444;

    /* Layout */
    --container-max: 1200px;
    --section-padding: 100px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(245, 197, 24, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-900);
}

/* ---------- Section Common ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow-500);
    background: var(--yellow-glow);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--yellow-500);
}

.section-title.text-left {
    text-align: left;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--yellow-500);
    color: var(--blue-900);
    border-color: var(--yellow-500);
}

.btn-primary:hover {
    background: var(--yellow-400);
    border-color: var(--yellow-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--blue-900);
    border-color: var(--blue-900);
}

.btn-outline:hover {
    background: var(--blue-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: var(--yellow-500);
    color: var(--blue-900);
    border-color: var(--yellow-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-accent {
    background: #25d366;
    color: var(--white);
    border-color: #25d366;
}

.btn-accent:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

.btn-full {
    width: 100%;
}

/* ============================
   HEADER
   ============================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--yellow-500);
    color: var(--blue-900);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-900);
}

.header:not(.scrolled) .logo-text {
    color: var(--white);
}

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

/* Navigation */
.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
}

.header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow-500);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow-500);
}

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

.header-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue-900);
    border-radius: 2px;
    transition: var(--transition);
}

.header:not(.scrolled) .hamburger,
.header:not(.scrolled) .hamburger::before,
.header:not(.scrolled) .hamburger::after {
    background: var(--white);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 50%, var(--blue-700) 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--yellow-500);
    top: -200px;
    right: -100px;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: var(--blue-400);
    bottom: -100px;
    left: -100px;
}

.hero-grid-overlay {
    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;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 197, 24, 0.12);
    color: var(--yellow-400);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 197, 24, 0.2);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    animation: fadeInUp 0.6s 0.1s ease forwards;
    opacity: 0;
}

.hero-title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s 0.2s ease forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s 0.3s ease forwards;
    opacity: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s 0.4s ease forwards;
    opacity: 0;
}

.hero-stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow-500);
}

.hero-stat-number::after {
    content: '+';
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s 0.3s ease forwards;
    opacity: 0;
}

.hero-phone {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--gray-900);
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-900), var(--blue-950));
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: auto;
}

.phone-icons {
    display: flex;
    gap: 6px;
    font-size: 0.65rem;
}

.phone-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 0 0 37px 37px;
}

.phone-scroll-container::before,
.phone-scroll-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
    pointer-events: none;
}

.phone-scroll-container::before {
    top: 0;
    background: linear-gradient(180deg, var(--blue-950), transparent);
}

.phone-scroll-container::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--blue-950), transparent);
}

.phone-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: phoneScroll 25s linear infinite;
}

.phone-scroll-track img {
    width: 100%;
    border-radius: 8px;
    display: block;
    flex-shrink: 0;
}

.phone-scroll-track:hover {
    animation-play-state: paused;
}

.hero-phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.2), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.floating-card i {
    color: var(--yellow-500);
}

.floating-card-1 {
    top: 15%;
    right: -10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 25%;
    right: -20px;
    animation: float 3s ease-in-out 0.5s infinite;
}

.floating-card-3 {
    top: 40%;
    left: -30px;
    animation: float 3s ease-in-out 1s infinite;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--yellow-500);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

/* ============================
   SERVICES
   ============================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow-500), var(--blue-500));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-card.featured {
    border-color: var(--yellow-500);
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.04), var(--white));
}

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

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--yellow-500);
    color: var(--blue-900);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: var(--yellow-500);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 4px 0;
}

.service-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-600);
}

.service-link:hover {
    color: var(--yellow-500);
    gap: 10px;
}

/* ============================
   ABOUT
   ============================ */
.about {
    padding: var(--section-padding) 0;
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-slideshow {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--blue-900);
}

.about-slideshow img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-slideshow img.slide.active {
    opacity: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: var(--yellow-500);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.experience-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1;
}

.experience-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue-900);
    text-align: center;
    line-height: 1.3;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-glow);
    color: var(--yellow-500);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    border: 1px solid rgba(245, 197, 24, 0.2);
}

.about-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ============================
   PROCESS
   ============================ */
.process {
    padding: var(--section-padding) 0;
    background: var(--blue-950);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.08), transparent);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.process .section-tag {
    background: rgba(245, 197, 24, 0.1);
}

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

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--yellow-500), var(--blue-500), transparent);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 0;
    position: relative;
}

.process-step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-900);
    background: var(--yellow-500);
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.3);
}

.process-step-content {
    flex: 1;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.process-step:hover .process-step-content {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 197, 24, 0.2);
    transform: translateX(8px);
}

.process-step-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 197, 24, 0.1);
    color: var(--yellow-500);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.process-step-content h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ============================
   PRICING
   ============================ */
.pricing {
    padding: 80px 0;
    background-color: var(--slate-50);
}

.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-400);
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--blue-900);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--blue-900);
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: var(--yellow-500);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-grid.hidden {
    display: none;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border: 2px solid var(--yellow-500);
    box-shadow: 0 20px 40px rgba(245, 197, 24, 0.15);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow-500);
    color: var(--blue-900);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--blue-900);
    margin-bottom: 15px;
}

.pricing-header .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1;
    margin-bottom: 15px;
}

.pricing-header .price span {
    font-size: 1.2rem;
    vertical-align: top;
    margin-right: 4px;
}

.pricing-header .price span.period {
    font-size: 1rem;
    color: var(--slate-500);
    font-weight: 500;
    vertical-align: baseline;
    margin-left: 2px;
}

.pricing-header p {
    color: var(--slate-500);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--slate-600);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--success);
    margin-top: 4px;
}

.pricing-rules-link {
    text-align: center;
    margin-top: 40px;
}

.pricing-rules-link a {
    color: var(--slate-400);
    font-size: 0.9rem;
    text-decoration: underline;
    transition: var(--transition);
}

.pricing-rules-link a:hover {
    color: var(--blue-600);
}

/* ============================
   MODAL REGRAS
   ============================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-400);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.modal-header-icon {
    font-size: 2.5rem;
    color: var(--yellow-500);
    text-align: center;
    margin-bottom: 16px;
}

.modal-content h3 {
    text-align: center;
    color: var(--blue-900);
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.rules-list {
    list-style: none;
}

.rules-list li {
    margin-bottom: 16px;
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
    background: var(--slate-50);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--yellow-500);
}

.rules-list li strong {
    color: var(--blue-900);
    display: block;
    margin-bottom: 4px;
}

/* ============================
   BRANDS
   ============================ */
.brands {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.brand-item:hover {
    border-color: var(--yellow-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background-color: var(--blue-800);
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    transition: var(--transition);
}

.brand-item:hover .brand-icon {
    background-color: var(--yellow-500);
}

.brand-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
    padding: var(--section-padding) 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    margin: 0 12px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--yellow-500);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--yellow-500);
    font-size: 0.85rem;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-500);
    font-size: 1rem;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue-900);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--blue-900);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--yellow-500);
    border-color: var(--yellow-500);
    color: var(--blue-900);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonials-dots .dot.active {
    background: var(--yellow-500);
    width: 28px;
    border-radius: 5px;
}

/* ============================
   PARTNERS
   ============================ */
.partners {
    padding: 80px 0;
    background-color: var(--white);
}

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

.partner-card {
    background-color: var(--slate-50);
    padding: 24px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--blue-200);
}

.partner-card img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: var(--transition);
}

/* ============================
   CTA
   ============================ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.1), transparent);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   CONTACT
   ============================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--yellow-500);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: var(--yellow-500);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-social {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--blue-900);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--yellow-500);
    border-color: var(--yellow-500);
    color: var(--blue-900);
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--yellow-500);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--yellow-glow);
}

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

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

/* ============================
   MAP
   ============================ */
.map {
    height: 300px;
    background: var(--gray-100);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gray-400);
}

.map-placeholder i {
    font-size: 2rem;
}

.map-placeholder a {
    color: var(--blue-500);
    font-weight: 600;
}

.map-placeholder a:hover {
    color: var(--yellow-500);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--blue-950);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-about .logo-text {
    color: var(--white);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--yellow-500);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--white);
    font-size: 0.85rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--yellow-500);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--yellow-500);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--blue-900);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    background: var(--yellow-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

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

.footer-bottom i {
    color: var(--yellow-500);
}

/* ============================
   WHATSAPP FAB
   ============================ */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 100px;
    width: 44px;
    height: 44px;
    background: var(--blue-900);
    color: var(--yellow-500);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--yellow-500);
    color: var(--blue-900);
    transform: translateY(-4px);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(245, 197, 24, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes phoneScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Scroll Animation */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-visual {
        display: none;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

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

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

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

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

    /* Mobile Nav */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 100px 32px 32px;
        transition: var(--transition-slow);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        color: var(--gray-700) !important;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

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

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

    .testimonial-card {
        min-width: calc(100% - 24px);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

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

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

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

    .process-line {
        display: none;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .whatsapp-fab {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        right: 80px;
        bottom: 20px;
    }
}
