/* ============================================
   FAREJOAI - Design System & Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --bg-primary: #060a14;
    --bg-secondary: #0a0f1e;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.8);

    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-orange: #e67e22;
    --accent-orange-light: #f39c12;
    --accent-teal: #4fd1c5;
    --accent-teal-dark: #319795;
    --accent-purple: #a78bfa;

    --gradient-primary: linear-gradient(135deg, #e67e22, #f39c12, #e67e22);
    --gradient-hero: linear-gradient(135deg, #e67e22 0%, #f39c12 40%, #4fd1c5 100%);
    --gradient-teal: linear-gradient(135deg, #4fd1c5, #319795);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(79, 209, 197, 0.15);

    --glass-bg: rgba(10, 15, 30, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-orange: 0 0 30px rgba(230, 126, 34, 0.2);
    --shadow-glow-teal: 0 0 30px rgba(79, 209, 197, 0.15);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* 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;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

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

/* ---------- Typography Utilities ---------- */
.accent-orange { color: var(--accent-orange); }

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(230, 126, 34, 0.4), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: rgba(79, 209, 197, 0.05);
    transform: translateY(-2px);
}

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

.btn--xl {
    padding: 20px 44px;
    font-size: 1.15rem;
}

.btn--pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(230, 126, 34, 0.3); }
    50% { box-shadow: 0 0 50px rgba(230, 126, 34, 0.5), 0 0 80px rgba(230, 126, 34, 0.2); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.header--scrolled {
    padding: 10px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.header__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.header__nav {
    display: flex;
    gap: 32px;
}

.header__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.header__link:hover {
    color: var(--text-primary);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width var(--transition-base);
}

.header__link:hover::after {
    width: 100%;
}

.header__cta {
    font-size: 0.85rem;
    padding: 10px 22px;
}

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

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

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav__link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.mobile-nav__link:hover {
    color: var(--text-primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero__bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero__orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.15), transparent 70%);
    top: -200px;
    left: -200px;
    animation: float-orb 15s ease-in-out infinite;
}

.hero__orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.1), transparent 70%);
    bottom: -100px;
    right: -150px;
    animation: float-orb 18s ease-in-out infinite reverse;
}

.hero__orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08), transparent 70%);
    top: 40%;
    left: 50%;
    animation: float-orb 12s ease-in-out infinite 2s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 209, 197, 0.08);
    border: 1px solid rgba(79, 209, 197, 0.2);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-teal);
    margin-bottom: 24px;
    width: fit-content;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-teal);
    animation: dot-pulse 2s ease-in-out infinite;
}

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

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    animation: fade-in 1.5s ease 2s both;
}

.hero__scroll span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

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

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

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   CHAT MOCKUP
   ============================================ */
.chat-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(79, 209, 197, 0.05);
    max-width: 420px;
    margin-left: auto;
    backdrop-filter: blur(10px);
}

.chat-mockup__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.chat-mockup__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-teal);
}

.chat-mockup__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-mockup__name {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.chat-mockup__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--accent-teal);
}

.chat-mockup__status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.chat-mockup__messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.chat-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-msg--user {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-msg--bot {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-msg__bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.chat-msg--user .chat-msg__bubble {
    background: var(--accent-teal);
    color: #0a0f1e;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-msg--bot .chat-msg__bubble {
    background: rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 4px;
}

.chat-msg__time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

/* Typing indicator */
.chat-mockup__typing {
    display: none;
    gap: 4px;
    padding: 0 20px 12px;
    align-items: center;
}

.chat-mockup__typing.active {
    display: flex;
}

.chat-mockup__typing span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}
.chat-mockup__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-mockup__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-mockup__footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
}

.chat-mockup__metrics {
    display: flex;
    align-items: center;
}

.chat-mockup__metric {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.chat-mockup__metric-dot--green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

/* ============================================
   METRICS BAR
   ============================================ */
.metrics {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.metrics__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metrics__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metrics__prefix,
.metrics__suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metrics__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.metrics__divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions {
    padding: var(--section-padding) 0;
}

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

.solution-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.solution-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.solution-card__glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
    background: radial-gradient(circle at 50% 0%, rgba(79, 209, 197, 0.06), transparent 60%);
    pointer-events: none;
}

.solution-card:hover .solution-card__glow {
    opacity: 1;
}

.solution-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(79, 209, 197, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-teal);
    transition: all var(--transition-base);
}

.solution-card:hover .solution-card__icon {
    box-shadow: 0 0 20px rgba(79, 209, 197, 0.15);
    transform: scale(1.05);
}

.solution-card__icon--orange {
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent-orange);
}

.solution-card:hover .solution-card__icon--orange {
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.15);
}

.solution-card__icon--purple {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-purple);
}

.solution-card:hover .solution-card__icon--purple {
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.15);
}

.solution-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.solution-card__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    position: relative;
    padding-bottom: 48px;
}

.step__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
    width: 60px;
}

.step__line {
    position: absolute;
    left: 30px;
    top: 50px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-teal), transparent);
    opacity: 0.3;
}

.step__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SEGMENTS
   ============================================ */
.segments {
    padding: var(--section-padding) 0;
}

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

.segment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
}

.segment-card:hover {
    border-color: rgba(230, 126, 34, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.08);
}

.segment-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.segment-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.segment-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CLOUD SLOGAN
   ============================================ */
.cloud-slogan {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.cloud-slogan__clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
}

.cloud-slogan__cloud {
    position: absolute;
    color: var(--accent-teal);
}

.cloud-slogan__cloud--1 {
    width: 280px;
    top: 10%;
    left: -5%;
    animation: cloud-drift 25s linear infinite;
}

.cloud-slogan__cloud--2 {
    width: 200px;
    top: 55%;
    right: -5%;
    animation: cloud-drift 35s linear infinite reverse;
    opacity: 0.7;
}

.cloud-slogan__cloud--3 {
    width: 160px;
    top: 30%;
    left: 40%;
    animation: cloud-drift 40s linear infinite;
    opacity: 0.5;
}

@keyframes cloud-drift {
    0% { transform: translateX(-100px); }
    50% { transform: translateX(100px); }
    100% { transform: translateX(-100px); }
}

.cloud-slogan__inner {
    position: relative;
    z-index: 1;
}

.cloud-slogan__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.1), rgba(230, 126, 34, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    animation: float-gentle 6s ease-in-out infinite;
}

.cloud-slogan__domain {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.cloud-slogan__text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.cloud-slogan__sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   GUARANTEE
   ============================================ */
.guarantee {
    padding: 80px 0;
}

.guarantee__card {
    display: flex;
    gap: 32px;
    align-items: center;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.08), rgba(79, 209, 197, 0.02));
    border: 1px solid rgba(79, 209, 197, 0.15);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
}

.guarantee__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(79, 209, 197, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
}

.guarantee__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.guarantee__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   TEST AREA
   ============================================ */
.test-area {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.test-area__bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.test-area__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.test-area__orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(37, 211, 102, 0.08);
    top: -150px;
    left: -100px;
    animation: float-orb 15s ease-in-out infinite;
}

.test-area__orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(79, 209, 197, 0.06);
    bottom: -100px;
    right: -100px;
    animation: float-orb 18s ease-in-out infinite reverse;
}

.test-area__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.test-area__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.test-area__desc strong {
    color: var(--accent-teal);
    font-weight: 700;
}

.test-area__desc--highlight {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 32px;
}

.test-area__note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* WhatsApp Green Button */
.btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
    font-size: 1.1rem;
    animation: pulse-whatsapp 2.5s ease-in-out infinite;
}

.btn--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.5), 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #22c55e;
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 0 50px rgba(37, 211, 102, 0.5), 0 0 80px rgba(37, 211, 102, 0.15); }
}

/* Phone Mockup */
.test-area__phone {
    width: 320px;
    margin-left: auto;
    background: var(--bg-card);
    border-radius: 36px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(37, 211, 102, 0.08);
    position: relative;
}

.test-area__phone::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 36px;
    padding: 2px;
    background: linear-gradient(135deg, #25d366, var(--accent-teal), transparent, transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.test-area__phone-notch {
    width: 120px;
    height: 28px;
    background: var(--bg-primary);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
}

.test-area__phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.test-area__phone-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #25d366;
}

.test-area__phone-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-area__phone-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.test-area__phone-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #25d366;
}

.test-area__phone-status-dot {
    width: 6px;
    height: 6px;
    background: #25d366;
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.test-area__phone-body {
    padding: 20px 16px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-area__phone-msg {
    max-width: 90%;
}

.test-area__phone-msg--bot {
    align-self: flex-start;
}

.test-area__phone-msg p {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 14px 14px 14px 4px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.test-area__phone-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.test-area__phone-input span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.test-area__phone-input svg {
    color: #25d366;
    flex-shrink: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--section-padding) 0;
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-item.active {
    border-color: rgba(79, 209, 197, 0.3);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    transition: color var(--transition-base);
}

.faq-item__question:hover {
    color: var(--accent-teal);
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--accent-teal);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-item__answer {
    max-height: 200px;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--bg-secondary);
}

.final-cta__bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.final-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.final-cta__orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(230, 126, 34, 0.12);
    top: -150px;
    right: -100px;
    animation: float-orb 15s ease-in-out infinite;
}

.final-cta__orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(79, 209, 197, 0.08);
    bottom: -150px;
    left: -100px;
    animation: float-orb 18s ease-in-out infinite reverse;
}

.final-cta__inner {
    position: relative;
    z-index: 1;
}

.final-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.final-cta__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.final-cta__note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: rgba(79, 209, 197, 0.05);
}

.footer__links {
    display: flex;
    gap: 64px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer__link {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__link:hover {
    color: var(--text-primary);
}

.footer__link--static {
    cursor: default;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer__made {
    opacity: 0.7;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all var(--transition-base);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

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

.whatsapp-float__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* ============================================
   CHAT MOCKUP LINK
   ============================================ */
.chat-mockup-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.chat-mockup-link:hover .chat-mockup {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 211, 102, 0.12);
}

/* ============================================
   MOUSE GLOW SPOTLIGHT
   ============================================ */
.solution-card,
.segment-card,
.faq-item,
.chat-mockup {
    position: relative;
    overflow: hidden;
}

.solution-card::after,
.segment-card::after,
.faq-item::after,
.chat-mockup::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        350px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(79, 209, 197, 0.08),
        transparent 60%
    );
    pointer-events: none;
    z-index: 1;
}

.solution-card.glow-active::after,
.segment-card.glow-active::after,
.faq-item.glow-active::after,
.chat-mockup.glow-active::after {
    opacity: 1;
}

/* Glow border effect */
.solution-card.glow-active,
.segment-card.glow-active {
    border-color: rgba(79, 209, 197, 0.25);
    box-shadow: 0 0 30px rgba(79, 209, 197, 0.06);
}

/* Smooth tilt transition */
.solution-card,
.segment-card,
.chat-mockup {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform;
}

/* Test area phone clickable button effect */
.test-area__phone {
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.test-area__phone:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(37, 211, 102, 0.15);
    transform: translateY(-4px);
}

/* ============================================
   GENTLE FLOAT ANIMATION
   ============================================ */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.float-gentle {
    animation: float-gentle 5s ease-in-out infinite;
}

/* Pause float on hover (tilt takes over) */
.float-gentle:hover {
    animation-play-state: paused;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

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

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__ctas {
        justify-content: center;
    }

    .chat-mockup {
        margin: 0 auto;
    }

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

    .test-area__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .test-area__phone {
        margin: 0 auto;
    }

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }
}

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

    .header__nav,
    .header__cta {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .solutions__grid,
    .segments__grid {
        grid-template-columns: 1fr;
    }

    .metrics__grid {
        gap: 32px;
    }

    .metrics__divider {
        display: none;
    }

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

    .guarantee__card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .step {
        gap: 20px;
    }

    .step__number {
        font-size: 2rem;
        width: 45px;
    }

    .step__line {
        left: 22px;
    }

    .hero__scroll {
        display: none;
    }

    .hero__ctas {
        flex-direction: column;
        width: 100%;
    }

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

    .footer__links {
        gap: 40px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .footer__links {
        flex-direction: column;
        gap: 32px;
    }
}
