/* ========================================
   VYRA BR - Main Stylesheet
   Theme: Nubank Purple + Black + White
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Nubank Purple Palette */
    --purple-50: #F5F0FF;
    --purple-100: #E9DEFF;
    --purple-200: #D4BFFF;
    --purple-300: #B794F6;
    --purple-400: #9F67FF;
    --purple-500: #8B5CF6;
    --purple-600: #7C3AED;
    --purple-700: #6D28D9;
    --purple-800: #5B21B6;
    --purple-900: #4C1D95;

    /* Nubank Specific */
    --nubank-purple: #820AD1;
    --nubank-purple-light: #9B30FF;
    --nubank-purple-dark: #5A0A91;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;
    --black: #0A0A0A;

    /* Semantic Colors */
    --primary: var(--nubank-purple);
    --primary-light: var(--nubank-purple-light);
    --primary-dark: var(--nubank-purple-dark);
    --background: var(--black);
    --background-secondary: var(--gray-900);
    --text-primary: var(--white);
    --text-secondary: var(--gray-400);
    --text-muted: var(--gray-500);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--nubank-purple) 0%, var(--purple-500) 100%);
    --gradient-glow: linear-gradient(135deg, var(--nubank-purple-light) 0%, var(--nubank-purple) 50%, var(--purple-600) 100%);
    --gradient-dark: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(130, 10, 209, 0.4);
    --shadow-glow-sm: 0 0 20px rgba(130, 10, 209, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

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

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

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

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

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

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

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

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

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-lg);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow-sm);
}

.logo-svg {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 8px rgba(130, 10, 209, 0.5));
    transition: var(--transition-base);
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 0 12px rgba(130, 10, 209, 0.8));
    transform: scale(1.05);
}

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

.logo-accent {
    color: var(--primary-light);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Header CTA */
.header-cta {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(130, 10, 209, 0.1);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn i {
    font-size: 1.1em;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(130, 10, 209, 0.25) 0%, transparent 60%);
}

.hero-grid {
    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(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(130, 10, 209, 0.3) 0%, transparent 60%);
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

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

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(130, 10, 209, 0.15);
    border: 1px solid rgba(130, 10, 209, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 500px;
}

.hero-card {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    max-width: 380px;
    width: 100%;
}

.chat-preview {
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.chat-header-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(130, 10, 209, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar-preview {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.chat-info-preview {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-name-preview {
    font-weight: 600;
    font-size: 1rem;
}

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

.status-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

.chat-messages-preview {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-preview {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    line-height: 1.5;
}

.message-preview.bot {
    background: rgba(130, 10, 209, 0.2);
    border: 1px solid rgba(130, 10, 209, 0.3);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message-preview.user {
    background: var(--gray-700);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Hero Floating Icons */
.hero-floating {
    position: relative;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-glow-sm);
    animation: float 3s ease-in-out infinite;
}

.hero-floating-1 {
    animation-delay: 0s;
}

.hero-floating-2 {
    animation-delay: 0.5s;
}

.hero-floating-3 {
    animation-delay: 1s;
}

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

/* Hero Scroll Indicator */
.hero-scroll {
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(130, 10, 209, 0.15);
    border: 1px solid rgba(130, 10, 209, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.gradient-text-light {
    background: linear-gradient(135deg, #fff 0%, var(--purple-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--gradient-dark);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(130, 10, 209, 0.3);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-featured {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, rgba(130, 10, 209, 0.15) 0%, rgba(130, 10, 209, 0.05) 100%);
    border-color: rgba(130, 10, 209, 0.3);
}

.service-card-featured::before {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-glow-sm);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary-light);
    font-size: 0.85rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(130, 10, 209, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
}

/* Services More Section */
.services-more {
    margin-top: 60px;
    text-align: center;
}

.services-more-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.services-tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.service-mini-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.service-mini-card:hover {
    background: rgba(130, 10, 209, 0.15);
    border-color: rgba(130, 10, 209, 0.3);
    color: var(--white);
    transform: translateY(-3px);
}

.service-mini-card i {
    color: var(--primary-light);
    font-size: 1rem;
}

/* ========================================
   VIVY CHAT SECTION
   ======================================== */
.vivy-section {
    background: var(--background);
    overflow: hidden;
}

.vivy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vivy-info {
    max-width: 500px;
}

.vivy-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.vivy-features {
    display: flex;
    gap: 24px;
}

.vivy-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(130, 10, 209, 0.1);
    border: 1px solid rgba(130, 10, 209, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

.vivy-feature i {
    color: var(--primary-light);
}

/* Vivy Chat Widget */
.vivy-chat {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    height: 500px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(130, 10, 209, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.avatar-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #22C55E;
    border-radius: 50%;
    border: 2px solid var(--gray-900);
}

.chat-info {
    flex: 1;
}

.chat-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

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

.typing-indicator {
    display: flex;
    gap: 3px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Chat Typing Indicator (dentro das mensagens, como no template) */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--gray-800);
    border-radius: 16px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    animation: messageIn 0.3s ease-out;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: chatTyping 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

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

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

/* Status dot no header */
.chat-status .status-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    display: inline-block;
}

.chat-menu {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 50%;
    transition: var(--transition-base);
}

.chat-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-message {
    max-width: 85%;
    animation: messageIn 0.3s ease;
}

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

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

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

.message-content {
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    line-height: 1.6;
}

.chat-message.bot .message-content {
    background: rgba(130, 10, 209, 0.2);
    border: 1px solid rgba(130, 10, 209, 0.3);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: var(--gray-700);
    border-bottom-right-radius: 4px;
}

.message-time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.chat-message.user .message-time {
    text-align: right;
}

/* Chat Input */
.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 4px 4px 4px 20px;
    transition: var(--transition-base);
}

.chat-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(130, 10, 209, 0.2);
}

.chat-emoji {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
    margin-left: -10px;
}

.chat-emoji:hover {
    color: var(--primary-light);
    background: rgba(130, 10, 209, 0.2);
}

.chat-emoji.active {
    color: var(--primary-light);
    background: rgba(130, 10, 209, 0.3);
}

.chat-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
}

.chat-input::placeholder {
    color: var(--text-muted);
}

/* Emoji Picker */
.emoji-picker {
    position: absolute;
    bottom: 80px;
    left: 20px;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    animation: fadeInUp 0.2s ease-out;
}

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

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.emoji-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.emoji-item:hover {
    background: rgba(130, 10, 209, 0.3);
    transform: scale(1.2);
}

.chat-mic {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.chat-mic:hover {
    color: var(--primary-light);
    background: rgba(130, 10, 209, 0.2);
}

.chat-mic.recording {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.2);
    animation: pulse-recording 1.5s ease-in-out infinite;
}

@keyframes pulse-recording {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.chat-send {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: var(--shadow-glow-sm);
    transition: var(--transition-base);
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Recording State */
.chat-recording {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(239, 68, 68, 0.1);
    border-top: 1px solid rgba(239, 68, 68, 0.3);
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: #EF4444;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.recording-text {
    font-weight: 500;
    color: #EF4444;
}

.recording-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.recording-actions {
    display: flex;
    gap: 12px;
}

.recording-cancel,
.recording-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-base);
}

.recording-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.recording-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.recording-send {
    background: var(--gradient-primary);
    color: var(--white);
}

.recording-send:hover {
    transform: scale(1.05);
}

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

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

.steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--purple-600));
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-base);
}

.step:hover .step-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(130, 10, 209, 0.3);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow-sm);
}

/* ========================================
   VYRAZAP SECTION
   ======================================== */
.vyrazap-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.vyrazap-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.vyrazap-content {
    max-width: 500px;
}

.vyrazap-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
}

.vyrazap-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

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

.vyrazap-feature i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.vyrazap-feature h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.vyrazap-feature p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.vyrazap-cta {
    padding: 18px 40px;
}

/* VyraZap Phone Visual */
.vyrazap-visual {
    display: flex;
    justify-content: center;
}

.vyrazap-phone {
    width: 300px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--black);
    border-radius: 20px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--gray-800);
    border-radius: 28px;
    overflow: hidden;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(130, 10, 209, 0.2);
}

.phone-back {
    color: var(--primary-light);
}

.phone-contact {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.phone-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.phone-actions {
    display: flex;
    gap: 16px;
    color: var(--primary-light);
}

.phone-messages {
    padding: 20px 16px;
    min-height: 200px;
}

.phone-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
}

.phone-message.received {
    background: rgba(130, 10, 209, 0.3);
    border-bottom-left-radius: 4px;
}

.phone-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: right;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-700);
    margin: 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.phone-input span {
    flex: 1;
}

/* ========================================
   IDEAS SECTION
   ======================================== */
.ideas-section {
    background: var(--background);
    position: relative;
}

.ideas-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ideas-content {
    max-width: 500px;
}

.ideas-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.ideas-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.ideas-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.ideas-list i {
    width: 32px;
    height: 32px;
    background: rgba(130, 10, 209, 0.15);
    border: 1px solid rgba(130, 10, 209, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 0.85rem;
}

.ideas-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.idea-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition-base);
}

.idea-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(130, 10, 209, 0.3);
    transform: translateY(-5px);
}

.idea-card:nth-child(2),
.idea-card:nth-child(4) {
    margin-top: 32px;
}

.idea-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-glow-sm);
}

.idea-card h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 8px;
}

.idea-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
    background: var(--gray-900);
}

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

.portfolio-item {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    transition: var(--transition-base);
    text-decoration: none;
}

.portfolio-item:hover {
    border-color: rgba(130, 10, 209, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.portfolio-item .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 1;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(130, 10, 209, 0.9) 0%, rgba(130, 10, 209, 0.3) 50%, transparent 100%);
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
    line-height: 1.4;
    display: none;
}

.portfolio-item:hover .portfolio-desc {
    display: block;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}

.portfolio-placeholder i {
    font-size: 2.5rem;
    color: var(--primary);
}

.portfolio-placeholder span {
    font-size: 0.9rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.portfolio-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Portfolio More - Mini Tags */
.portfolio-more {
    margin-top: 48px;
    text-align: center;
}

.portfolio-more-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.portfolio-mini-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.mini-tag:hover {
    background: rgba(130, 10, 209, 0.1);
    border-color: rgba(130, 10, 209, 0.3);
    color: var(--primary-light);
}

.mini-tag i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    background: var(--background);
}

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

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-base);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(130, 10, 209, 0.3);
    transform: translateY(-5px);
}

.team-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-glow-sm);
}

.team-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gradient-dark);
    padding: 100px 0;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-made {
    color: var(--primary-light);
}

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

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 340px;
    }

    .hero-floating {
        display: none;
    }

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

    .service-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .vivy-info {
        max-width: 100%;
        text-align: center;
    }

    .vivy-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .vyrazap-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .vyrazap-content {
        max-width: 100%;
    }

    .vyrazap-features {
        align-items: center;
    }

    .vyrazap-feature {
        text-align: left;
    }

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

    .ideas-content {
        max-width: 100%;
        text-align: center;
    }

    .ideas-list {
        display: inline-flex;
        flex-direction: column;
        text-align: left;
    }

    .ideas-visual {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-align: center;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

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

    .service-card-featured {
        grid-column: span 1;
    }

    .vivy-chat {
        height: 450px;
    }

    .vivy-features {
        flex-direction: column;
        align-items: center;
    }

    .steps::before {
        left: 28px;
    }

    .step {
        grid-template-columns: 56px 1fr;
        gap: 20px;
    }

    .step-number {
        font-size: 1.75rem;
    }

    .step-icon {
        display: none;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .ideas-visual {
        grid-template-columns: 1fr;
    }

    .idea-card:nth-child(2),
    .idea-card:nth-child(4) {
        margin-top: 0;
    }
}

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

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .service-card {
        padding: 24px;
    }

    .vyrazap-phone {
        width: 260px;
    }
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
