/* ========================================
   0xVertical - CSS Variables & Reset
   ======================================== */

:root {
    /* Colors */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-card: #1a1a1a;
    --color-bg-elevated: #1f1f1f;
    
    --color-purple-500: #8B5CF6;
    --color-purple-400: #A78BFA;
    --color-purple-600: #7C3AED;
    --color-purple-700: #6D28D9;
    
    --color-green: #00FF88;
    --color-green-glow: rgba(0, 255, 136, 0.3);
    
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #E5E7EB;
    --color-text-muted: #9CA3AF;
    --color-text-dim: #6B7280;
    
    --color-border: #333333;
    --color-border-light: #404040;
    
    /* Gradients */
    --gradient-purple: linear-gradient(135deg, var(--color-purple-600) 0%, var(--color-purple-400) 100%);
    --gradient-glow: linear-gradient(135deg, var(--color-purple-500) 0%, var(--color-green) 100%);
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    
    /* Typography */
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.4);
    --shadow-green-glow: 0 0 40px var(--color-green-glow);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

/* ========================================
   Binary Rain Background
   ======================================== */

.binary-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-purple-400);
    overflow: hidden;
}

/* ========================================
   Container & Utilities
   ======================================== */

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-purple-400);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--color-purple-500);
    border-radius: 4px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--color-text-primary);
    border: none;
}

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

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-purple-500);
}

.btn-outline:hover {
    background: var(--color-purple-500);
    transform: translateY(-2px);
}

.btn-glow {
    background: var(--color-green);
    color: var(--color-bg-primary);
    border: none;
    font-weight: 700;
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-green);
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

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

.btn-full {
    width: 100%;
}

/* ========================================
   Header / Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.header.scrolled .logo-img {
    height: 50px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 400px;
    transition: all var(--transition-base);
}

.nav-logo:hover .logo-img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

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

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    font-size: 15px;
}

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

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

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

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    cursor: pointer;
}

.hamburger {
    width: 28px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-green);
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--color-green);
    border-radius: 20px;
}

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

.title-line {
    display: block;
    color: var(--color-text-primary);
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--color-text-primary);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-purple-400);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Floating Card */
.hero-visual {
    position: relative;
}

.floating-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

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

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

.card-title {
    font-weight: 600;
    color: var(--color-text-primary);
}

.performance-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bar-item {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: 16px;
}

.bar-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.bar-track {
    height: 8px;
    background: var(--color-bg-elevated);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-glow);
    width: var(--percent);
    border-radius: 4px;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0; }
}

.bar-value {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-green);
    text-align: right;
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: var(--color-bg-secondary);
}

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

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

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

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

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--color-purple-500);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--color-purple-400);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.card-description {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-secondary);
    font-size: 15px;
}

.card-features li::before {
    content: '▸';
    color: var(--color-purple-400);
    font-size: 18px;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

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

/* ========================================
   Verticals Section
   ======================================== */

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

.vertical-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.vertical-card:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-purple-500);
    transform: translateY(-4px);
}

.vertical-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--color-purple-500);
    border-radius: 50%;
    color: var(--color-purple-400);
    transition: var(--transition-base);
}

.vertical-card:hover .vertical-icon {
    background: var(--color-purple-500);
    color: var(--color-text-primary);
    transform: scale(1.1);
}

.vertical-icon svg {
    width: 32px;
    height: 32px;
}

.vertical-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ========================================
   Traffic Sources Section
   ======================================== */

.traffic-sources {
    background: var(--color-bg-secondary);
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

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

.source-card:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-green);
    transform: translateY(-4px) scale(1.05);
}

.source-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--color-green);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-green);
    transition: var(--transition-base);
}

.source-card:hover .source-icon {
    background: var(--color-green);
    color: var(--color-bg-primary);
    transform: rotate(360deg);
}

.source-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ========================================
   Technology Section
   ======================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tech-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-purple-500);
    border-radius: 12px;
    padding: 32px;
    transition: all var(--transition-base);
}

.tech-card:hover {
    background: var(--color-bg-elevated);
    border-left-color: var(--color-green);
    transform: translateX(8px);
}

.tech-number {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--color-purple-400);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.tech-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.tech-description {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ========================================
   Partners Section
   ======================================== */

.partners {
    background: var(--color-bg-secondary);
}

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

.partners-description {
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.8;
    margin: 24px 0 32px;
}

.partners-visual {
    position: relative;
    height: 400px;
}

.network-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-purple-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nodeFloat 4s ease-in-out infinite;
}

.node::after {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--gradient-glow);
    border-radius: 50%;
}

.node-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-color: var(--color-green);
}

.node-2 { top: 10%; left: 10%; animation-delay: 0.5s; }
.node-3 { top: 10%; right: 10%; animation-delay: 1s; }
.node-4 { bottom: 10%; left: 10%; animation-delay: 1.5s; }
.node-5 { bottom: 10%; right: 10%; animation-delay: 2s; }

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

.connection-lines {
    position: absolute;
    inset: 0;
}

.connection-line {
    stroke: var(--color-purple-500);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    opacity: 0.5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: 1000; }
}

/* ========================================
   Contact Section
   ======================================== */

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

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

.info-card {
    display: flex;
    gap: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition-base);
}

.info-card:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-purple-500);
    transform: translateX(4px);
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--color-purple-500);
    border-radius: 10px;
    color: var(--color-purple-400);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content {
    flex: 1;
}

.info-title {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.info-text {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.info-text:hover {
    color: var(--color-purple-400);
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-purple-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

select.form-input {
    cursor: pointer;
}

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

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--color-green);
    color: var(--color-green);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    color: #EF4444;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
}

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

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

.footer-logo {
    max-width: 300px;
    margin-bottom: 20px;
    filter: brightness(0.9);
}

.footer-tagline {
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

.footer-title {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

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

.footer-list a {
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.footer-list a:hover {
    color: var(--color-purple-400);
    transform: translateX(4px);
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-purple-500);
    border-color: var(--color-purple-500);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.copyright,
.footer-location {
    font-size: 14px;
    color: var(--color-text-dim);
}

/* ========================================
   Animations & Effects
   ======================================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1023px) {
    .hero-container,
    .partners-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .header {
        padding: 16px 0;
    }
    
    .header.scrolled {
        padding: 12px 0;
    }
    
    .header.scrolled .logo-img {
        height: 40px;
    }
    
    .header-top {
        margin-bottom: 12px;
    }
    
    .logo-img {
        height: 55px;
        max-width: 280px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: var(--transition-base);
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 24px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid,
    .verticals-grid,
    .sources-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-visual {
        height: 300px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
