/* Red Rocket - Stylesheet */
/* Futuristic, Professional, Energetic */

:root {
    /* Primary Colors */
    --red-primary: #E31B23;
    --red-dark: #B71620;
    --red-light: #FF4D54;
    --red-glow: rgba(227, 27, 35, 0.4);

    /* Navy Blues */
    --navy-dark: #0A1628;
    --navy: #0F2442;
    --navy-light: #1A3A5C;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(227, 27, 35, 0.3);

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--navy-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px var(--red-glow);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--red-glow);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--navy-dark);
    border: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
    position: relative;
}

.logo img {
    height: 40px;
    transition: opacity 0.3s ease;
}

.logo .logo-light {
    opacity: 1;
}

.logo .logo-dark {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.navbar.scrolled .logo .logo-light {
    opacity: 0;
}

.navbar.scrolled .logo .logo-dark {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: var(--transition-fast);
}

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

.navbar.scrolled .nav-links a {
    color: var(--gray-700);
}

.nav-links a:hover {
    color: var(--red-primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 12px 0;
    min-width: 200px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--gray-700);
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--red-primary);
}

.dropdown-menu li a::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--navy-dark);
}

/* Hero Section */
/* Hero Wrapper - Continuous background for hero + clients */
.hero-wrapper {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 30%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero {
    padding: 180px 0 80px;
    background: transparent;
    position: relative;
}

/* Animated gradient background */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(227, 27, 35, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(26, 58, 92, 0.3) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Grid pattern overlay */
.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Particle container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 6px;
    background: var(--red-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleRise linear infinite;
}

/* Position particles to start from the clients section area */
.hero-wrapper .particle-container {
    top: 60%;
    bottom: auto;
    height: 40%;
}

@keyframes particleRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) scale(0.3);
        opacity: 0;
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content--centered {
    margin: 0 auto;
    text-align: center;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(227, 27, 35, 0.15);
    border: 1px solid rgba(227, 27, 35, 0.3);
    border-radius: var(--radius-full);
    color: var(--red-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 32px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(227, 27, 35, 0.2); }
}

.hero-badge svg {
    animation: lightningFlash 2s ease-in-out infinite;
}

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

.hero h1 {
    margin-bottom: 24px;
    color: var(--white);
}

.hero .highlight {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 4px;
}

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

.hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Phone Mockup - Futuristic */
.hero-demo {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 660px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 50px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Glow effect behind phone */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 500px;
    background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: phoneGlow 4s ease-in-out infinite;
}

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

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 32px;
    background: #0a0a14;
    border-radius: 20px;
    z-index: 10;
}

/* Camera dot in notch */
.phone-notch::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #1a1a2e;
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(227, 27, 35, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
}

/* Chat Demo - WhatsApp Style */
.chat-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #e5ddd5;
    background-image: 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='%23d4cbc4' fill-opacity='0.4'%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");
    position: relative;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 56px 16px 12px;
    background: #075e54;
    color: var(--white);
}

.chat-header-back {
    color: var(--white);
    opacity: 0.9;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.chat-avatar--epg {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.chat-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-header-actions {
    display: flex;
    gap: 16px;
    color: var(--white);
    opacity: 0.9;
}

.chat-messages {
    flex: 1;
    padding: 12px 16px;
    padding-bottom: 140px; /* Space for menu buttons */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 8px;
    animation: messageIn 0.3s ease;
    position: relative;
}

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

.chat-message.bot {
    background: var(--white);
    color: var(--gray-800);
    align-self: flex-start;
    border-top-left-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* WhatsApp tail for bot messages */
.chat-message.bot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid var(--white);
    border-left: 8px solid transparent;
}

.chat-message.user {
    background: #dcf8c6;
    color: var(--gray-800);
    align-self: flex-end;
    border-top-right-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* WhatsApp tail for user messages */
.chat-message.user::before {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #dcf8c6;
    border-right: 8px solid transparent;
}

.chat-message p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.chat-message-time {
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.45);
    text-align: right;
    margin-top: 2px;
}

/* Typing indicator */
.typing-indicator {
    padding: 8px 12px;
    background: var(--white);
    border-radius: 8px;
    border-top-left-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.typing-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid var(--white);
    border-left: 8px solid transparent;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    background: #9e9e9e;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

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

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

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

/* Chat buttons - WhatsApp quick reply menu style */
.chat-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ece5dd;
    border-top: 1px solid #d4cbc4;
}

.chat-btn {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #d4cbc4;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #075e54;
    cursor: pointer;
    transition: var(--transition-fast);
    animation: buttonIn 0.3s ease backwards;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-btn:nth-child(1) { animation-delay: 0s; }
.chat-btn:nth-child(2) { animation-delay: 0.1s; }
.chat-btn:nth-child(3) { animation-delay: 0.2s; }

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

.chat-btn:hover {
    background: #e8f5e9;
    border-color: #25d366;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

/* Demo Section */
.demo-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(227, 27, 35, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

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

.demo-content {
    position: relative;
    z-index: 1;
}

.demo-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.demo-content h2 {
    margin-bottom: 20px;
}

.demo-content > p {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Demo Quote */
.demo-quote {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 32px 0;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--red-primary);
}

.demo-quote-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.demo-quote-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-quote-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-quote blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

.demo-quote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .demo-quote {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.demo-features {
    list-style: none;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    font-size: 1.05rem;
    color: var(--gray-700);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

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

.demo-features svg {
    color: var(--red-primary);
    flex-shrink: 0;
}

.demo-phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.demo-try-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.demo-try-text::before,
.demo-try-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--gray-300);
}

.demo-try-text::before {
    right: calc(100% + 16px);
}

.demo-try-text::after {
    left: calc(100% + 16px);
}

.demo-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-normal);
}

.demo-reset-btn:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
    background: rgba(227, 27, 35, 0.05);
}

.demo-reset-btn svg {
    transition: var(--transition-normal);
}

.demo-reset-btn:hover svg {
    transform: rotate(-360deg);
}

/* AI Intelligence Section */
.ai-intelligence {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.ai-intelligence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(227, 27, 35, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(26, 58, 92, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

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

.ai-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(227, 27, 35, 0.2);
    color: var(--red-light);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.ai-intelligence-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.ai-intelligence-content > p {
    color: var(--gray-400);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ai-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(227, 27, 35, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    flex-shrink: 0;
}

.ai-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--white);
}

.ai-feature p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* AI Cycle Diagram - Circular Animation */
.ai-intelligence-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-cycle-container {
    position: relative;
    width: 340px;
    height: 340px;
}

.ai-cycle-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-cycle-progress {
    stroke-dasharray: 754;
    stroke-dashoffset: 754;
    animation: cycleProgress 8s linear infinite;
    transform: rotate(-90deg);
    transform-origin: center;
}

@keyframes cycleProgress {
    0% {
        stroke-dashoffset: 754;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.ai-cycle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.ai-cycle-center svg {
    color: var(--red-primary);
    margin-bottom: 8px;
    animation: rotateCenter 8s linear infinite;
}

@keyframes rotateCenter {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-cycle-center span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    line-height: 1.3;
}

.ai-cycle-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    min-width: 100px;
}

.ai-cycle-item:hover {
    background: rgba(227, 27, 35, 0.2);
    border-color: var(--red-primary);
    transform: scale(1.05);
    z-index: 10;
}

/* Position items around the circle */
.ai-cycle-item--1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.ai-cycle-item--1:hover {
    transform: translateX(-50%) scale(1.05);
}

.ai-cycle-item--2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}
.ai-cycle-item--2:hover {
    transform: translateY(-50%) scale(1.05);
}

.ai-cycle-item--3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.ai-cycle-item--3:hover {
    transform: translateX(-50%) scale(1.05);
}

.ai-cycle-item--4 {
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
}
.ai-cycle-item--4:hover {
    transform: translateY(-50%) scale(1.05);
}

.ai-cycle-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.ai-cycle-label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}


/* Animated dot traveling around the cycle */
.ai-cycle-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--red-light);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--red-primary), 0 0 40px var(--red-glow);
    animation: travelCycle 8s linear infinite;
    top: 50%;
    left: 50%;
}

@keyframes travelCycle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-120px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateY(-120px) rotate(-360deg);
    }
}

@media (max-width: 1024px) {
    .ai-intelligence-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .ai-cycle-container {
        width: 300px;
        height: 300px;
    }

    .ai-cycle-item {
        padding: 12px;
        min-width: 80px;
    }

    .ai-cycle-icon {
        width: 40px;
        height: 40px;
    }

    .ai-cycle-icon svg {
        width: 20px;
        height: 20px;
    }

    .ai-cycle-label {
        font-size: 0.75rem;
    }

    .ai-cycle-item--1 {
        top: -15px;
    }

    .ai-cycle-item--2 {
        right: -20px;
    }

    .ai-cycle-item--3 {
        bottom: -15px;
    }

    .ai-cycle-item--4 {
        left: -20px;
    }

    @keyframes travelCycle {
        0% {
            transform: translate(-50%, -50%) rotate(0deg) translateY(-100px) rotate(0deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(360deg) translateY(-100px) rotate(-360deg);
        }
    }
}

/* Clients Carousel Section */
.clients-section {
    padding: 40px 0 80px;
    background: transparent;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.clients-label {
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.clients-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges */
.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #0a1628 0%, transparent 100%);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(270deg, #0a1628 0%, transparent 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 150px;
    animation: scrollClients 60s linear infinite;
    width: max-content;
    padding: 20px 0;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    height: 225px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
}

/* Problem/Solution Section */
.problem-solution {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.problem-card,
.solution-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.problem-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.solution-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
}

/* Decorative gradient */
.solution-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    pointer-events: none;
}

.solution-card h3 {
    color: var(--white);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.problem-card .card-icon {
    background: var(--gray-200);
    color: var(--gray-600);
}

.solution-card .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--red-light);
    backdrop-filter: blur(10px);
}

.problem-card h3,
.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.problem-card p,
.solution-card p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.solution-card p {
    color: var(--gray-300);
    position: relative;
}

/* How it Works */
.how-it-works {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.section-header p {
    margin-top: 16px;
    font-size: 1.2rem;
    color: var(--gray-500);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

/* Connection line between steps */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-200) 0%, var(--red-primary) 50%, var(--gray-200) 100%);
    z-index: 0;
}

.step {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px var(--red-glow);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--red-primary);
    opacity: 0.3;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.benefit-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary) 0%, var(--red-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.benefit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

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

.benefit-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px var(--red-glow);
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Our Approach Section */
.our-approach {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.approach-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.approach-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.approach-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.approach-content h2 {
    margin-bottom: 20px;
}

.approach-content > p {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.approach-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.approach-step-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.approach-step h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--navy-dark);
}

.approach-step p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(227, 27, 35, 0.2);
    border: 4px solid var(--white);
    outline: 2px solid var(--red-primary);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--red-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.team-member p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* Niches Section */
.niches-preview {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

/* Tech grid overlay */
.niches-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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: 40px 40px;
    pointer-events: none;
}

.niches-preview .section-header h2 {
    color: var(--white);
}

.niches-preview .section-header p {
    color: var(--gray-400);
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.niche-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.niche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(227, 27, 35, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.niche-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.niche-card:hover {
    border-color: var(--red-primary);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.niche-icon {
    width: 88px;
    height: 88px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: var(--red-light);
    position: relative;
    transition: var(--transition-normal);
}

.niche-card:hover .niche-icon {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    box-shadow: 0 0 40px var(--red-glow);
}

.niche-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.35rem;
    position: relative;
}

.niche-card p {
    color: var(--gray-400);
    margin-bottom: 24px;
    position: relative;
}

.niche-link {
    color: var(--red-light);
    font-weight: 600;
    position: relative;
    transition: var(--transition-fast);
}

.niche-card:hover .niche-link {
    color: var(--white);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

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

.contact-person {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(227, 27, 35, 0.2);
    border: 3px solid var(--white);
    outline: 2px solid var(--red-primary);
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-person-info h2 {
    margin-bottom: 8px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.contact-content h2 {
    margin-bottom: 24px;
}

.contact-content > p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-benefits {
    list-style: none;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.contact-benefits svg {
    color: var(--red-primary);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 56px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
    position: relative;
}

/* Decorative corner */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--red-primary) 0%, transparent 60%);
    border-radius: 0 var(--radius-lg) 0 0;
    opacity: 0.1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.1);
}

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

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--gray-400);
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    transition: var(--transition-fast);
}

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

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

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

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

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

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

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

    .steps-grid::before {
        display: none;
    }

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 0;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
        transition: var(--transition-normal);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
        color: var(--gray-700);
    }

    .nav-links a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
    }

    .navbar .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

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

    .hero {
        padding: 140px 0 80px;
    }

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

    .stat {
        flex: 1;
        min-width: 100px;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .approach-image img {
        height: 300px;
    }

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

    .demo-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .demo-content {
        text-align: center;
    }

    .demo-features li {
        justify-content: center;
    }

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

    .contact-form-wrapper {
        padding: 40px 28px;
    }

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

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

@media (max-width: 480px) {
    .phone-mockup {
        width: 280px;
        height: 580px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .btn-large {
        width: 100%;
    }

    .problem-card,
    .solution-card {
        padding: 32px 24px;
    }

    .benefit-card {
        padding: 32px 24px;
    }

    .niche-card {
        padding: 36px 24px;
    }
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 16px 24px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sticky-cta-icon {
    width: 48px;
    height: 48px;
    background: var(--red-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-cta-icon svg {
    color: var(--white);
}

.sticky-cta-text h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.sticky-cta-text p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin: 0;
}

.sticky-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-calendar {
    background: var(--red-primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-calendar:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 27, 35, 0.4);
}

.btn-calendar svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .sticky-cta .container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .sticky-cta-content {
        flex-direction: column;
    }

    .sticky-cta-icon {
        display: none;
    }

    .sticky-cta-buttons {
        width: 100%;
    }

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

/* Form Header */
.form-header {
    margin-bottom: 32px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--gray-600);
    margin: 0;
}

.link-button {
    background: none;
    border: none;
    color: var(--red-primary);
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.link-button:hover {
    color: var(--red-dark);
}

/* Form Row */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Calendar Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-normal);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-close svg {
    color: var(--gray-600);
}

.modal-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--gray-600);
    margin: 0;
}

.modal-content {
    padding: 0;
    overflow: auto;
    max-height: calc(90vh - 120px);
}

.modal-content iframe {
    display: block;
}

@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
    }

    .modal-header {
        padding: 24px 24px 16px;
    }

    .modal-content {
        max-height: calc(95vh - 100px);
    }
}

/* Contact Clients Carousel (compact dark version) */
.contact-clients-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* Fade edges - light background version */
.contact-clients-carousel::before,
.contact-clients-carousel::after {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.contact-clients-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.contact-clients-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--white) 0%, transparent 100%);
}

.contact-clients-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scrollContactClients 20s linear infinite;
    width: max-content;
    padding: 12px 0;
}

@keyframes scrollContactClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.contact-client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-client-logo img {
    height: 100px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.contact-client-logo:hover img {
    opacity: 1;
}

/* Darker overlay for light-colored logos */
.contact-client-logo--dark img {
    filter: brightness(0.5);
    opacity: 0.9;
}

.contact-client-logo--dark:hover img {
    filter: brightness(0.7);
    opacity: 1;
}

/* Platform Carousel (How it works section) */
.platform-carousel-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.platform-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.platform-carousel::before,
.platform-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.platform-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.platform-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--white) 0%, transparent 100%);
}

.platform-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: scrollPlatforms 25s linear infinite;
    width: max-content;
    padding: 16px 0;
}

@keyframes scrollPlatforms {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.platform-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}

.platform-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .platform-carousel-wrapper {
        margin-top: 40px;
        padding-top: 30px;
    }

    .platform-carousel::before,
    .platform-carousel::after {
        width: 30px;
    }

    .platform-track {
        gap: 35px;
    }

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

/* Quick Form */
.quick-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.quick-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.quick-form input:focus {
    outline: none;
    border-color: var(--red-primary);
}

.quick-form .btn-full {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
    }

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

    .contact-clients-carousel {
        max-width: 100%;
    }

    .contact-clients-carousel::before,
    .contact-clients-carousel::after {
        width: 30px;
    }

    .contact-clients-track {
        gap: 30px;
    }

    .contact-client-logo img {
        height: 80px;
        max-width: 140px;
    }
}

/* ============================================
   ENHANCED RESPONSIVE STYLES
   ============================================ */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

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

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

    .demo-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .demo-phone-wrapper {
        order: -1;
    }

    .contact-grid {
        gap: 60px;
    }

    .contact-person {
        flex-direction: column;
        text-align: center;
    }

    .contact-photo {
        width: 160px;
        height: 160px;
    }

    .clients-track {
        gap: 80px;
    }

    .client-logo img {
        height: 150px !important;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 16px;
    }

    /* Navigation Mobile */
    .navbar {
        padding: 16px 0;
    }

    .navbar.scrolled {
        padding: 12px 0;
    }

    .logo img {
        height: 32px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 32px;
        gap: 0;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
        transition: var(--transition-normal);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

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

    .nav-links a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0 0 8px 16px;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        min-width: auto;
    }

    .dropdown-menu li a {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: none;
    }

    .navbar .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    /* Hero Mobile */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.7;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        margin-top: 32px;
        padding: 24px 0;
    }

    .stat {
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    /* Clients Carousel Mobile */
    .clients-section {
        padding: 30px 0 60px;
    }

    .clients-label {
        font-size: 0.8rem;
        margin-bottom: 24px;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 60px;
    }

    .clients-track {
        gap: 60px;
    }

    .client-logo img {
        height: 120px !important;
    }

    /* Problem/Solution Mobile */
    .problem-solution {
        padding: var(--section-padding) 0;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .problem-card,
    .solution-card {
        padding: 32px 24px;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    .problem-card h3,
    .solution-card h3 {
        font-size: 1.3rem;
    }

    /* How it Works Mobile */
    .how-it-works {
        padding: var(--section-padding) 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

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

    .steps-grid::before {
        display: none;
    }

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

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    /* Why Us Mobile */
    .why-us {
        padding: var(--section-padding) 0;
    }

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

    .benefit-card {
        padding: 28px 24px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
    }

    .benefit-card p {
        font-size: 0.95rem;
    }

    /* Niches Mobile */
    .niches-preview {
        padding: var(--section-padding) 0;
    }

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

    .niche-card {
        padding: 36px 28px;
    }

    .niche-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }

    .niche-card h3 {
        font-size: 1.2rem;
    }

    /* AI Intelligence Mobile */
    .ai-intelligence {
        padding: var(--section-padding) 0;
    }

    .ai-intelligence-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ai-intelligence-content h2 {
        font-size: 1.75rem;
    }

    .ai-intelligence-content > p {
        font-size: 1rem;
    }

    .ai-features {
        gap: 20px;
    }

    .ai-feature {
        gap: 16px;
    }

    .ai-feature-icon {
        width: 44px;
        height: 44px;
    }

    .ai-feature h4 {
        font-size: 1rem;
    }

    .ai-feature p {
        font-size: 0.9rem;
    }

    /* Demo Section Mobile */
    .demo-section {
        padding: var(--section-padding) 0;
    }

    .demo-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .demo-content {
        text-align: center;
    }

    .demo-label {
        font-size: 0.8rem;
    }

    .demo-content h2 {
        font-size: 1.75rem;
    }

    .demo-content > p {
        font-size: 1rem;
    }

    .demo-features {
        text-align: left;
    }

    .demo-features li {
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .demo-quote {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        margin: 24px 0;
    }

    .demo-quote-photo {
        width: 120px;
        height: 120px;
    }

    .demo-quote blockquote {
        font-size: 0.95rem;
    }

    .phone-mockup {
        width: 280px;
        height: 580px;
        border-radius: 40px;
    }

    .phone-screen {
        border-radius: 32px;
    }

    .phone-notch {
        width: 100px;
        height: 28px;
    }

    .demo-try-text {
        font-size: 0.85rem;
    }

    .demo-try-text::before,
    .demo-try-text::after {
        width: 30px;
    }

    /* Our Approach Mobile */
    .our-approach {
        padding: var(--section-padding) 0;
    }

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

    .approach-image {
        order: -1;
    }

    .approach-image img {
        height: 250px;
    }

    .approach-content h2 {
        font-size: 1.75rem;
    }

    .approach-content > p {
        font-size: 1rem;
    }

    .approach-steps {
        gap: 20px;
    }

    .approach-step {
        gap: 16px;
    }

    .approach-step-icon {
        width: 44px;
        height: 44px;
    }

    /* Team Mobile */
    .team-section {
        padding: var(--section-padding) 0;
    }

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

    .team-photo {
        width: 160px;
        height: 160px;
    }

    .team-member h3 {
        font-size: 1.3rem;
    }

    /* Contact Mobile */
    .contact {
        padding: var(--section-padding) 0;
    }

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

    .contact-person {
        flex-direction: column;
        text-align: center;
    }

    .contact-photo {
        width: 120px;
        height: 120px;
    }

    .contact-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .contact-content > p {
        font-size: 1rem;
        text-align: center;
    }

    .contact-benefits {
        max-width: 320px;
        margin: 0 auto;
    }

    .contact-benefits li {
        font-size: 0.9rem;
        padding: 10px 0;
        gap: 12px;
    }

    .contact-benefits svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* Contact Form Mobile - IMPORTANT */
    .contact-form-wrapper {
        padding: 24px 16px;
        border-radius: 16px;
        margin: 0 -4px; /* Slight negative margin for edge-to-edge feel */
    }

    .contact-form-wrapper::before {
        width: 50px;
        height: 50px;
    }

    .form-header {
        margin-bottom: 20px;
        text-align: center;
    }

    .form-header h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .form-header p {
        font-size: 0.85rem;
    }

    .link-button {
        font-size: 0.85rem;
    }

    .contact-form {
        gap: 14px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group {
        gap: 6px;
    }

    .form-group label {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-width: 1.5px;
        border-radius: 8px;
        background: var(--white);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-size: 0.9rem;
        color: var(--gray-400);
    }

    .form-group textarea {
        min-height: 90px;
        resize: none;
    }

    .contact-form .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        margin-top: 6px;
        border-radius: 8px;
    }

    .contact-clients-carousel {
        display: none; /* Hide on mobile for cleaner look */
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 32px;
    }

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

    .footer-logo {
        margin: 0 auto 16px;
    }

    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        padding-top: 24px;
    }

    .footer-legal {
        gap: 24px;
    }

    /* Sticky CTA Mobile */
    .sticky-cta {
        padding: 12px 16px;
    }

    .sticky-cta .container {
        flex-direction: column;
        gap: 12px;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 8px;
    }

    .sticky-cta-icon {
        display: none;
    }

    .sticky-cta-text h4 {
        font-size: 0.9rem;
    }

    .sticky-cta-text p {
        font-size: 0.8rem;
    }

    .btn-calendar {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

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

    .hero h1 {
        font-size: 1.75rem;
    }

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

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

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

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

    .btn-large {
        padding: 16px 28px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .problem-card,
    .solution-card {
        padding: 24px 20px;
    }

    .benefit-card {
        padding: 24px 20px;
    }

    .niche-card {
        padding: 28px 20px;
    }

    .phone-mockup {
        width: 260px;
        height: 540px;
    }

    .chat-header {
        padding: 48px 12px 10px;
    }

    .chat-messages {
        padding: 10px 12px;
        padding-bottom: 130px;
    }

    .chat-message p {
        font-size: 0.85rem;
    }

    .chat-buttons {
        padding: 10px 12px 14px;
    }

    .chat-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .demo-quote-photo {
        width: 100px;
        height: 100px;
    }

    /* Contact Form - Extra Small */
    .contact-grid {
        gap: 32px;
    }

    .contact-form-wrapper {
        padding: 20px 14px;
        border-radius: 12px;
    }

    .form-header {
        margin-bottom: 16px;
    }

    .form-header h3 {
        font-size: 1.1rem;
    }

    .form-header p {
        font-size: 0.8rem;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form .form-row {
        gap: 12px;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 16px;
        border-radius: 6px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .contact-form .btn {
        padding: 13px 18px;
        font-size: 0.9rem;
    }

    .contact-photo {
        width: 100px;
        height: 100px;
    }

    .contact-content h2 {
        font-size: 1.3rem;
    }

    .contact-benefits li {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .team-photo {
        width: 140px;
        height: 140px;
    }

    .ai-cycle-container {
        width: 280px;
        height: 280px;
    }

    .ai-cycle-item {
        padding: 10px;
        min-width: 70px;
    }

    .ai-cycle-icon {
        width: 36px;
        height: 36px;
    }

    .ai-cycle-label {
        font-size: 0.7rem;
    }

    .clients-track {
        gap: 40px;
    }

    .client-logo img {
        height: 80px !important;
    }
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        padding-top: 60px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .benefit-card:hover {
        transform: none;
    }

    .niche-card:hover {
        transform: none;
    }

    .chat-btn:hover {
        transform: none;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}
