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

:root {
    /* Dark Neon Color Scheme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #141420;
    --bg-card: rgba(20, 20, 32, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --accent-primary: #7b2ff7;
    --accent-secondary: #00d9ff;
    --accent-tertiary: #ff00ff;
    --gradient-1: linear-gradient(135deg, #7b2ff7 0%, #00d9ff 100%);
    --gradient-2: linear-gradient(135deg, #ff00ff 0%, #7b2ff7 100%);
    --border-color: rgba(123, 47, 247, 0.3);
    --shadow-neon: 0 0 20px rgba(123, 47, 247, 0.5);
    --shadow-neon-hover: 0 0 30px rgba(123, 47, 247, 0.8);
}

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

/* Fluid Typography */
@media (min-width: 320px) {
    html {
        font-size: calc(16px + 6 * ((100vw - 320px) / 680));
    }
}

@media (min-width: 1000px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {

    .btn,
    .nav-link,
    .service-link,
    .captcha-refresh,
    .modal-close {
        min-height: 44px;
        min-width: 44px;
    }

    .review-card:hover,
    .feature-card:hover,
    .service-card:hover {
        transform: none;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(12px, 3.5vw, 40px);
    position: relative;
}

.reviews .container {
    overflow: visible;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: clamp(0.75rem, 2vw, 1rem) 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-icon {
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(123, 47, 247, 0.5));
}

.logo-link:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(123, 47, 247, 0.8));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', monospace;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-link:hover .logo-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

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

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

.burger-menu span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section - Unique Split Layout */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    animation: diagonalShift 15s ease-in-out infinite;
}

@keyframes diagonalShift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: translateX(-20px) translateY(20px);
        opacity: 1;
    }
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(123, 47, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 47, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3rem) 20px;
    min-height: 0;
    width: 100%;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 3vw, 3rem);
    width: 100%;
    align-items: center;
    min-height: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    flex: 1;
}

.hero-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: -0.5rem;
}

.hero-badge-vertical {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.hero-badge-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 47, 247, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.badge-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

.title-line-1,
.title-line-2,
.title-line-3 {
    display: block;
    font-size: clamp(1.75rem, 5vw + 1rem, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.title-line-3.highlighted-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    max-width: 500px;
}

.hero-description p {
    font-size: clamp(0.95rem, 2vw + 0.25rem, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon-small {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-note svg {
    color: #ffa500;
    flex-shrink: 0;
}

/* Hero Right - Visual Cards */
.hero-right {
    position: relative;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: clamp(1rem, 3vw, 2rem);
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    overflow: visible;
}

.visual-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 2rem);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    margin: 0;
    align-self: flex-start;
}

.visual-card-1:hover {
    transform: translateX(clamp(5px, 1vw, 10px));
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-neon);
}

.visual-card-2:hover {
    transform: translateX(calc(clamp(10px, 2vw, 20px) + clamp(5px, 1vw, 10px)));
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-neon);
}

.visual-card-3:hover {
    transform: translateX(calc(clamp(20px, 4vw, 40px) + clamp(5px, 1vw, 10px)));
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-neon);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(123, 47, 247, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.card-icon {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.visual-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.visual-card p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.visual-card-1 {
    align-self: flex-start;
    margin-left: 0;
    transform: translateX(0);
    animation: slideInRight 0.8s ease-out;
}

.visual-card-2 {
    align-self: flex-start;
    margin-left: clamp(10px, 2vw, 20px);
    transform: translateX(clamp(10px, 2vw, 20px));
    animation: slideInRight 1s ease-out;
}

.visual-card-3 {
    align-self: flex-start;
    margin-left: clamp(20px, 4vw, 40px);
    transform: translateX(clamp(20px, 4vw, 40px));
    animation: slideInRight 1.2s ease-out;
}

@media (max-width: 1024px) {

    .visual-card-1,
    .visual-card-2,
    .visual-card-3 {
        margin-left: 0;
        margin-right: 0;
        transform: none;
        align-self: stretch;
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    top: 10%;
    right: 10%;
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-secondary);
    bottom: 20%;
    right: 30%;
    opacity: 0.3;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-tertiary);
    top: 50%;
    right: 5%;
    opacity: 0.2;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    margin: 0;
}

.hero-bottom-bar .container {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 200px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: var(--shadow-neon);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    box-shadow: var(--shadow-neon);
}

.btn-block {
    width: 100%;
}

/* Section Styles */
section {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

.section-title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(0.95rem, 2vw + 0.25rem, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About / Features Section */
.about {
    background: var(--bg-secondary);
    position: relative;
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    margin-top: -1px;
    overflow: hidden;
}

.about .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
}

.about .features-grid {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 1.75rem);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0;
    width: 100%;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Card 1 - Top Left - Elevated with rotation */
.feature-card-1 {
    transform: translateY(-15px) rotate(-1deg);
    border-color: rgba(123, 47, 247, 0.4);
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.2);
    margin: 0;
}

.feature-card-1::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.1) 0%, transparent 70%);
    animation: rotateGlow 8s linear infinite;
    z-index: 0;
}

.feature-card-1:hover {
    transform: translateY(-20px) rotate(0deg) scale(1.03);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.5);
}

/* Card 2 - Top Right - Shifted right with different glow */
.feature-card-2 {
    transform: translateY(10px) translateX(15px) rotate(1deg);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    margin: 0;
}

.feature-card-2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -2px;
    right: -2px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
    animation: pulseGlow 2s ease-in-out infinite;
    z-index: 1;
}

.feature-card-2:hover {
    transform: translateY(5px) translateX(20px) rotate(0deg) scale(1.03);
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

/* Card 3 - Bottom Left - Shifted left */
.feature-card-3 {
    transform: translateY(15px) translateX(-15px) rotate(-0.5deg);
    border-color: rgba(255, 0, 255, 0.4);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
    margin: 0;
}

.feature-card-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card-3:hover {
    transform: translateY(10px) translateX(-20px) rotate(0deg) scale(1.03);
    border-color: var(--accent-tertiary);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.5);
}

.feature-card-3:hover::after {
    opacity: 1;
}

/* Card 4 - Bottom Right - Centered with bounce effect */
.feature-card-4 {
    transform: translateY(5px);
    border-color: rgba(123, 47, 247, 0.5);
    box-shadow: 0 8px 25px rgba(123, 47, 247, 0.25);
    animation: subtleBounce 3s ease-in-out infinite;
    margin: 0;
}

.feature-card-4::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.feature-card-4:hover {
    transform: translateY(0px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(123, 47, 247, 0.6);
    animation: none;
}

.feature-card-4:hover::after {
    width: 300px;
    height: 300px;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes subtleBounce {

    0%,
    100% {
        transform: translateY(5px);
    }

    50% {
        transform: translateY(8px);
    }
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.feature-card-1 .feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(123, 47, 247, 0.5));
}

.feature-card-2 .feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-secondary);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.feature-card-3 .feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-tertiary);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5));
}

.feature-card-4 .feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(123, 47, 247, 0.5));
}

.feature-card-1:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

.feature-card-2:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
}

.feature-card-3:hover .feature-icon {
    transform: rotate(-15deg) scale(1.1);
}

.feature-card-4:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
}

.feature-card h3 {
    font-size: clamp(1.25rem, 2.5vw + 0.25rem, 1.5rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card-2:hover h3 {
    color: var(--accent-secondary);
}

.feature-card-3:hover h3 {
    color: var(--accent-tertiary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1400px;
    margin: 0 auto;
}

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

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

.service-card-3 {
    grid-column: 3;
    grid-row: 1;
}

.service-card-4 {
    grid-column: 4;
    grid-row: 1;
}

/* Fix for 769px - 1400px range */
@media (min-width: 769px) and (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .service-card-4 {
        grid-column: 2;
        grid-row: 2;
    }
}

.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Card 1 - Top Left - Elevated */
.service-card-1 {
    transform: translateY(-10px) rotate(-0.5deg);
    border-color: rgba(123, 47, 247, 0.3);
}

.service-card-1:hover {
    transform: translateY(-15px) rotate(0deg) scale(1.03);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.5);
}

/* Card 2 - Top Middle - Centered */
.service-card-2 {
    transform: translateY(5px);
    border-color: rgba(255, 0, 255, 0.3);
}

.service-card-2:hover {
    transform: translateY(0px) scale(1.05);
    border-color: var(--accent-tertiary);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.5);
}

/* Card 3 - Top Right - Shifted with border */
.service-card-3 {
    transform: translateY(-5px) translateX(10px) rotate(0.5deg);
    border: 2px solid rgba(0, 217, 255, 0.4);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.2);
}

.service-card-3:hover {
    transform: translateY(-10px) translateX(15px) rotate(0deg) scale(1.03);
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.6);
}

/* Card 4 - Bottom Left - Shifted left */
.service-card-4 {
    transform: translateY(10px) translateX(-10px) rotate(-0.3deg);
    border-color: rgba(123, 47, 247, 0.4);
}

.service-card-4:hover {
    transform: translateY(5px) translateX(-15px) rotate(0deg) scale(1.03);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.5);
}

.service-image {
    width: 100%;
    height: clamp(160px, 20vw, 180px);
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: var(--bg-secondary);
}

.service-image img[src=""],
.service-image img:not([src]) {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
}

.service-card:hover .service-image img {
    transform: scale(1.15);
}

/* Service Badge - Gradient Header */
.service-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

.service-badge span {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.service-badge-1 {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
}

.service-badge-2 {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
}

.service-badge-3 {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
}

.service-badge-4 {
    background: linear-gradient(135deg, #a78bfa 0%, #3b82f6 100%);
}

.service-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    position: relative;
    z-index: 1;
}

.service-content h3 {
    font-size: clamp(1.1rem, 2vw + 0.25rem, 1.25rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.service-card-2:hover .service-content h3 {
    color: var(--accent-tertiary);
}

.service-card-3:hover .service-content h3 {
    color: var(--accent-secondary);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    line-height: 1.5;
    font-size: 0.9rem;
}

.service-link {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: width 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

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

.service-card-1 .service-link {
    color: var(--accent-primary);
}

.service-card-1 .service-link::after {
    background: var(--accent-primary);
}

.service-card-2 .service-link {
    color: var(--accent-tertiary);
}

.service-card-2 .service-link::after {
    background: var(--accent-tertiary);
}

.service-card-3 .service-link {
    color: var(--accent-secondary);
}

.service-card-4 .service-link {
    color: var(--accent-primary);
}

.service-card-4 .service-link::after {
    background: var(--accent-primary);
}

/* Reviews Section */
.reviews {
    background: var(--bg-secondary);
}

.reviews-swiper {
    padding: clamp(1.5rem, 3vw, 2rem) clamp(40px, 6vw, 60px) clamp(2rem, 3vw, 3rem);
    overflow: visible;
    position: relative;
    width: 100%;
}

.reviews .container {
    position: relative;
    overflow: visible;
    padding-left: 20px;
    padding-right: 20px;
}

.reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

.reviews-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    height: 100%;
}

.review-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.2) 0%, transparent 70%);
    border-radius: 0 20px 0 100px;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-neon);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    position: relative;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.3);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.review-card:hover .review-avatar img {
    transform: scale(1.1);
}

.review-avatar span {
    position: absolute;
    z-index: 1;
    font-size: 0.875rem;
}

.review-avatar:not(:has(img)) span {
    display: flex;
}

.review-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.review-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.review-rating {
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    color: #ffd700;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* Swiper Navigation Buttons */
.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -25px;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.reviews-swiper .swiper-button-next::after,
.reviews-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.reviews-swiper .swiper-button-next:hover,
.reviews-swiper .swiper-button-prev:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-neon);
    transform: scale(1.1);
}

.reviews-swiper .swiper-button-next {
    right: 0;
}

.reviews-swiper .swiper-button-prev {
    left: 0;
}

/* Swiper Pagination */
.reviews-swiper .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.reviews-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    opacity: 1;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.5);
}

/* Contacts Section */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.contact-item {
    display: flex;
    gap: clamp(1rem, 1.5vw, 1.25rem);
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    stroke-width: 2;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.error-message {
    display: block;
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    color: #00ff00;
    text-align: center;
}

/* Captcha Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.captcha-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.captcha-refresh:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: rotate(180deg);
    box-shadow: var(--shadow-neon);
}

.captcha-refresh svg {
    width: 20px;
    height: 20px;
}

#captcha {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
}

#captcha:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.1);
}

#captcha.error {
    border-color: #ff4444;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.footer-logo .logo-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(123, 47, 247, 0.5));
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', monospace;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-neon);
    z-index: 10000;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup-content p {
    color: var(--text-secondary);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    line-height: 1.6;
}

.cookie-popup-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.cookie-popup-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.btn-cookie {
    background: var(--gradient-1);
    color: var(--text-primary);
}

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

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

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-body h2 {
    color: var(--text-primary);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.modal-body p {
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

/* Policies Page Styles */
.policies-page {
    max-width: 100%;
}

.policies-page h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policies-page h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.policies-list {
    margin-bottom: 2rem;
}

.policies-list ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policies-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policies-list strong {
    color: var(--text-primary);
}

.policies-contacts {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(123, 47, 247, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.policies-contacts h3 {
    margin-top: 0;
    border-bottom: none;
}

.contact-info {
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--text-secondary);
}

.contact-info strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.contact-note {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design - Mobile First */

/* Extra Large Desktops */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
        padding: 0 clamp(20px, 3vw, 60px);
    }

    .hero-wrapper {
        gap: 4rem;
    }

    .services-grid {
        max-width: 1600px;
        gap: 2.5rem;
    }

    .features-grid {
        gap: 3rem;
    }
}

/* Large Tablets and Small Desktops */
@media (max-width: 1400px) and (min-width: 769px) {
    .container {
        max-width: 100%;
        padding: 0 clamp(20px, 4vw, 40px);
    }

    .hero-wrapper {
        gap: 3rem;
    }

    .hero-visual {
        padding: clamp(1.5rem, 3vw, 2rem);
    }

    .visual-card {
        max-width: min(85%, 320px);
        padding: clamp(1.5rem, 3vw, 2rem);
    }

    .visual-card-2 {
        margin-right: clamp(-8px, -1.5vw, -15px);
        transform: translateX(clamp(-8px, -1.5vw, -15px));
    }

    .visual-card-3 {
        margin-right: clamp(-15px, -3vw, -30px);
        transform: translateX(clamp(-15px, -3vw, -30px));
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }

    .service-card {
        min-height: auto;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    .reviews-swiper {
        padding: 2rem 70px 4rem;
    }

    .review-card {
        padding: 1.75rem;
    }

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

    .feature-card {
        padding: 1.75rem;
    }
}

/* Medium Tablets */
@media (max-width: 1200px) and (min-width: 769px) {
    .container {
        padding: 0 clamp(16px, 3.5vw, 32px);
    }

    .services-grid {
        gap: clamp(1rem, 2vw, 1.25rem);
    }

    .service-image {
        height: clamp(160px, 15vw, 180px);
    }

    .service-content {
        padding: clamp(1rem, 2vw, 1.25rem);
    }

    .hero-visual {
        padding: clamp(1rem, 2.5vw, 1.5rem);
    }

    .visual-card {
        padding: clamp(1.25rem, 2.5vw, 1.5rem);
    }
}

/* Small Tablets */
@media (max-width: 900px) and (min-width: 601px) {
    .container {
        padding: 0 clamp(16px, 4vw, 24px);
    }

    .hero-wrapper {
        gap: clamp(2rem, 4vw, 3rem);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 2.5vw, 1.5rem);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1.25rem, 3vw, 1.75rem);
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 3rem);
    }
}

/* Landscape orientation for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-container {
        padding: 2rem 0;
    }

    .hero-visual {
        flex-direction: row;
        overflow: visible;
        flex-wrap: wrap;
        justify-content: center;
    }

    .visual-card {
        min-width: 250px;
    }
}

/* Tablets and Large Phones */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        margin: 0;
    }

    .feature-card-1,
    .feature-card-2,
    .feature-card-3,
    .feature-card-4 {
        transform: none !important;
        margin: 0 !important;
    }

    .feature-card-1:hover,
    .feature-card-2:hover,
    .feature-card-3:hover,
    .feature-card-4:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        transition: left 0.3s ease;
        padding: 2rem 0;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 2rem;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
    }

    .burger-menu {
        display: flex;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 3rem);
        align-items: stretch;
    }

    .hero-right {
        min-height: auto;
        height: auto;
        max-height: none;
        order: -1;
    }

    .hero-left {
        order: 2;
    }

    .hero-visual {
        flex-direction: row;
        overflow: visible;
        padding: clamp(0.75rem, 2.5vw, 1.5rem);
        gap: clamp(0.75rem, 2.5vw, 1.25rem);
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }

    .visual-card {
        min-width: min(260px, 100%);
        max-width: min(300px, 100%);
        flex: 1 1 auto;
        margin-right: 0 !important;
        transform: none !important;
        padding: clamp(1rem, 2.5vw, 1.5rem);
    }

    .visual-card-1,
    .visual-card-2,
    .visual-card-3 {
        margin-right: 0;
        transform: none;
        align-self: stretch;
    }

    .title-line-1,
    .title-line-2,
    .title-line-3 {
        font-size: 2.5rem;
    }

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

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-diagonal {
        width: 100%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 0% 60%);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }

    .service-card-1,
    .service-card-2,
    .service-card-3,
    .service-card-4 {
        grid-column: auto;
        grid-row: auto;
    }

    .reviews-swiper {
        padding: 2rem 60px 4rem;
    }

    .modal-content {
        max-width: 90%;
        padding: 1.5rem;
    }

    .captcha-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .captcha-question {
        width: 100%;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .container {
        padding: 0 clamp(12px, 4vw, 24px);
    }

    section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }

    .section-header {
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2rem);
    }

    .section-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }

    .hero-wrapper {
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .title-line-1,
    .title-line-2,
    .title-line-3 {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }

    .hero-description p {
        font-size: clamp(0.95rem, 2.5vw, 1rem);
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-right {
        min-height: auto;
        height: auto;
        max-height: none;
    }

    .hero-visual {
        flex-direction: column;
        gap: clamp(0.75rem, 2.5vw, 1.25rem);
        padding: clamp(0.75rem, 2.5vw, 1.5rem);
        overflow: visible;
        height: auto;
        align-items: stretch;
    }

    .visual-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        min-width: auto;
        padding: clamp(1rem, 3vw, 1.5rem);
    }

    .visual-card-1,
    .visual-card-2,
    .visual-card-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        align-self: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat-number {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .stat-label {
        font-size: clamp(0.8rem, 2vw, 0.875rem);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
        padding: 0;
        margin: 0;
    }

    .feature-card {
        padding: clamp(1.25rem, 3vw, 1.5rem);
        margin: 0 !important;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    }

    .feature-card-1,
    .feature-card-2,
    .feature-card-3,
    .feature-card-4 {
        transform: none !important;
    }

    .feature-card-1:hover,
    .feature-card-2:hover,
    .feature-card-3:hover,
    .feature-card-4:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        max-width: 100%;
    }

    .service-card-1,
    .service-card-2,
    .service-card-3,
    .service-card-4 {
        grid-column: 1;
        grid-row: auto;
        transform: none !important;
    }

    .service-image {
        height: 200px;
    }

    .service-card-1:hover,
    .service-card-2:hover,
    .service-card-3:hover,
    .service-card-4:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .service-content {
        padding: 1.25rem;
    }

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

    .reviews-swiper {
        padding: clamp(1.5rem, 4vw, 2rem) clamp(40px, 8vw, 50px) clamp(2rem, 4vw, 3rem);
    }

    .reviews-swiper .swiper-button-next,
    .reviews-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .reviews-swiper .swiper-button-next::after,
    .reviews-swiper .swiper-button-prev::after {
        font-size: 16px;
    }

    .reviews-swiper .swiper-button-next {
        right: 0;
    }

    .reviews-swiper .swiper-button-prev {
        left: 0;
    }

    .review-card {
        padding: 1.5rem;
    }

    .review-avatar {
        width: 45px;
        height: 45px;
    }

    .review-info h4 {
        font-size: 1rem;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .contact-form-wrapper {
        padding: clamp(1.25rem, 3vw, 1.5rem);
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .captcha-container {
        flex-direction: column;
        padding: 0.875rem;
    }

    .captcha-question {
        font-size: 1.1rem;
        padding: 0.5rem;
    }

    .captcha-refresh {
        width: 36px;
        height: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column h3,
    .footer-column h4 {
        font-size: 1.1rem;
    }

    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 1.25rem;
    }

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

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

    .btn-cookie {
        width: 100%;
    }

    .hero-orb {
        display: none;
    }

    .modal-content {
        max-width: 95%;
        padding: 1.25rem;
        max-height: 90vh;
    }

    /* Improve touch targets */
    .swiper-button-next,
    .swiper-button-prev {
        min-width: 44px;
        min-height: 44px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Landscape orientation for phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-container {
        padding: 1.5rem 0;
    }

    .hero-visual {
        flex-direction: row;
        overflow: visible;
        padding: clamp(0.5rem, 1.5vw, 0.75rem);
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .visual-card {
        min-width: min(220px, 100%);
        max-width: min(280px, 100%);
        padding: clamp(0.875rem, 2vw, 1rem);
        margin-right: 0 !important;
        transform: none !important;
        flex: 1 1 auto;
    }

    .visual-card-1,
    .visual-card-2,
    .visual-card-3 {
        margin-right: 0;
        transform: none;
        align-self: stretch;
    }

    section {
        padding: 2rem 0;
    }

    .modal-body {
        font-size: 0.9rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }

    .modal-body h3 {
        font-size: 1.2rem;
    }

    .policies-contacts {
        padding: 1.5rem;
    }
}

/* Medium Phones */
@media (max-width: 600px) and (min-width: 481px) {
    .container {
        padding: 0 clamp(14px, 3.5vw, 18px);
    }

    .hero-visual {
        padding: clamp(0.5rem, 2vw, 1rem);
        gap: clamp(0.75rem, 2vw, 1rem);
    }

    .visual-card {
        padding: clamp(1rem, 2.5vw, 1.25rem);
    }

    .services-grid {
        gap: clamp(1rem, 2.5vw, 1.25rem);
    }

    .service-image {
        height: clamp(160px, 30vw, 180px);
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 clamp(12px, 3vw, 16px);
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-container {
        padding: 2rem 0;
    }

    .hero-number {
        font-size: 0.75rem;
    }

    .hero-badge-vertical {
        padding: 0.5rem 1rem;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .title-line-1,
    .title-line-2,
    .title-line-3 {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
        line-height: 1.2;
    }

    .hero-right {
        min-height: clamp(250px, 40vw, 280px);
    }

    .hero-visual {
        padding: clamp(0.5rem, 2.5vw, 1rem);
        gap: clamp(0.75rem, 2.5vw, 1rem);
    }

    .visual-card {
        padding: clamp(1rem, 3.5vw, 1.25rem);
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
    }

    .visual-card-1,
    .visual-card-2,
    .visual-card-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        align-self: stretch;
    }

    .visual-card h3 {
        font-size: clamp(0.95rem, 4vw, 1rem);
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .visual-card p {
        font-size: clamp(0.8rem, 3vw, 0.85rem);
        line-height: 1.5;
    }

    .card-icon {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
    }

    .section-header {
        margin-bottom: clamp(1.25rem, 3vw, 1.5rem);
    }

    section {
        padding: clamp(2rem, 5vw, 2.5rem) 0;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: clamp(1rem, 3vw, 1.25rem);
    }

    .service-card-1,
    .service-card-2,
    .service-card-3,
    .service-card-4 {
        grid-column: 1;
        grid-row: auto;
        transform: none !important;
    }

    .service-card-1:hover,
    .service-card-2:hover,
    .service-card-3:hover,
    .service-card-4:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .service-image {
        height: 150px;
    }

    .service-badge {
        height: 50px;
    }

    .service-badge span {
        font-size: 1rem;
    }

    .service-content {
        padding: 1rem;
    }

    .service-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .service-content p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

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

    .review-card {
        padding: clamp(1rem, 3vw, 1.25rem);
    }

    .review-header {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    .review-info h4 {
        font-size: 0.95rem;
    }

    .review-info p {
        font-size: 0.8rem;
    }

    .review-rating {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .review-text {
        font-size: 0.85rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

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

    .contact-item h4 {
        font-size: 0.95rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .contact-form-wrapper {
        padding: clamp(1rem, 3vw, 1.25rem);
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .captcha-container {
        padding: 0.75rem;
    }

    .captcha-question {
        font-size: 1rem;
        min-height: 35px;
    }

    .captcha-refresh {
        width: 32px;
        height: 32px;
    }

    .captcha-refresh svg {
        width: 18px;
        height: 18px;
    }

    #captcha {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-column {
        margin-bottom: 1.5rem;
    }

    .footer-column h3,
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-column p {
        font-size: 0.85rem;
    }

    .footer-column ul li {
        margin-bottom: 0.5rem;
    }

    .footer-column ul li a {
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 1rem;
        border-radius: 15px;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .modal-body {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .modal-body h2 {
        font-size: 1.3rem;
    }

    .modal-body h3 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.75rem;
    }

    .policies-contacts {
        padding: 1.25rem;
    }

    .policies-list ul {
        padding-left: 1.25rem;
    }

    .policies-list li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .contact-info p {
        font-size: 0.85rem;
    }

    .header {
        padding: 0.75rem 0;
    }

    .logo-link {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .footer-logo {
        gap: 0.5rem;
    }

    .footer-logo .logo-icon {
        width: 28px;
        height: 28px;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
    }

    .hero-bottom-bar {
        padding: 1rem 0;
    }

    .hero-stats {
        gap: 1rem;
    }
}

/* Very Small Phones */
@media (max-width: 360px) {
    .container {
        padding: 0 clamp(10px, 2.5vw, 12px);
    }

    .hero-container {
        padding: clamp(1.25rem, 3vw, 1.5rem) 0;
    }

    .hero-visual {
        padding: clamp(0.5rem, 2vw, 0.75rem);
        gap: clamp(0.5rem, 2vw, 0.75rem);
    }

    .visual-card {
        padding: clamp(0.875rem, 4vw, 1rem);
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
    }

    .visual-card-1,
    .visual-card-2,
    .visual-card-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        align-self: stretch;
    }

    .visual-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .visual-card p {
        font-size: 0.75rem;
    }

    .card-icon {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .title-line-1,
    .title-line-2,
    .title-line-3 {
        font-size: clamp(1.3rem, 8vw, 1.4rem);
        line-height: 1.2;
    }

    .section-title {
        font-size: clamp(1.3rem, 7vw, 1.4rem);
    }

    .section-subtitle {
        font-size: clamp(0.85rem, 3.5vw, 0.9rem);
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .hero-cta {
        gap: 0.5rem;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 0.875rem;
        max-width: 98%;
    }

    .reviews-swiper {
        padding: 2rem 35px 3rem;
    }

    .reviews-swiper .swiper-button-next,
    .reviews-swiper .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .reviews-swiper .swiper-button-next::after,
    .reviews-swiper .swiper-button-prev::after {
        font-size: 12px;
    }

    .service-content {
        padding: 0.875rem;
    }

    .service-content h3 {
        font-size: 0.95rem;
    }

    .service-content p {
        font-size: 0.8rem;
    }

    .features-grid {
        gap: 1rem;
        padding: 0;
        margin: 0;
    }

    .feature-card {
        padding: 1rem;
        margin: 0 !important;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .review-card {
        padding: 1rem;
    }

    .contact-form-wrapper {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .captcha-container {
        padding: 0.625rem;
    }

    .captcha-question {
        font-size: 0.95rem;
        min-height: 32px;
    }
}

/* Print styles */
@media print {

    .header,
    .footer,
    .cookie-popup,
    .modal-overlay,
    .hero-bottom-bar,
    .burger-menu,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}