/* ===============================================
   IT Expert Group - Premium Design System
   =============================================== */

:root {
    /* Colors */
    --primary: #c62828;
    --primary-dark: #9a1f1f;
    --primary-light: #ef5350;
    --primary-glow: rgba(198, 40, 40, 0.4);
    
    --dark: #0a0a0f;
    --dark-100: #12121a;
    --dark-200: #1a1a24;
    --dark-300: #22222e;
    
    --light: #ffffff;
    --light-100: #f8f9fc;
    --light-200: #eef0f5;
    --light-300: #dde1e9;
    
    --text-primary: #1a1a2e;
    --text-secondary: #64648c;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-100) 100%);
    --gradient-glow: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    /* Typography */
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===============================================
   Base Styles
   =============================================== */

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

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===============================================
   Cursor Glow Effect
   =============================================== */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: var(--gradient-glow);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0.5;
    mix-blend-mode: screen;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .cursor-glow {
        display: none;
    }
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 44px;
    width: auto;
}

.nav-brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-accent {
    background: var(--primary) !important;
    color: var(--light) !important;
}

.nav-link-accent:hover {
    background: var(--primary-dark) !important;
    transform: scale(1.05);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 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;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 60% at 50% -20%, rgba(198, 40, 40, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(198, 40, 40, 0.1) 0%, transparent 60%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(198, 40, 40, 0.15);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(198, 40, 40, 0.1);
    bottom: 10%;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(239, 83, 80, 0.1);
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: rgba(198, 40, 40, 0.08);
    bottom: -50px;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -10px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }
    50% {
        box-shadow: 0 0 0 10px transparent;
    }
}

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

.title-line {
    display: block;
    color: var(--light);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.tagline-word {
    opacity: 0.9;
}

.tagline-separator {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: 0 4px 20px var(--primary-glow);
}

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

.btn-primary i {
    transition: transform var(--transition-fast);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1.2;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator:hover {
    color: var(--light);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    animation: bounce 2s ease-in-out infinite;
}

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

/* ===============================================
   Sections
   =============================================== */

.section {
    padding: var(--section-padding) 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.section-dark {
    background: var(--dark);
    color: var(--light);
}

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

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(198, 40, 40, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-header-light .section-label {
    background: rgba(198, 40, 40, 0.2);
    color: var(--primary-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

/* ===============================================
   About Section
   =============================================== */

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

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--light);
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

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

/* Visual Card */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 48px;
    background: var(--gradient-dark);
    border-radius: 24px;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    opacity: 0.5;
}

.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--light);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin-bottom: 24px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--light);
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-muted);
}

/* ===============================================
   Advantages Section
   =============================================== */

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

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    padding: 36px;
    background: var(--dark-200);
    border: 1px solid var(--dark-300);
    border-radius: 20px;
    transition: all var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.advantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card:hover {
    background: var(--dark-300);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-bottom: 20px;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--light);
}

.advantage-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

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

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

.service-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--light);
    border: 1px solid var(--light-300);
    border-radius: 20px;
    transition: all var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: var(--dark);
    color: var(--light);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-content p {
    color: var(--text-muted);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon i {
    color: var(--light);
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--light-200);
    border-radius: 16px;
    transition: all var(--transition-fast);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.service-arrow {
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.service-arrow i {
    font-size: 1.25rem;
    color: var(--primary);
}

.services-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===============================================
   Contacts Section
   =============================================== */

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--dark-200);
    border: 1px solid var(--dark-300);
    border-radius: 16px;
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateX(-20px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-card:hover {
    background: var(--dark-300);
    transform: translateX(8px);
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--light);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light);
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: var(--primary-light);
}

.contact-messengers {
    margin-top: 12px;
}

.messengers-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.messengers-buttons {
    display: flex;
    gap: 12px;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--light);
    transition: all var(--transition-fast);
}

.messenger-telegram {
    background: #0088cc;
}

.messenger-telegram:hover {
    background: #006699;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.messenger-whatsapp {
    background: #25D366;
}

.messenger-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Map */
.contact-map {
    height: 100%;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--dark-300);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(0.92) contrast(0.9);
}

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

.footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-300);
    padding: 40px 0 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 36px;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
}

.footer-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--light);
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.footer-shop-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--dark-200);
    border: 1px solid var(--dark-300);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===============================================
   Animations
   =============================================== */

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

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

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

/* ===============================================
   Responsive Adjustments
   =============================================== */

@media (max-width: 640px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .stat-number,
    .stat-plus {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 28px;
    }
    
    .btn-lg {
        padding: 16px 32px;
    }
}

/* ===============================================
   Subpage Styles (for service pages)
   =============================================== */

.subpage-hero {
    background: var(--gradient-primary);
    color: var(--light);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
}

.subpage-hero h1 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--light);
    margin: 0;
}

.article-content {
    padding: 48px;
    background: var(--light);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin: -30px auto 60px;
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.article-content .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    padding-left: 0;
    list-style: none;
}

.article-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.article-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.article-content ol li::before {
    display: none;
}

.article-content ol {
    counter-reset: item;
}

.article-content ol li {
    counter-increment: item;
}

.article-content ol li::before {
    content: counter(item);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: var(--light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
}

/* Project Page Styles */
.project-block {
    padding: 48px;
    background: var(--light);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin: -30px auto 60px;
    position: relative;
    z-index: 10;
}

.case-study {
    padding: 32px;
    background: var(--light-100);
    border: 1px solid var(--light-300);
    border-radius: 20px;
    height: 100%;
    transition: all var(--transition-fast);
}

.case-study:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-study h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--light-200);
}

.case-study .key-feature {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 12px;
}

.case-study ul {
    list-style: none;
    padding: 0;
}

.case-study li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.case-study li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}
