/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
    --primary:        #00AEEF;
    --primary-dark:   #0088cc;
    --accent:         #F47B20;
    --dark:           #0a0a0f;
    --darker:         #060609;
    --light:          #f0f2f5;
    --white:          #ffffff;
    --gray:           #e0e0e7;
    --gray-muted:     #8a8fa0;
    --gold:           #e6b96a;
    --glass-bg:       rgba(255,255,255,0.03);
    --glass-border:   rgba(255,255,255,0.07);
    --spring:         cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(ellipse at top, #112b45 0%, #0a1c30 45%, #06121f 100%);
    background-attachment: fixed;
    color: var(--white);
    overflow-x: hidden;
}

/* ==========================================
   PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #0e2540 0%, #06121f 70%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hide { opacity: 0; visibility: hidden; }

.preloader-anim {
    width: clamp(220px, 36vw, 420px);
    border-radius: 18px;
    opacity: 0;
    transform: scale(0.85);
    animation: preloaderAnimIn 1s 0.3s var(--spring) forwards;
    filter: drop-shadow(0 0 45px rgba(0,174,239,0.3));
}

@keyframes preloaderAnimIn { to { opacity: 1; transform: scale(1); } }

.preloader-quote {
    text-align: center;
    max-width: 600px;
    padding: 28px 30px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.9s 1s forwards;
}

.preloader-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.7rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.55;
    letter-spacing: 0.4px;
}

.preloader-quote .quote-author {
    margin-top: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.preloader-line {
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 36px;
    border-radius: 2px;
    animation: loadLine 3.2s 0.8s ease-in-out forwards;
}

.preloader-counter {
    margin-top: 16px;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    color: var(--gray-muted);
    letter-spacing: 2px;
}

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes loadLine { to { width: 65%; } }

/* ==========================================
   NOISE & AMBIENT GLOW
   ========================================== */
.noise {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9998;
    opacity: 0.03;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
}

.ambient-glow {
    position: fixed;
    top: 0; left: 0;
    width: 500px; height: 500px;
    margin-top: -250px; margin-left: -250px;
    background: radial-gradient(circle, rgba(0,174,239,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    will-change: transform;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9990;
    background: rgba(9, 22, 38, 0.75);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(0, 174, 239, 0.12);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.navbar-logo img {
    height: 50px;
    border-radius: 14px;
    padding: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,174,239,0.18);
    filter: drop-shadow(0 0 12px rgba(0,174,239,0.3));
    transition: transform 0.4s var(--spring), box-shadow 0.4s;
}

.navbar-logo:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,174,239,0.3);
}

.navbar-brand { display: flex; flex-direction: column; line-height: 1.1; }

.navbar-brand .brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(115deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--primary);
}

.navbar-brand .brand-sub {
    font-size: 0.6rem; font-weight: 500;
    letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--gray-muted); margin-top: 2px;
}

.navbar-links {
    display: flex; gap: 32px; list-style: none;
}

.navbar-links a {
    color: var(--gray); text-decoration: none;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    transition: color 0.3s; position: relative;
}

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

.navbar-links a:hover { color: var(--white); }
.navbar-links a:hover::after { width: 100%; }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none; cursor: pointer;
    padding: 6px;
    justify-content: center; align-items: center;
    z-index: 10001;
}

.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform 0.35s var(--spring), opacity 0.3s;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   HERO
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 50px; position: relative; overflow: hidden;
    padding: 110px 0 80px;
}

.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,174,239,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,174,239,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 2; padding: 0 24px;
    display: flex; flex-direction: column;
    align-items: center; gap: 20px;
}

.hero-logo {
    width: clamp(200px, 30vw, 380px);
    opacity: 0; transform: scale(0.8);
    animation: heroLogoIn 1.2s 3.8s var(--spring) forwards;
    filter: drop-shadow(0 0 40px rgba(0,174,239,0.25));
    border-radius: 16px;
}

@keyframes heroLogoIn { to { opacity: 1; transform: scale(1); } }

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.45rem);
    font-weight: 400; color: var(--gray);
    letter-spacing: 1.5px; line-height: 1.6;
    max-width: 600px;
    opacity: 0; transform: translateY(20px);
    animation: fadeInUp 1s 4.3s forwards;
}

.hero-tagline span { color: var(--primary); font-style: italic; }

.hero-cta {
    display: flex; gap: 16px; flex-wrap: wrap;
    justify-content: center; margin-top: 10px;
    opacity: 0; transform: translateY(20px);
    animation: fadeInUp 1s 4.6s forwards;
}

.hero-cta a {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 32px;
    border-radius: 50px; text-decoration: none;
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.35s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0,174,239,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 12px 32px rgba(0,174,239,0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    opacity: 0; animation: fadeInUp 1s 5s forwards;
}

.hero-scroll-indicator span {
    font-size: 0.68rem; color: var(--gray-muted);
    letter-spacing: 3px; text-transform: uppercase;
}

.scroll-line {
    width: 1px; height: 38px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s infinite;
}

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

/* ==========================================
   AUTO-SCROLL STRIP (in hero)
   ========================================== */
.hero-projects { width: 100%; z-index: 2; }

.projects-auto-wrapper {
    width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.projects-auto-track {
    display: flex; gap: 28px;
    width: max-content; padding: 16px 14px;
    animation: projectsScroll 60s linear infinite;
}

.projects-auto-track:hover { animation-play-state: paused; }

@keyframes projectsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================
   PROJECT CARD (shared: strip + grid)
   ========================================== */
.project-card {
    min-width: 320px; max-width: 320px;
    border-radius: 20px; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    transition: transform 0.5s var(--spring), box-shadow 0.5s, border-color 0.4s;
    position: relative; display: block;
    text-decoration: none; color: inherit;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,174,239,0.12);
    border-color: rgba(0,174,239,0.25);
}

.project-card-img {
    width: 100%; height: 230px;
    object-fit: cover; display: block;
    filter: grayscale(25%);
    transition: filter 0.5s, transform 0.5s;
}

.project-card:hover .project-card-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.project-card-img-wrap { overflow: hidden; position: relative; }

.project-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.88) 0%, transparent 55%);
    pointer-events: none;
}

.project-card-info { padding: 22px; }

.project-card-category {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 7px;
}

.project-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700; margin-bottom: 7px;
}

.project-card-desc {
    font-size: 0.82rem; color: var(--gray); line-height: 1.55;
}

.project-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px; color: var(--primary);
    text-decoration: none; font-size: 0.78rem;
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    transition: gap 0.3s;
}

.project-card-link svg {
    width: 15px; height: 15px; fill: none;
    stroke: var(--primary); stroke-width: 2;
}

.project-card:hover .project-card-link { gap: 11px; }

/* grid variant overrides */
.project-card.grid-card {
    min-width: unset; max-width: unset;
    width: 100%;
}

/* ==========================================
   MARQUEE
   ========================================== */
.marquee-section {
    padding: 28px 0; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,174,239,0.03);
}

.marquee-track {
    display: flex; width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-track h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem; font-weight: 300;
    letter-spacing: 6px; text-transform: uppercase;
    white-space: nowrap; padding-right: 60px; color: var(--gray);
}

.marquee-track h2 strong { color: var(--primary); font-weight: 700; }

@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ==========================================
   SECTION COMMONS
   ========================================== */
.section-header {
    text-align: center; margin-bottom: 60px; padding: 0 24px;
}

.section-label {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 14px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700; line-height: 1.2;
}

.section-title em { font-style: italic; color: var(--accent); }
.section-sub { color: var(--gray-muted); font-size: 1rem; margin-top: 14px; line-height: 1.7; }

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding: 90px 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(0,0,0,0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px; margin: 0 auto;
}

.stat-item {
    text-align: center; padding: 32px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: border-color 0.4s, transform 0.4s var(--spring);
}

.stat-item:hover {
    border-color: rgba(0,174,239,0.3);
    transform: translateY(-4px);
}

.stat-number-wrap {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700; line-height: 1;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex; justify-content: center; align-items: baseline;
    gap: 2px; margin-bottom: 14px;
}

.stat-suffix {
    font-size: 0.55em;
    background: linear-gradient(135deg, var(--white), var(--primary));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.78rem; color: var(--gray-muted);
    letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}

/* ==========================================
   SERVICES / HİZMETLER
   ========================================== */
.services-section { padding: 120px 0; position: relative; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px; margin: 0 auto;
    padding: 0 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px; padding: 38px 32px;
    transition: transform 0.45s var(--spring), border-color 0.4s, box-shadow 0.4s, background 0.4s;
    position: relative; overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.45s var(--spring);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,174,239,0.28);
    box-shadow: 0 20px 55px rgba(0,174,239,0.1);
    background: rgba(0,174,239,0.04);
}

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

.service-icon {
    width: 52px; height: 52px;
    background: rgba(0,174,239,0.12);
    border: 1px solid rgba(0,174,239,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s, transform 0.3s var(--spring);
}

.service-card:hover .service-icon {
    background: rgba(0,174,239,0.2);
    transform: scale(1.08);
}

.service-icon svg {
    width: 26px; height: 26px;
    stroke: var(--primary); fill: none; stroke-width: 1.8;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 12px; line-height: 1.3;
}

.service-desc {
    font-size: 0.88rem; color: var(--gray-muted);
    line-height: 1.7;
}

/* ==========================================
   PROJECTS GRID SECTION
   ========================================== */
.projects-grid-section { padding: 120px 0; position: relative; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
    max-width: 1200px; margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================
   PRICING — PLAYING CARDS
   ========================================== */
.pricing-section { padding: 120px 0 180px; position: relative; }

.pricing-sub { margin-top: 14px; color: var(--gray-muted); font-size: 0.95rem; }

.cards-table {
    position: relative;
    display: flex; justify-content: center; align-items: flex-end;
    min-height: 560px; margin-top: 30px; padding: 0 20px;
}

.cards-table::before {
    content: '';
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: min(840px, 92%); height: 240px;
    background: radial-gradient(ellipse at center, rgba(0,174,239,0.1), transparent 70%);
    filter: blur(22px); z-index: 0; pointer-events: none;
}

.poker-hand {
    position: relative; display: flex;
    justify-content: center; align-items: flex-end;
    perspective: 1500px; z-index: 1;
}

.poker-card {
    position: relative;
    width: 232px; height: 360px;
    background: linear-gradient(165deg, #ffffff 0%, #f3efe4 100%);
    border-radius: 18px; border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 14px 38px rgba(0,0,0,0.5);
    color: #1a1d29; margin: 0 -58px; padding: 16px;
    transform-origin: bottom center;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
    cursor: pointer; display: flex; flex-direction: column;
}

.poker-card:nth-child(1) { transform: rotate(-16deg) translateY(40px); z-index: 1; }
.poker-card:nth-child(2) { transform: rotate(-5deg)  translateY(6px);  z-index: 2; }
.poker-card:nth-child(3) { transform: rotate(5deg)   translateY(6px);  z-index: 3; }
.poker-card:nth-child(4) { transform: rotate(16deg)  translateY(40px); z-index: 4; }

.poker-card:hover {
    transform: translateY(-155px) rotate(0deg) scale(1.14);
    z-index: 60;
    box-shadow: 0 50px 95px rgba(0,0,0,0.6), 0 0 55px rgba(0,174,239,0.32);
}

.poker-card .suit { position: absolute; font-size: 1.5rem; line-height: 1; font-weight: 700; }
.poker-card .suit.tl { top: 14px; left: 16px; }
.poker-card .suit.br { bottom: 14px; right: 16px; transform: rotate(180deg); }
.poker-card.red .suit   { color: #d4213d; }
.poker-card.black .suit { color: #15171f; }

.card-body { margin: auto 0; text-align: center; padding: 0 4px; }

.plan-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700;
    margin-bottom: 6px; letter-spacing: 0.5px;
}

.plan-popular {
    display: inline-block; font-size: 0.6rem;
    font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}

.plan-price {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem; font-weight: 700;
    color: #0a66a8; margin-bottom: 16px;
}

.plan-price small {
    font-size: 0.76rem; color: #6b7280;
    font-family: 'Outfit', sans-serif; font-weight: 500;
}

.plan-features {
    list-style: none; text-align: left;
    margin: 0 auto 16px; display: inline-block;
}

.plan-features li {
    font-size: 0.75rem; color: #2b3040;
    margin-bottom: 8px; padding-left: 18px;
    position: relative; line-height: 1.35;
}

.plan-features li::before { content: '✦'; position: absolute; left: 0; color: var(--primary); }

.plan-cta {
    display: inline-block; padding: 9px 24px;
    border-radius: 50px; border: none;
    font-family: 'Outfit', sans-serif; cursor: pointer;
    background: linear-gradient(135deg, var(--primary), #0a66a8);
    color: #fff; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
    pointer-events: none;
}

.poker-card:hover .plan-cta {
    opacity: 1; transform: translateY(0); pointer-events: auto;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section { padding: 120px 0; position: relative; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1100px; margin: 60px auto 0;
    padding: 0 30px; align-items: start;
}

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

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px; padding: 24px 26px;
    display: flex; align-items: flex-start; gap: 18px;
    transition: border-color 0.35s, transform 0.4s var(--spring);
}

.contact-card:hover {
    border-color: rgba(0,174,239,0.28);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    background: rgba(0,174,239,0.1);
    border: 1px solid rgba(0,174,239,0.18);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}

.contact-card-icon svg {
    width: 22px; height: 22px;
    stroke: var(--primary); fill: none; stroke-width: 1.8;
}

.contact-card-label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 5px;
}

.contact-card-value {
    font-size: 0.92rem; color: var(--gray); line-height: 1.5;
}

.contact-card-value a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.contact-card-value a:hover { color: var(--primary); }

.contact-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px; padding: 44px 40px;
}

.contact-form-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 6px;
}

.contact-form-card p {
    color: var(--gray-muted); font-size: 0.9rem;
    margin-bottom: 28px; line-height: 1.6;
}

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

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.form-group label {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.5px; color: var(--gray-muted); text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 13px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem; color: var(--white); outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-muted); }

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,174,239,0.12);
    background: rgba(0,174,239,0.05);
}

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

.form-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

.form-btn {
    flex: 1; min-width: 140px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 24px; border: none; border-radius: 12px;
    font-family: 'Outfit', sans-serif; font-size: 0.84rem;
    font-weight: 700; letter-spacing: 0.5px;
    cursor: pointer; text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.form-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.form-btn:hover { transform: translateY(-2px); }

.form-btn.wa {
    background: #25D366; color: #fff;
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

.form-btn.mail {
    background: linear-gradient(135deg, var(--primary), #0a66a8); color: #fff;
    box-shadow: 0 8px 20px rgba(0,174,239,0.25);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 70px 50px 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 50px; padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 36px;
}

.footer-brand-logo {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 18px; text-decoration: none;
}

.footer-brand-logo img { height: 44px; border-radius: 12px; }

.footer-brand-name {
    font-family: 'Outfit', sans-serif; font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(115deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 0.88rem; color: var(--gray-muted);
    line-height: 1.75; max-width: 280px; margin-bottom: 24px;
}

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

.social-link {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--gray-muted);
    transition: all 0.3s;
}

.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h4 {
    font-family: 'Outfit', sans-serif; font-size: 0.72rem;
    font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.88rem; color: var(--gray-muted); text-decoration: none;
    transition: color 0.3s; display: flex; align-items: center; gap: 6px;
}

.footer-links a:hover { color: var(--white); }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 1rem; }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    width: 16px; height: 16px; flex-shrink: 0;
    stroke: var(--primary); fill: none; stroke-width: 1.8;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 0.86rem; color: var(--gray-muted); line-height: 1.5;
}

.footer-contact-item a { color: var(--gray-muted); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: var(--gray-muted); letter-spacing: 0.5px; }
.footer-copy a { color: var(--primary); text-decoration: none; }

.footer-made {
    font-size: 0.75rem; color: var(--gray-muted);
    display: flex; align-items: center; gap: 6px;
}

.footer-made span { color: #ff6b6b; }

/* ==========================================
   QUOTE MODAL
   ========================================== */
.quote-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(3, 10, 18, 0.8);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 100050;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

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

.quote-modal {
    position: relative; width: 100%; max-width: 460px;
    background: linear-gradient(165deg, #ffffff 0%, #f3efe4 100%);
    border-radius: 22px; border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 50px rgba(0,174,239,0.2);
    color: #1a1d29; padding: 38px 34px 32px;
    transform: translateY(40px) rotate(-3deg) scale(0.92); opacity: 0;
    transition: transform 0.55s var(--ease-out), opacity 0.45s;
}

.quote-modal-overlay.open .quote-modal { transform: none; opacity: 1; }

.quote-modal .corner-suit { position: absolute; font-size: 1.4rem; font-weight: 700; color: #d4213d; }
.quote-modal .corner-suit.tl { top: 16px; left: 18px; }
.quote-modal .corner-suit.br { bottom: 16px; right: 18px; transform: rotate(180deg); }

.quote-modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none;
    font-size: 1.7rem; line-height: 1;
    color: #9aa0ad; cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}
.quote-modal-close:hover { color: #1a1d29; transform: rotate(90deg); }

.quote-modal h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; text-align: center; margin-bottom: 6px; }

.quote-modal .qm-plan {
    text-align: center; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: #0a66a8; margin-bottom: 18px;
}

.quote-modal label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px; color: #4b5160; margin: 12px 0 6px; }

.quote-modal input, .quote-modal textarea {
    width: 100%;
    border: 1px solid #d6d0c2; border-radius: 12px;
    background: #fffdf8; padding: 11px 14px;
    font-family: 'Outfit', sans-serif; font-size: 0.9rem; color: #1a1d29;
    outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}

.quote-modal input:focus, .quote-modal textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
}

.quote-modal textarea { resize: vertical; min-height: 90px; }

.qm-send-options { display: flex; gap: 12px; margin-top: 20px; }

.qm-btn {
    flex: 1; display: inline-flex; align-items: center;
    justify-content: center; gap: 8px; padding: 13px 10px;
    border: none; border-radius: 12px;
    font-family: 'Outfit', sans-serif; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 0.5px; cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.qm-btn svg { width: 18px; height: 18px; }
.qm-btn:hover { transform: translateY(-2px); }

.qm-btn.wa { background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,0.35); }
.qm-btn.mail { background: linear-gradient(135deg, var(--primary), #0a66a8); color: #fff; box-shadow: 0 8px 20px rgba(0,174,239,0.3); }

.qm-hint { text-align: center; font-size: 0.66rem; color: #8a8f9c; margin-top: 12px; }

/* ==========================================
   PROJECT DETAIL MODAL
   ========================================== */
.project-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(10px);
    z-index: 99999; opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
    display: flex; align-items: center; justify-content: center;
}

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

.project-modal {
    background: #111118; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px; width: 90%; max-width: 900px;
    max-height: 88vh; overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s var(--spring);
    position: relative;
}

.project-modal-overlay.active .project-modal { transform: none; }

.project-modal-close {
    position: absolute; top: 18px; right: 18px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.5); color: var(--white);
    font-size: 1.3rem; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}

.project-modal-close:hover { background: var(--primary); border-color: var(--primary); }

.project-modal-hero {
    width: 100%; height: 340px; overflow: hidden;
    border-radius: 24px 24px 0 0; position: relative;
}

.project-modal-hero img { width: 100%; height: 100%; object-fit: cover; }

.project-modal-hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, #111118 0%, transparent 50%);
}

.project-modal-body { padding: 38px; }

.project-modal-category {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}

.project-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700; margin-bottom: 18px; line-height: 1.2;
}

.project-modal-desc {
    color: var(--gray); font-size: 0.98rem;
    line-height: 1.8; margin-bottom: 28px;
}

.project-modal-visit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); text-decoration: none;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0,174,239,0.3);
    transition: box-shadow 0.3s, transform 0.3s;
    margin-bottom: 28px;
}

.project-modal-visit:hover {
    box-shadow: 0 12px 32px rgba(0,174,239,0.4);
    transform: translateY(-2px);
}

.project-modal-visit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.project-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px; margin-bottom: 28px;
}

.project-modal-gallery img {
    width: 100%; height: 175px; object-fit: cover;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s; cursor: pointer;
}

.project-modal-gallery img:hover { transform: scale(1.03); }

.project-modal-gallery video {
    width: 100%; height: 175px; object-fit: cover;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.06);
}

.project-modal-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.project-modal-tag {
    padding: 6px 16px; border-radius: 50px;
    border: 1px solid rgba(0,174,239,0.3); color: var(--primary);
    font-size: 0.74rem; font-weight: 500; letter-spacing: 1px;
}

/* ==========================================
   MASCOT
   ========================================== */
.mascot-container { position: fixed; bottom: 24px; right: 24px; z-index: 9995; }

.mascot-bubble {
    position: absolute; bottom: 108px; right: 0;
    width: 320px; background: var(--white); border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s var(--spring);
}

.mascot-bubble.active { opacity: 1; visibility: visible; transform: none; }

.mascot-bubble::after {
    content: ''; position: absolute;
    bottom: -10px; right: 35px;
    width: 20px; height: 20px; background: var(--white);
    transform: rotate(45deg); border-radius: 3px;
}

.mascot-bubble-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 12px;
}

.mascot-bubble-title { font-size: 0.84rem; font-weight: 700; color: var(--dark); }

.mascot-bubble-close {
    width: 28px; height: 28px; border-radius: 50%;
    border: none; background: #f0f0f0; color: #666;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}

.mascot-bubble-close:hover { background: #e0e0e0; }

.mascot-chat-area {
    height: 175px; overflow-y: auto; margin-bottom: 12px;
    padding: 10px; background: #f8f9fa; border-radius: 12px;
    font-size: 0.84rem; color: #333; line-height: 1.5;
}

.mascot-chat-area .bot-msg {
    background: #e8f4fd; padding: 8px 12px;
    border-radius: 12px 12px 12px 4px;
    margin-bottom: 8px; display: inline-block;
    max-width: 90%; color: #1a1a1a; font-size: 0.81rem;
}

.mascot-chat-area .user-msg {
    background: var(--primary); color: white;
    padding: 8px 12px; border-radius: 12px 12px 4px 12px;
    margin-bottom: 8px; display: inline-block;
    max-width: 90%; float: right; clear: both; font-size: 0.81rem;
}

.mascot-input-wrap { display: flex; gap: 8px; }

.mascot-input {
    flex: 1; padding: 10px 14px;
    border: 1px solid #e0e0e0; border-radius: 10px;
    font-size: 0.81rem; font-family: 'Outfit', sans-serif;
    outline: none; transition: border-color 0.3s;
}

.mascot-input:focus { border-color: var(--primary); }

.mascot-send-btn {
    padding: 10px 16px; background: var(--primary); color: white;
    border: none; border-radius: 10px;
    font-size: 0.81rem; font-weight: 600; cursor: pointer;
    transition: background 0.3s;
}

.mascot-send-btn:hover { background: var(--primary-dark); }

.mascot-body {
    width: 88px; height: 88px; background: #0062AD;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center; gap: 8px;
    cursor: pointer; box-shadow: 0 8px 30px rgba(0,98,173,0.4);
    transition: transform 0.3s, box-shadow 0.3s; position: relative;
}

.mascot-body:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(0,98,173,0.5); }

.mascot-body .eye {
    width: 28px; height: 28px; background: var(--white);
    border-radius: 50%; position: relative;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.mascot-body .pupil {
    width: 10px; height: 10px; background: #111;
    border-radius: 50%; position: absolute; will-change: transform;
}

.mascot-body .mouth {
    position: absolute; bottom: 14px;
    width: 20px; height: 8px;
    background: #004080; border-radius: 0 0 20px 20px;
}

.mascot-pulse {
    position: absolute; inset: -4px;
    border-radius: 50%; border: 2px solid rgba(0,98,173,0.4);
    animation: mascotPulse 2s infinite;
}

@keyframes mascotPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s var(--spring);
}

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

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 12px 18px; }
    .navbar-logo img { height: 44px; }
    .navbar-brand .brand-name { font-size: 1.25rem; }
    .navbar-brand .brand-sub { display: none; }

    .navbar-links {
        position: fixed; top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(6,10,18,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column; list-style: none;
        justify-content: center; align-items: center;
        gap: 36px;
        transform: translateX(100%);
        transition: transform 0.45s var(--spring);
        z-index: 10000;
        display: flex;
    }

    .navbar-links.mobile-open { transform: translateX(0); }
    .navbar-links a { font-size: 1.4rem; letter-spacing: 2px; }
    .nav-toggle { display: flex; position: relative; z-index: 10001; }

    .hero { gap: 36px; padding: 90px 0 60px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta a { width: 100%; max-width: 280px; justify-content: center; }

    .project-card { min-width: 280px; max-width: 280px; }

    .services-grid { grid-template-columns: 1fr; padding: 0 20px; }
    .projects-grid { grid-template-columns: 1fr; padding: 0 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

    .cards-table { min-height: auto; padding: 20px 0; }
    .poker-hand { flex-direction: column; align-items: center; perspective: none; }
    .poker-card {
        margin: 0 0 20px; width: 275px; height: auto;
        min-height: 310px; transform: none !important;
    }
    .poker-card:hover { transform: scale(1.03) !important; box-shadow: 0 22px 45px rgba(0,0,0,0.5); }
    .poker-card .plan-cta { opacity: 1; transform: none; pointer-events: auto; }

    .contact-wrapper { padding: 0 20px; }
    .contact-form-card { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; }
    .form-btn { min-width: unset; }

    .footer { padding: 50px 24px 28px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .project-modal-body { padding: 22px; }
    .project-modal-hero { height: 210px; }
    .project-modal-gallery { grid-template-columns: 1fr 1fr; }

    .mascot-bubble { width: 285px; right: -8px; }
    .mascot-container { bottom: 14px; right: 14px; }
    .mascot-body { width: 70px; height: 70px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .services-section { padding: 80px 0; }
    .projects-grid-section { padding: 80px 0; }
    .contact-section { padding: 80px 0; }
    .pricing-section { padding: 80px 0 120px; }
}
