/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Apple Style Black & White */
    --color-primary: #000000;
    --color-primary-dark: #000000;
    --color-primary-light: #1d1d1f;
    --color-secondary: #6e6e73;
    --color-accent: #0071e3;
    --color-accent-orange: #f56300;
    --color-purple: #bf5af2;
    --color-blue: #0071e3;

    /* Gradient colors - Subtle grayscale */
    --gradient-color-zero: #f5f5f7;
    --gradient-color-one: #e8e8ed;
    --gradient-color-two: #d2d2d7;
    --gradient-color-three: #c5c5c7;

    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f7;
    --color-surface: #ffffff;

    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-text-tertiary: #86868b;

    --color-border: rgba(0, 0, 0, 0.08);

    /* Gradients - Apple style */
    --gradient-primary: linear-gradient(135deg, #1d1d1f 0%, #000000 100%);
    --gradient-secondary: linear-gradient(135deg, #6e6e73 0%, #1d1d1f 100%);
    --gradient-accent: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    --gradient-ai: linear-gradient(135deg, #1d1d1f 0%, #000000 50%, #1d1d1f 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1280px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.nav.scrolled {
    background: rgba(251, 251, 253, 0.88);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: none;
    gap: var(--spacing-lg);
}

/* Mobile menu styles */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(251, 251, 253, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        padding: var(--spacing-lg);
        flex-direction: column;
        gap: var(--spacing-md);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: var(--spacing-sm) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.nav-cta {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

/* Hide Login button on mobile to prevent overlap */
@media (max-width: 767px) {
    .nav-cta .btn-secondary {
        display: none;
    }
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    position: relative;
    width: 32px;
    height: 32px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 4px;
}

.nav-toggle span:nth-child(1) {
    top: 6px;
}

.nav-toggle span:nth-child(2) {
    top: 14px;
}

.nav-toggle span:nth-child(3) {
    top: 22px;
}

/* Animated hamburger to X */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

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

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

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: 980px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
    background: linear-gradient(180deg, #FFD700 0%, #FFC107 100%);
    color: #000000;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    display: inline-block;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 245, 247, 0.8) 0%, rgba(245, 245, 247, 0.3) 40%, transparent 70%);
    top: -300px;
    left: -200px;
    animation: float 15s ease-in-out infinite;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232, 232, 237, 0.7) 0%, rgba(232, 232, 237, 0.3) 40%, transparent 70%);
    top: -100px;
    right: -250px;
    animation: float 18s ease-in-out infinite;
    animation-delay: -8s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(210, 210, 215, 0.6) 0%, rgba(210, 210, 215, 0.3) 40%, transparent 70%);
    bottom: -200px;
    left: 30%;
    animation: float 20s ease-in-out infinite;
    animation-delay: -4s;
}

.orb-4 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(197, 197, 199, 0.5) 0%, rgba(197, 197, 199, 0.2) 40%, transparent 70%);
    top: 40%;
    right: 10%;
    animation: float 22s ease-in-out infinite;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    max-width: 600px;
    will-change: transform, opacity;
}

.hero-content > * {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-content .hero-badge {
    animation-delay: 0.1s;
}

.hero-content .hero-title {
    animation-delay: 0.2s;
}

.hero-content .hero-description {
    animation-delay: 0.3s;
}

.hero-content .hero-cta {
    animation-delay: 0.4s;
}

.hero-content .hero-stats {
    animation-delay: 0.5s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.0714285714;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.015em;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.05;
        letter-spacing: -0.009em;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
        letter-spacing: -0.005em;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #1d1d1f 0%, #000000 50%, #1d1d1f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shine 3s linear infinite;
}

@keyframes gradient-shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.47059;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.1875rem;
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xs);
}

.hero-visual {
    position: relative;
    will-change: transform, opacity;
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.video-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

/* ===================================
   LOGOS SECTION
   =================================== */

.logos {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-alt);
}

.logos-title {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-xl);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    font-weight: 600;
    color: var(--color-text-secondary);
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.0952380952;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.005em;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        line-height: 1.0714285714;
        letter-spacing: -0.003em;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: var(--spacing-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 91, 255, 0.3);
}

.feature-icon {
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    transition: all 0.3s ease;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===================================
   HOW IT WORKS SECTION - NEW TIMELINE DESIGN
   =================================== */

.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.steps-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 10%,
        rgba(0, 0, 0, 0.1) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
    display: none;
}

@media (min-width: 1024px) {
    .timeline-line {
        display: block;
    }
}

.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-xl);
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    .step-card {
        grid-template-columns: 1fr 1fr;
        padding: var(--spacing-2xl);
    }

    .step-card-reverse {
        direction: rtl;
    }

    .step-card-reverse > * {
        direction: ltr;
    }
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.step-number-badge {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

@media (min-width: 1024px) {
    .step-number-badge {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 72px;
        height: 72px;
        font-size: 1.5rem;
    }
}

.step-visual {
    position: relative;
    padding: var(--spacing-lg);
}

.step-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.step-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-image {
    transform: scale(1.05);
}

.step-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FFD700, #FFC107);
    opacity: 0;
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.step-card:hover .step-glow {
    opacity: 0.15;
    filter: blur(20px);
}

.step-content {
    padding: var(--spacing-lg);
}

.step-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

@media (min-width: 768px) {
    .step-title {
        font-size: 2rem;
    }
}

.step-description {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===================================
   INSTALLATION SECTION
   =================================== */

.installation {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg);
}

.code-block-wrapper {
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    background: #1d1d1f;
}

.code-block-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: #2d2d2f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.code-block-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.code-block-dots span:nth-child(1) {
    background: #FF5F57;
}

.code-block-dots span:nth-child(2) {
    background: #FFBD2E;
}

.code-block-dots span:nth-child(3) {
    background: #28CA42;
}

.code-block-title {
    flex: 1;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background: #28CA42;
    border-color: #28CA42;
}

.copy-icon {
    font-size: 1rem;
}

.code-block {
    padding: var(--spacing-lg);
    margin: 0;
    background: #1d1d1f;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #a8a8a8;
}

.code-highlight {
    color: #FFD700;
    font-weight: 600;
}

.installation-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .installation-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.install-step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.install-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.install-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
}

.install-step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.install-step-content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===================================
   DASHBOARD PREVIEW
   =================================== */

.dashboard-preview {
    padding: var(--spacing-3xl) 0;
}

.dashboard-mockup {
    max-width: 1200px;
    margin: 0 auto;
}

.mockup-browser {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.mockup-dots span:nth-child(1) {
    background: #FF5F57;
}

.mockup-dots span:nth-child(2) {
    background: #FFBD2E;
}

.mockup-dots span:nth-child(3) {
    background: #28CA42;
}

.mockup-url {
    flex: 1;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-align: center;
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   BENEFITS SECTION
   =================================== */

.benefits {
    padding: var(--spacing-3xl) 0;
    background: #000000;
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.benefit-icon {
    margin-bottom: var(--spacing-md);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    transition: all 0.3s ease;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.benefit-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    padding: var(--spacing-xl);
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

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

.pricing-featured {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: #000000;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    margin: 0 0.25rem;
}

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

.pricing-description {
    color: var(--color-text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--color-text-secondary);
}

/* ===================================
   DEMO SECTION
   =================================== */

.demo {
    padding: var(--spacing-3xl) 0;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.demo-iframe {
    width: 100%;
    height: 800px;
    border: none;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-alt);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-form {
    display: flex;
    gap: var(--spacing-md);
    max-width: 500px;
    margin: 0 auto var(--spacing-md);
}

@media (max-width: 640px) {
    .cta-form {
        flex-direction: column;
    }
}

.cta-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.cta-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    background: var(--color-text);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* ===================================
   ANIMATIONS - APPLE STYLE
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in {
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Initial state for animated elements */
.feature-card,
.step,
.benefit-item {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.animate-in,
.step.animate-in,
.benefit-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Pricing cards sempre visíveis */
.pricing-card {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        filter: blur(80px) brightness(1);
    }
    50% {
        opacity: 0.9;
        filter: blur(100px) brightness(1.3);
    }
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate-3d {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

/* Efeito de brilho AI nos cards */
.feature-card::before,
.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-ai);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.feature-card:hover::before,
.pricing-card:hover::before {
    opacity: 0.3;
}

/* Clean badge style - no animations */

/* Efeito de shimmer nos botões */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Stats counter - clean style */

/* Feature icons com rotação 3D ao hover */
.feature-icon {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    animation: rotate-3d 1s ease-in-out;
}

/* Pricing badge - clean style */
.pricing-badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===================================
   WHATSAPP FLOATING WIDGET
   =================================== */

.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5),
                0 12px 48px rgba(0, 0, 0, 0.2);
    background: #20BA55;
}

.whatsapp-widget:active {
    transform: scale(1.05);
}

.whatsapp-widget svg {
    color: white;
    z-index: 2;
    position: relative;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: whatsapp-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }

    .whatsapp-widget svg {
        width: 28px;
        height: 28px;
    }
}

/* ===================================
   VIDEO MODAL
   =================================== */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-video {
    width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.video-modal-close svg {
    width: 20px;
    height: 20px;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
    }

    .video-modal-close svg {
        width: 16px;
        height: 16px;
    }

    .modal-video {
        border-radius: 12px;
    }
}
