/* ============================================================
   IT is my Game UG – Main Stylesheet v2.0  (WOW Edition)
   ============================================================ */

:root {
    --primary:    #FFBF42;
    --secondary:  #2AACCE;
    --accent:     #BEC396;
    --bg:         #f0f4f8;
    --bg2:        #e2e8f0;
    --text:       #1a202c;
    --muted:      #64748b;
    --card-bg:    #ffffff;
    --shadow:     0 4px 24px rgba(0,0,0,0.07);
    --shadow-lg:  0 16px 48px rgba(0,0,0,0.13);
    --shadow-glow: 0 0 40px rgba(42,172,206,0.25);
    --radius:     16px;
    --radius-lg:  24px;
    --transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
    --nav-h:      70px;
    --grad:       linear-gradient(135deg, #FFBF42 0%, #2AACCE 100%);
    --grad-r:     linear-gradient(135deg, #2AACCE 0%, #FFBF42 100%);
    --grad-dark:  linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

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

html { scroll-behavior:smooth; }

body {
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.65;
    padding-top: var(--nav-h);
    overflow-x: hidden;
}

/* Page transition */
body.page-exit { opacity: 0; transform: translateY(12px); transition: opacity 0.35s ease, transform 0.35s ease; }
body { transition: opacity 0.35s ease, transform 0.35s ease; }

img { max-width:100%; height:auto; display:block; }
a   { color:inherit; text-decoration:none; }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4 { line-height:1.2; font-weight:700; }

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

.gradient-text-animated {
    background: linear-gradient(270deg, #FFBF42, #2AACCE, #a855f7, #FFBF42);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 6s ease infinite;
}

@keyframes gradShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

section { padding: 5rem 0; }

/* ── Navigation (NO backdrop-filter = FAST) ──────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 900;
    display: flex;
    align-items: center;
    will-change: transform;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

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

.nav-links a {
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

/* Animated underline on nav links */
.nav-links > li:not(.nav-cta) > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: left 0.3s ease, right 0.3s ease;
}

.nav-links > li:not(.nav-cta) > a:hover::after,
.nav-links > li:not(.nav-cta) > a.active::after {
    left: 0.9rem; right: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links .nav-cta a {
    background: var(--grad);
    color: #fff;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
}

.nav-links .nav-cta a:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
}

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

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7rem;
    opacity: 0.6;
    position: static;
    background: none;
    height: auto;
    width: auto;
}

.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 0.5rem;
    z-index: 950;
    border: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* Invisible bridge so mouse can move from nav link → dropdown without it closing */
.nav-dropdown .dropdown-bridge {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 940;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.dropdown-menu a:hover {
    background: rgba(42,172,206,0.08);
    color: var(--secondary);
    transform: translateX(4px);
}

.dropdown-menu .dm-icon {
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
}

/* Lang switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.5rem;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-switch button.active,
.lang-switch button:hover {
    background: rgba(42,172,206,0.1);
    color: var(--secondary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Nav — NO backdrop-filter */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 890;
    padding: 0.75rem 1.25rem 1.5rem;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}

.mobile-nav.open { display: block; }

/* Section label in mobile nav */
.mobile-nav .mobile-nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.85rem 0 0.35rem;
    display: block;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    color: var(--text);
    transition: var(--transition);
    margin-bottom: 0.1rem;
}

.mobile-nav a:hover, .mobile-nav a:active {
    background: rgba(42,172,206,0.08);
    color: var(--secondary);
}

.mobile-nav .mobile-nav-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 0.5rem 0;
}

.mobile-nav .mobile-cta {
    display: block;
    margin-top: 0.75rem;
    background: var(--grad);
    color: #fff !important;
    text-align: center;
    border-radius: 50px;
    padding: 0.85rem !important;
    font-weight: 700 !important;
}

.mobile-nav .mobile-cta:hover {
    opacity: 0.9;
    background: var(--grad) !important;
    color: #fff !important;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.82rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.97rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 24px rgba(42,172,206,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(42,172,206,0.45);
    color: #fff;
}

/* Glow pulse on primary button */
.btn-primary.btn-glow {
    animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(42,172,206,0.35); }
    50%       { box-shadow: 0 8px 40px rgba(42,172,206,0.65), 0 0 0 8px rgba(42,172,206,0.1); }
}

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

.btn-outline:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(42,172,206,0.35);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

/* ── Scroll Animations ───────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] { transform: translateX(-40px); }
[data-animate="fade-left"].is-visible { transform: translateX(0); }

[data-animate="fade-right"] { transform: translateX(40px); }
[data-animate="fade-right"].is-visible { transform: translateX(0); }

[data-animate="scale"] { transform: scale(0.85); }
[data-animate="scale"].is-visible { transform: scale(1); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    will-change: transform;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Glassmorphism card variant */
.card--glass {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.card--glass:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(42,172,206,0.3);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.card:hover .card-icon,
.service-card:hover .card-icon { transform: scale(1.15) rotate(-5deg); }

/* ── Hero Section (Homepage) ─────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #0f2744 100%);
    padding: 6rem 0 5rem;
}

/* Animated gradient orbs / blobs */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}

.hero-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(42,172,206,0.7), transparent 70%);
    top: -150px; left: -100px;
    animation: blobFloat1 12s ease-in-out infinite;
}

.hero-blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,191,66,0.6), transparent 70%);
    bottom: -100px; right: -80px;
    animation: blobFloat2 14s ease-in-out infinite;
}

.hero-blob-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(168,85,247,0.4), transparent 70%);
    top: 40%; left: 50%;
    transform: translate(-50%,-50%);
    animation: blobFloat3 10s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%       { transform: translate(60px,-40px) scale(1.1); }
    66%       { transform: translate(-30px,60px) scale(0.95); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%       { transform: translate(-50px,30px) scale(1.08); }
    66%       { transform: translate(40px,-50px) scale(0.92); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(-50%,-50%) scale(1); }
    50%       { transform: translate(-50%,-55%) scale(1.2); }
}

/* Particle dots overlay */
.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: particleDrift 20s linear infinite;
}

@keyframes particleDrift {
    from { transform: translateY(0); }
    to   { transform: translateY(-48px); }
}

.hero-content { position: relative; z-index: 2; }

.hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero .hero-eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: blink 2s ease-in-out infinite;
}

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

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.1;
}

.hero h1 .highlight {
    background: linear-gradient(270deg, #FFBF42, #2AACCE, #a855f7, #FFBF42);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 6s ease infinite;
}

.hero .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    min-height: 2.5em;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Typewriter cursor */
.cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--primary);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: cursorBlink 1s step-end infinite;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 11px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 5px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ── Section Headers ─────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .label {
    display: inline-block;
    background: rgba(42,172,206,0.12);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(42,172,206,0.2);
}

.section-header h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ── Services Grid (Homepage) ─────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* Gradient shine on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42,172,206,0.04), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 24px 60px rgba(42,172,206,0.18);
    border-color: rgba(42,172,206,0.2);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text);
    position: relative;
}

.service-card p {
    color: var(--muted);
    font-size: 0.93rem;
    flex: 1;
    position: relative;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.service-card .card-link:hover { gap: 0.8rem; color: var(--primary); }

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f2744 100%);
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    letter-spacing: 0.03em;
}

/* ── Feature list ────────────────────────────────────────── */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.25rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.9;
}

.feature-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42,172,206,0.15), rgba(255,191,66,0.1));
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border: 1px solid rgba(42,172,206,0.2);
}

/* ── Two-column layout ──────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    position: relative;
}

/* Unique per-page hero backgrounds */
.two-col-img.webdev-bg {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}
.two-col-img.hosting-bg {
    background: linear-gradient(135deg, #0ea5e9 0%, #2AACCE 100%);
}
.two-col-img.cloud-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.two-col-img.backup-bg {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}
.two-col-img.onsite-bg {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Floating emoji animation in two-col-img */
.two-col-img .big-icon {
    animation: iconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-20px) rotate(2deg); }
}

/* ── Pricing Cards ───────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    will-change: transform;
}

/* Gradient border on featured card */
.pricing-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                var(--grad) border-box;
    box-shadow: 0 8px 40px rgba(42,172,206,0.2);
}

.pricing-card.featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(42,172,206,0.4);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(42,172,206,0.3);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.03em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--muted);
    color: var(--muted);
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.pricing-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

/* ── Contact Form ────────────────────────────────────────── */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item .ci-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(42,172,206,0.3);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.contact-info-item:hover .ci-icon { transform: scale(1.12) rotate(-5deg); }

.contact-info-item h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.97rem;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.contact-info-item a:hover { color: var(--secondary); }

.form-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.82rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(42,172,206,0.12);
}

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

.form-msg {
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: none;
}

.form-msg.success { background: #d1fae5; color: #065f46; display: block; }
.form-msg.error   { background: #fee2e2; color: #991b1b; display: block; }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
    color: #fff;
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Default hero bg */
.page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }

/* Per-service hero colors */
.page-hero.hero-webdev   { background: linear-gradient(135deg, #2d1b69 0%, #4c1d95 50%, #6d28d9 100%); }
.page-hero.hero-hosting  { background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%); }
.page-hero.hero-cloud    { background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 50%, #2563eb 100%); }
.page-hero.hero-backup   { background: linear-gradient(135deg, #831843 0%, #be185d 50%, #ec4899 100%); }
.page-hero.hero-onsite   { background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #10b981 100%); }

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

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero .hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: iconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.breadcrumb a { color: inherit; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span[aria-hidden="true"] { opacity: 0.5; }
.breadcrumb span:not([aria-hidden]) { opacity: 1; font-weight: 600; }

/* ── Offer Cards ("Was wir bieten") ──────────────────────── */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    text-align: center;
    padding: 2.25rem 1.75rem !important;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.offer-icon {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.offer-card:hover .offer-icon { transform: scale(1.25) rotate(-5deg); }

.offer-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.offer-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Tech Card Grid (webdev) ─────────────────────────────── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.tech-card {
    text-align: center;
    padding: 2rem 1.25rem;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    cursor: default;
}

.tech-card .tech-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.tech-card:hover .tech-icon { transform: scale(1.3) rotate(10deg); }
.tech-card:hover { transform: translateY(-10px) scale(1.03); }

/* ── Security Feature Grid (backup) ──────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.security-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}

.security-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(236,72,153,0.12);
    border-color: rgba(236,72,153,0.2);
}

.security-card .sc-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(244,63,94,0.08));
    border: 1px solid rgba(236,72,153,0.2);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.security-card:hover .sc-icon { transform: scale(1.15) rotate(-5deg); }

/* ── Process Timeline (vor-ort) ──────────────────────────── */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0;
    position: relative;
    margin: 0 -1rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
    display: none;
}

@media (min-width: 700px) {
    .process-timeline::before { display: block; }
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
}

.process-step:hover { transform: translateY(-6px); }

.step-number {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(42,172,206,0.35);
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.process-step:hover .step-number { transform: scale(1.15); }

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 200px;
    margin: 0 auto;
}

/* ── Badge ───────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-primary { background: rgba(42,172,206,0.12); color: var(--secondary); border: 1px solid rgba(42,172,206,0.2); }
.badge-accent  { background: rgba(255,191,66,0.15); color: #b8860b; border: 1px solid rgba(255,191,66,0.3); }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42,172,206,0.25), transparent 70%);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,191,66,0.2), transparent 70%);
}

.cta-banner h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn { position: relative; z-index: 1; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
    background: #0f172a;
    color: rgba(255,255,255,0.65);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 280px;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-col ul a::before {
    content: '›';
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.footer-col ul a:hover { color: var(--primary); }
.footer-col ul a:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--primary); }

/* ── Cookie Banner (NO backdrop-filter) ──────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    z-index: 990;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-top: 3px solid;
    border-image: var(--grad) 1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-text { flex: 1; min-width: 260px; font-size: 0.88rem; color: var(--muted); }
.cookie-text a { color: var(--secondary); text-decoration: underline; }

.cookie-btns { display: flex; gap: 0.75rem; }

.cookie-btn {
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookie-accept { background: var(--grad); color: #fff; }
.cookie-decline { background: var(--bg2); color: var(--text); }
.cookie-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

/* ── Alert / Flash ───────────────────────────────────────── */
.alert {
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.alert-success { background: #d1fae5; color: #065f46; }
.alert-error   { background: #fee2e2; color: #991b1b; }

/* ── Why Us Section ──────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

.why-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(42,172,206,0.12);
    border-color: rgba(42,172,206,0.15);
}

.why-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,191,66,0.15), rgba(42,172,206,0.1));
    border: 1px solid rgba(42,172,206,0.15);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.why-card:hover .why-icon { transform: scale(1.15) rotate(-8deg); }

.why-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.why-card p  { color: var(--muted); font-size: 0.9rem; }

/* ── Accessibility – Reduced Motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-animate] { opacity: 1; transform: none; }
    body { transition: none; }
}

/* ── No-JS fallback: show all animated elements ─────────── */
.no-js [data-animate] { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col { gap: 3rem; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .two-col { grid-template-columns: 1fr; }
    .two-col.reverse { direction: ltr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { min-height: auto; padding: 4.5rem 0 5rem; }
    .scroll-indicator { bottom: 1rem; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* Hamburger open state */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
    section { padding: 3rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-banner { padding: 1rem 1.25rem; }
    .cookie-btns { width: 100%; justify-content: center; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-btns .btn { text-align: center; justify-content: center; }
    .process-timeline { grid-template-columns: 1fr; }
    .hero-blob { opacity: 0.3; }
    .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .pricing-grid { grid-template-columns: 1fr; }
    .two-col { gap: 2rem; }
    .two-col-img { aspect-ratio: 16/9; font-size: 5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .stat-item h3 { font-size: 2.2rem; }
    .contact-wrap { gap: 2rem; }
    .form-card { padding: 1.5rem; }
    .page-hero { padding: 4rem 0 3.5rem; }
    .page-hero .hero-icon { font-size: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
}
