/* ==========================================================================
   NET VIZYON - MODERN CREATIVE DESIGN SYSTEM
   Theme: Creative iOS Glassmorphism (Blue, Black, White)
   Fonts: Outfit (Titles) & Plus Jakarta Sans (Body)
   ========================================================================== */

/* Variables */
:root {
    --bg-dark: #08080a;
    --bg-dark-accent: #0f0f13;
    
    /* Apple Glassmorphism Colors */
    --glass-bg: rgba(8, 9, 16, 0.65);
    --glass-bg-hover: rgba(14, 16, 28, 0.75);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glass-shadow-hover: 0 24px 60px rgba(0, 102, 255, 0.12);
    
    /* Brand Colors */
    --blue-primary: #0062ff;
    --blue-glow: rgba(0, 98, 255, 0.35);
    --blue-gradient: linear-gradient(135deg, #00d2ff 0%, #0062ff 100%);
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-light-gray: #e4e4e9;
    --text-gray: #888896;
    
    /* Spacing & Transition */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light-gray);
    line-height: 1.62;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.03em; /* Clean, minimal, neo-grotesque style */
}

.signature-text {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

/* Creative Background Grid & Glowing Spheres */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

#canvas-3d-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Above grid overlay, directly behind content layer */
    pointer-events: none; /* Let all mouse clicks and scrolls go to UI elements */
}

/* 3D Tilt Parallax Utility */
.tilt-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.15s cubic-bezier(0.25, 0.61, 0.355, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tilt-3d:hover {
    transform: none; /* Disables standard translateY(-4px) so JS controls transform smoothly */
}

.glow-sphere {
    display: none;
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -3;
    pointer-events: none;
    opacity: 0.45;
}

.sphere-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 98, 255, 0.28) 0%, rgba(0, 98, 255, 0) 70%);
}

.sphere-2 {
    bottom: -15%;
    left: -10%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.22) 0%, rgba(0, 210, 255, 0) 70%);
}

.sphere-3 {
    top: 40%;
    right: 35%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 98, 255, 0.12) 0%, rgba(0, 98, 255, 0) 70%);
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 70px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--blue-primary);
}

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

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--glass-border-light);
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-4px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(90deg, #0052cc, #0084ff, #0052cc);
    background-size: 200% auto;
    color: var(--text-white);
    box-shadow: 0 6px 20px var(--blue-glow);
    animation: shineButton 4s linear infinite;
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 8px 25px rgba(0, 98, 255, 0.55), 0 0 15px rgba(0, 132, 255, 0.35);
    transform: translateY(-2px) scale(1.02);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glass-border-light);
    transform: translateY(-2px);
}

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

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Nav (iOS Glassmorphism Top Bar) - GPU Static Layout Optimized */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none; /* Ignore clicks on header container wrapper */
}

.glass-nav {
    pointer-events: auto; /* Enable interactive events inside bar */
    position: relative;
    width: 100%;
    padding: 0;
}

/* Background Capsule - Animates height, margins, border radius smoothly on GPU */
.nav-background-capsule {
    position: absolute;
    inset: 0;
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(8, 9, 16, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 45px;
    z-index: -1;
    
    /* Hardware accelerated translation values for ultra-smooth 60+ FPS */
    transform: translateY(24px); 
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                max-width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-radius 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, width, max-width, border-radius, background, box-shadow;
}

.main-header.scrolled .nav-background-capsule {
    transform: translateY(0);
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    max-width: 100%;
    width: 100%;
    background: rgba(2, 2, 4, 0.88);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Nav Container - Horizontal size remains constant, completely preventing layout shifting */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    height: 76px; /* Elegant compact height for default oval state */
    padding: 0 24px;
    
    transform: translateY(24px);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                max-width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, height, width, max-width;
}

.main-header.scrolled .nav-container {
    transform: translateY(0);
    height: 64px; /* Slightly taller scrolled height to stand out nicely */
    width: 95%; /* Stretch wider horizontally when scrolled */
    max-width: 1200px; /* Wider horizontal limit for a spacious look */
}

.logo-link {
    display: flex;
    align-items: center;
    margin-left: 24px; /* Shift logo slightly to the right */
}

/* Logo Enlarged - Quite Big (88px) - GPU Sizing */
.nav-logo {
    height: 52px; /* Sleek, well-proportioned logo height in default oval state */
    width: auto;
    object-fit: contain;
    transition: height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: height;
}

.main-header.scrolled .nav-logo {
    height: 42px; /* Slightly larger scrolled logo size for better visibility */
}

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

.nav-link {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--blue-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-cta {
    padding: 8px 18px; /* Narrower padding */
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-cta {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px; /* Balanced top padding to match the new default header height */
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 98, 255, 0.08);
    border: 1px solid rgba(0, 98, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4da6ff;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #00d2ff;
    box-shadow: 0 0 10px #00d2ff;
    display: inline-block;
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.title-bold {
    font-weight: 800;
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
    vertical-align: middle;
}

.title-image-vizyon {
    height: 1.1em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 8px;
    filter: drop-shadow(0 0 15px rgba(0, 98, 255, 0.3));
}

.hero-signature {
    font-size: 4.8rem;
    display: inline-block;
    margin-top: 8px;
}

.hero-description {
    font-size: 1.18rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 550px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Floating Mockup Card - Creative Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.creative-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    transform-style: preserve-3d;
    perspective: 1200px;
    transform: rotateX(8deg) rotateY(-12deg) rotateZ(3deg); /* Sleek starting angle */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-preview-card {
    width: 100%;
    aspect-ratio: 4/3;
    padding: 20px;
    border-radius: var(--border-radius-lg);
    background: rgba(10, 11, 20, 0.45);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transform: translateZ(15px); /* Moderate depth elevation */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-header-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.card-header-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-header-dots .red { background-color: #ff5f56; }
.card-header-dots .yellow { background-color: #ffbd2e; }
.card-header-dots .green { background-color: #27c93f; }

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0.55;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.preview-logo-placeholder {
    width: 65px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.preview-nav-placeholders {
    display: flex;
    gap: 10px;
}

.preview-nav-placeholders span {
    width: 25px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.preview-hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

.preview-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.preview-line.long { width: 90%; }
.preview-line.medium { width: 70%; }
.preview-line.short { width: 45%; }

.preview-button-placeholder {
    width: 85px;
    height: 24px;
    background: var(--blue-primary);
    border-radius: 12px;
    margin-top: 10px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.preview-grid-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Floating Overlay Panel - High-end touch */
.floating-panel {
    position: absolute;
    bottom: -30px;
    left: -40px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 17, 30, 0.75);
    border-radius: var(--border-radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 98, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateZ(55px); /* High elevation to float clearly above browser mockup */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 98, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.panel-info {
    display: flex;
    flex-direction: column;
}

.panel-label {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.panel-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1.5deg); }
}

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

/* Services Section - Asymmetric Premium Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-service {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 48px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(0, 98, 255, 0.08);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--blue-primary);
    margin-bottom: 24px;
    border: 1px solid rgba(0, 98, 255, 0.2);
    box-shadow: inset 0 0 10px rgba(0, 98, 255, 0.15);
}

.featured-service .service-icon-wrapper {
    margin-bottom: 0;
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
}

.service-card-title {
    font-size: 1.45rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.featured-service .service-card-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.service-card-desc {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.featured-service .service-card-desc {
    margin-bottom: 0;
    max-width: 650px;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.service-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--text-light-gray);
}

/* Portfolio Section (Filterable Grid Layout) */
.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.portfolio-filters .filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-filters .filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.15);
}

.portfolio-filters .filter-btn.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(0, 98, 255, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    width: 100%;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.portfolio-item.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    pointer-events: none;
}

.portfolio-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.portfolio-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-card-img-wrap img {
    transform: scale(1.04);
}

.portfolio-item:hover .portfolio-card-img-wrap {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 98, 255, 0.08);
}

.portfolio-card-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    position: relative;
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.case-badge.badge-realized {
    background: rgba(0, 98, 255, 0.08);
    border: 1px solid rgba(0, 98, 255, 0.2);
    color: #00d2ff;
}

.case-badge.badge-concept {
    background: rgba(166, 18, 120, 0.08);
    border: 1px solid rgba(166, 18, 120, 0.2);
    color: #ff5ec8;
}

.case-title {
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.case-category {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.case-desc {
    color: var(--text-light-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-stats {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 28px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stat-num {
    font-family: 'Space Mono', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    margin-top: 2px;
}

.case-study-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 98, 255, 0.12) 0%, transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.case-cta {
    width: 100%;
    margin-top: auto;
}



/* Pricing Calculator (Dynamic vertical layout) */
.pricing-calculator-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.calculator-card:hover {
    transform: none;
    box-shadow: var(--glass-shadow);
}

/* Browser Mockup Preview header */
.calculator-preview-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dots .red { background-color: #ff5f56; }
.browser-dots .yellow { background-color: #ffbd2e; }
.browser-dots .green { background-color: #27c93f; }

.browser-address {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 4px 16px;
    font-size: 0.75rem;
    color: var(--text-gray);
    flex-grow: 1;
    max-width: 320px;
    text-align: center;
    font-family: monospace;
}

/* Sliding Preview Window & Slide Track Stiling */
.calculator-preview-window {
    background: #040409;
    position: relative;
    height: 380px; /* Tall height to fit high quality PNG previews */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--glass-border);
}

.preview-slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-slide {
    width: 33.3333%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Preview Slide Image Styles */
.preview-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-slide:hover img {
    transform: scale(1.05);
}

/* === MOTION 3D ANIMATIONS === */

/* Floating Icon Animation for Service Cards */
.service-icon-wrapper {
    animation: floatIcon 4s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon-wrapper { animation-delay: 0.5s; }
.service-card:nth-child(3) .service-icon-wrapper { animation-delay: 1s; }
.service-card:nth-child(4) .service-icon-wrapper { animation-delay: 1.5s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-6px) rotateZ(2deg); }
    50% { transform: translateY(-10px) rotateZ(0deg); }
    75% { transform: translateY(-6px) rotateZ(-2deg); }
}

/* Animated Glowing Border Pulse on Glass Cards (Services and FAQ only) */
#services .glass-card,
#faq .glass-card,
.faq-item {
    position: relative;
}

#services .glass-card::before,
#faq .glass-card::before,
.faq-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 98, 255, 0.15) 50%, transparent 60%);
    background-size: 400% 400%;
    animation: borderGlow 6s ease-in-out infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#services .glass-card:hover::before,
#faq .glass-card:hover::before,
.faq-item:hover::before {
    opacity: 1;
}

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

/* Section Title Gradient Sweep Animation */
.section-title {
    background: linear-gradient(90deg, var(--text-white) 0%, var(--text-white) 40%, var(--blue-primary) 50%, var(--text-white) 60%, var(--text-white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSweep 5s ease-in-out infinite;
}

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

/* Floating Panel Slow Breathe Animation */
.floating-panel {
    animation: panelBreathe 5s ease-in-out infinite;
}

@keyframes panelBreathe {
    0%, 100% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 98, 255, 0.15); }
    50% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 98, 255, 0.3); }
}

/* Stats Number Counter Glow Pulse */
.stat-num {
    text-shadow: 0 0 10px rgba(0, 98, 255, 0);
    transition: text-shadow 0.4s ease;
}

.stat-box:hover .stat-num {
    text-shadow: 0 0 15px rgba(0, 98, 255, 0.5), 0 0 30px rgba(0, 98, 255, 0.2);
}

/* Instagram Icon Rotation Pulse */
.instagram-icon-wrapper i {
    animation: instaPulse 3s ease-in-out infinite;
}

@keyframes instaPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.08) rotate(5deg); }
}


/* Floating Overlays on Preview */
.preview-overlays {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.preview-floating-badge {
    position: absolute;
    background: rgba(10, 11, 20, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-floating-badge.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.preview-floating-badge i {
    font-size: 0.9rem;
}

/* Custom placement of floating badges on top of screenshot */
.badge-lang {
    top: 20px;
    left: 20px;
    border-color: rgba(0, 98, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 98, 255, 0.15);
}

.badge-speed {
    top: 20px;
    right: 20px;
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.15);
}

.badge-seo {
    bottom: 20px;
    left: 20px;
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}

/* WhatsApp Widget Overlay on Preview */
.preview-whatsapp-widget {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    opacity: 0;
    transform: scale(0.6) translateY(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 11;
}

.preview-whatsapp-widget.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Controls layout below preview window */
.calculator-controls-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.calculator-inputs {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-blue {
    color: var(--blue-primary);
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.calc-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    gap: 8px;
}

.calc-option i {
    font-size: 1.5rem;
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

.calc-option span {
    font-size: 0.9rem;
    font-weight: 600;
}

.calc-option .option-base-price {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 400;
}

.calc-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.calc-option.active {
    background: rgba(0, 98, 255, 0.08);
    border-color: var(--blue-primary);
    box-shadow: 0 0 15px rgba(0, 98, 255, 0.15);
}

.calc-option.active i {
    color: var(--blue-primary);
}

/* Range Slider Custom Styling */
.range-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue-primary);
    border: 2px solid var(--text-white);
    box-shadow: 0 0 8px var(--blue-glow);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 0.8rem;
    padding: 0 5px;
}

/* Checkbox options */
.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 16px;
}

.checkbox-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.checkbox-card input {
    display: none;
}

.checkbox-custom {
    min-width: 20px;
    height: 20px;
    border: 2px solid var(--text-gray);
    border-radius: 5px;
    position: relative;
    transition: var(--transition-smooth);
}

.checkbox-card input:checked + .checkbox-custom {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    box-shadow: 0 0 8px var(--blue-glow);
}

.checkbox-card input:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.addon-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-white);
}

.addon-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Calculator Result Column */
.calculator-result {
    background: rgba(255, 255, 255, 0.015);
    border-left: 1px solid var(--glass-border);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-header {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem; /* Clean matching metadata header */
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.result-price {
    font-family: 'Space Mono', monospace;
    font-size: 3.2rem; /* Tabular numbers for price odometer counters */
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 12px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-notice {
    font-size: 0.78rem;
    color: #4da6ff;
    line-height: 1.4;
    margin-bottom: 32px;
}

.result-summary {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    margin-bottom: 36px;
}

.result-summary h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-list li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light-gray);
}

.summary-list li i {
    color: #00d2ff;
}

/* FAQ Accordion (Clean Glass iOS) */
.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    transform: translateY(-3px) rotateX(2deg) rotateY(-0.5deg); /* Premium dynamic 3D tilt angle on hover */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 15px rgba(0, 98, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: rgba(0, 98, 255, 0.35) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 98, 255, 0.15) !important;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: var(--text-white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.008);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-gray);
    font-size: 0.96rem;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--blue-primary);
}

/* Contact Section (Instagram Only Card & Phone) */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    padding: 40px;
    height: 100%;
}

.instagram-only-card {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100%;
}

.instagram-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.3);
}

.instagram-only-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.info-tagline {
    color: var(--text-gray);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.instagram-handle-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.25);
    width: 100%;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #e68523 0%, #d5592d 25%, #ca1c37 50%, #b81c59 75%, #a61278 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

/* Phone Contact styling inside Instagram card */
.contact-divider-text {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 24px 0 16px;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-divider-text::before, .contact-divider-text::after {
    content: '';
    height: 1px;
    background: var(--glass-border);
    flex-grow: 1;
}

.phone-contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.phone-link, .email-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    width: 100%;
    justify-content: center;
}

.phone-link:hover, .email-link:hover {
    color: var(--blue-primary);
    border-color: rgba(0, 98, 255, 0.35);
    background: rgba(0, 98, 255, 0.05);
}

.whatsapp-text-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.whatsapp-text-btn:hover {
    color: #20ba5a;
    transform: translateY(-1px);
}

/* Contact Form */
.form-card {
    padding: 40px;
}

.form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

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

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

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

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 10px rgba(0, 98, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.form-group select option {
    background-color: var(--bg-dark-accent);
    color: var(--text-white);
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    background: var(--bg-dark-accent);
    padding: 64px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* Footer Logo Enlarged - Very Big (80px) */
.footer-logo {
    height: 80px; /* Big footer logo */
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.9rem;
    max-width: 320px;
}

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

.footer-links h4, .footer-social h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-gray);
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

.social-icons a.icon-insta:hover {
    background: linear-gradient(45deg, #405de6 0%, #833ab4 20%, #c13584 40%, #e1306c 60%, #fd1d1d 80%, #f58529 100%) !important;
    border-color: #e1306c !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 22px rgba(225, 48, 108, 0.45);
}

.social-icons a.icon-insta:hover i {
    color: #ffffff !important;
}

.social-icons a.icon-wa:hover {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-icons a.icon-phone:hover {
    background: #00d2ff;
    color: #0a0c16 !important;
    border-color: #00d2ff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.4);
}

.social-icons a.icon-email:hover {
    background: var(--blue-primary);
    color: #ffffff !important;
    border-color: var(--blue-primary);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 98, 255, 0.4);
}

.footer-contact-title {
    font-size: 0.95rem;
    margin-top: 22px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Toast Messages */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 16px;
    left: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.toast {
    width: 100%;
    max-width: 380px;
    min-width: 0;
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    background: rgba(8, 9, 16, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--blue-primary);
    color: var(--text-white);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
    pointer-events: auto;
    transform: translateX(30px);
    opacity: 0;
    animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.toast.hide {
    animation: slideOutToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideOutToast {
    to { transform: translateX(30px); opacity: 0; }
}

.toast i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-success i {
    color: #25d366;
}

.toast-error i {
    color: #ff4d6d;
}

/* Responsive Styles & Full Phone Optimization */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-signature {
        font-size: 3.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-service {
        grid-column: span 2;
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        justify-items: center;
    }
    
    .featured-case-study {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-study-details {
        margin-left: 0;
        padding: 36px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .calculator-preview-window {
        height: 260px;
    }
    
    .calculator-controls-layout {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

    .calculator-inputs {
        padding: 24px 14px !important;
        gap: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .calculator-result {
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding: 24px 14px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Top Price Badge & Sticky Bottom Bar (Desktop default hidden) */
.calc-mobile-top-price,
.calc-mobile-sticky-footer {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Phone Navigation Optimization */
    .main-header {
        width: 100%;
        overflow: visible;
    }

    .glass-nav {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-background-capsule {
        width: 95%; /* Clean margins on phone */
        transform: translateY(10px); /* Lower offset for mobile */
        border-radius: 24px;
    }
    
    .main-header.scrolled .nav-background-capsule {
        width: 100%;
        transform: translateY(0);
        border-radius: 0;
    }
    
    .logo-link {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0;
    }

    .nav-container {
        width: 95% !important;
        max-width: 100% !important;
        height: 50px; /* Compact mobile nav container in default state */
        padding: 0 10px !important;
        transform: translateY(10px);
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    
    .main-header.scrolled .nav-container {
        height: 46px; /* Scrolled mobile navbar height */
        transform: translateY(0);
        width: 100% !important;
    }
    
    .nav-logo {
        height: 28px !important; /* Clean mobile logo */
        max-width: 110px;
        object-fit: contain;
    }
    
    .main-header.scrolled .nav-logo {
        height: 24px !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--text-white);
        font-size: 1.3rem;
        cursor: pointer;
        width: 36px;
        height: 36px;
        flex-shrink: 0 !important;
        z-index: 1002;
        margin: 0 !important;
    }
    
    .desktop-cta {
        display: none !important;
    }
    
    /* Full screen modern iOS overlay menu - Sliding in from the LEFT */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 2, 4, 0.97);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding: 80px 40px 40px;
        transform: translateX(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        pointer-events: auto;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-menu .nav-link {
        font-size: 1.4rem;
        font-weight: 600;
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    /* Stagger animate menu link slide-ins */
    .nav-menu.open .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.open .nav-link:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.open .nav-link:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.open .nav-link:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.open .nav-link:nth-child(7) { transition-delay: 0.4s; }
    
    .mobile-cta {
        display: inline-flex;
        margin-top: 12px;
        font-size: 1.1rem;
        padding: 14px 40px;
    }
    
    /* Hero section phone optimizations */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .hero-badge {
        display: none !important;
    }
    
    .hero-visual {
        display: none !important;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.3rem; /* Fits iPhone SE perfectly */
        line-height: 1.2;
    }
    
    .hero-signature {
        font-size: 2.8rem;
        margin-top: 6px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    /* Services section phone optimizations */
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .featured-service {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 24px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .featured-service .service-icon-wrapper {
        margin-bottom: 16px !important;
        width: 64px !important;
        height: 64px !important;
        font-size: 1.8rem !important;
    }

    .service-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 24px 16px !important;
        overflow: hidden !important;
    }

    .service-card-title {
        font-size: 1.35rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    .service-card-desc {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .service-tags {
        justify-content: center !important;
        width: 100% !important;
    }

    .service-tags span {
        word-break: break-word !important;
        max-width: 100% !important;
        font-size: 0.72rem !important;
    }
    
    /* Case study phone optimizations */
    .featured-case-study {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .case-study-visual {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .case-study-img-frame {
        aspect-ratio: 16/9;
        border-radius: var(--border-radius-md);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }
    
    .case-study-details {
        margin-left: 0 !important;
        padding: 24px 16px !important;
        border-radius: var(--border-radius-md);
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .portfolio-card-info {
        padding: 24px 16px !important;
    }
    
    .case-title {
        font-size: 1.5rem !important;
        margin-bottom: 6px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .case-category {
        font-size: 0.8rem !important;
        margin-bottom: 14px !important;
        display: inline-block !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .case-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        color: var(--text-gray);
        margin-bottom: 20px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .case-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
        padding: 14px 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .stat-box {
        border-bottom: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 0 !important;
        padding-right: 2px !important;
        padding-left: 2px !important;
        text-align: center !important;
        overflow: hidden !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .stat-box:last-child {
        border-right: none !important;
    }
    
    .stat-box .stat-num {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        display: block !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        line-height: 1.2 !important;
    }
    
    .stat-box .stat-label {
        font-size: 0.62rem !important;
        display: block !important;
        margin-top: 4px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .case-cta {
        width: 100%; /* Thumb-friendly full-width action button */
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    /* Calculator phone optimizations */
    .pricing-calculator-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .calculator-card {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: var(--border-radius-lg) !important;
    }

    .calculator-preview-header,
    .calculator-preview-window {
        display: none !important;
    }
    
    /* Mobile Sticky Bottom Floating Price Bar */
    .calc-mobile-sticky-footer {
        display: block !important;
        position: fixed !important;
        bottom: 16px !important;
        left: 14px !important;
        right: 14px !important;
        z-index: 9995 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(150%) scale(0.95) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s !important;
        pointer-events: none !important;
    }

    .calc-mobile-sticky-footer.active {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .calc-mobile-sticky-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(10, 12, 22, 0.94) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(0, 210, 255, 0.4) !important;
        border-radius: 16px !important;
        padding: 10px 16px !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 98, 255, 0.3) !important;
    }

    .calc-mobile-sticky-price {
        display: flex !important;
        flex-direction: column !important;
    }

    .calc-mobile-sticky-price span {
        font-size: 0.72rem !important;
        color: var(--text-gray) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .calc-mobile-sticky-price strong {
        font-size: 1.25rem !important;
        color: #00d2ff !important;
        font-family: var(--font-title) !important;
    }

    .calc-mobile-cta {
        padding: 9px 18px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
    }

    .calculator-inputs {
        padding: 20px 12px !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .calc-options-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .calc-option {
        box-sizing: border-box !important;
        width: 100% !important;
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
        padding: 8px 3px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .calc-option i {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
    }

    .calc-option span:not(.option-base-price) {
        font-size: 0.72rem !important;
        line-height: 1.15 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    .calc-option .option-base-price {
        font-size: 0.60rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    
    .checkbox-card {
        padding: 12px 10px !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .calculator-result {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: 10 !important;
        background: rgba(8, 9, 16, 0.95) !important;
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border: none !important;
        border-top: 1px solid var(--glass-border) !important;
        padding: 24px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg) !important;
        margin: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }
    
    .calculator-result .result-header,
    .calculator-result .price-notice {
        display: block !important;
        text-align: center !important;
    }

    .calculator-result .result-summary {
        display: block !important;
        width: 100% !important;
    }
    
    .calculator-result .result-price {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }
    
    .calculator-result .btn {
        width: 100% !important;
        margin-top: 12px !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        white-space: normal !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Contact phone optimizations */
    /* Contact phone optimizations - Make them stretch to 100% width matching calculator wrapper */
    .contact-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .contact-info-card,
    .instagram-only-card,
    .form-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .instagram-only-card {
        padding: 36px 20px !important;
    }
    
    .instagram-only-card h3 {
        font-size: 1.5rem !important;
    }
    
    .form-card {
        padding: 24px 16px !important;
    }
    
    .form-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* Prevent Google reCAPTCHA from overflowing container on mobile */
    .recaptcha-group {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .g-recaptcha {
        transform-origin: left center !important;
    }

    [dir="rtl"] .g-recaptcha {
        transform-origin: right center !important;
    }

    @media (max-width: 380px) {
        .g-recaptcha {
            transform: scale(0.85) !important;
        }
    }

    @media (max-width: 330px) {
        .g-recaptcha {
            transform: scale(0.75) !important;
        }
    }
    
    /* Footer phone optimizations */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }

    /* Center contact cards and prevent margins imbalance on mobile */
    .contact-section .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-grid {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 30px !important;
        box-sizing: border-box !important;
    }

    .contact-info-wrapper,
    .contact-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
    }

    .contact-info-card,
    .instagram-only-card,
    .form-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
}

/* Custom Interactive Cursor for PC Desktop view */
@media (min-width: 1025px) {
    body {
        cursor: none !important;
    }
    
    /* Force hide default cursor on interactive targets */
    a, button, input, textarea, select, 
    .btn, .calc-option, .checkbox-card, 
    .tilt-3d, .mobile-menu-toggle, .faq-question {
        cursor: none !important;
    }

    .custom-cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--blue-primary);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99999;
        transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                    height 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                    background-color 0.2s ease;
    }
    
    .custom-cursor-ring {
        width: 38px;
        height: 38px;
        border: 2px solid rgba(0, 98, 255, 0.4);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99998;
        background-color: transparent;
        transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                    height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                    border-color 0.25s ease, 
                    background-color 0.25s ease;
        will-change: left, top, width, height;
    }
}

/* Ensure custom cursor is hidden completely on touch devices */
@media (max-width: 1024px) {
    .custom-cursor-dot,
    .custom-cursor-ring {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
}

/* === SCROLL REVEAL MOTION ANIMATIONS === */

/* Base: All sections start invisible and slide up */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children reveal */
.stagger-children .reveal-child {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.revealed .reveal-child:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0) scale(1); }
.stagger-children.revealed .reveal-child:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) scale(1); }
.stagger-children.revealed .reveal-child:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) scale(1); }
.stagger-children.revealed .reveal-child:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0) scale(1); }
.stagger-children.revealed .reveal-child:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0) scale(1); }
.stagger-children.revealed .reveal-child:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0) scale(1); }

/* 3D Perspective Tilt on Portfolio Cards */
.portfolio-card {
    transform-style: preserve-3d;
    perspective: 1200px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
    transform: rotateY(-4deg) rotateX(3deg) translateZ(20px) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 98, 255, 0.15) !important;
}

/* Magnetic Button Hover Glow Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 98, 255, 0.4), rgba(0, 210, 255, 0.2), rgba(0, 98, 255, 0.4));
    background-size: 300% 300%;
    animation: magneticGlow 4s ease-in-out infinite;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary {
    position: relative;
    overflow: visible;
    z-index: 1;
}

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

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

/* Animated Gradient Divider Line */
.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 20px auto 0;
    background: linear-gradient(90deg, var(--blue-primary), #00d2ff, var(--blue-primary));
    background-size: 200% auto;
    border-radius: 3px;
    animation: gradientLine 3s linear infinite;
}

@keyframes gradientLine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Parallax Floating Elements */
.hero-float-element {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

/* Smooth Pulse Ring on Contact CTA */
.contact-cta-btn {
    position: relative;
}

.contact-cta-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(0, 98, 255, 0.3);
    animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.06); opacity: 0; }
}

/* ==========================================================================
   LANGUAGE SELECTOR & MULTILINGUAL & RTL STYLES
   ========================================================================== */

/* Globe Language Selector Dropdown */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border-light);
    color: var(--text-white);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.lang-dropdown-toggle:hover,
.lang-dropdown-wrapper.active .lang-dropdown-toggle {
    background: rgba(0, 98, 255, 0.2);
    border-color: var(--blue-primary);
    box-shadow: 0 0 16px rgba(0, 98, 255, 0.35);
}

.lang-dropdown-toggle .globe-icon {
    font-size: 0.95rem;
    color: #00d2ff;
}

.lang-dropdown-toggle .arrow-icon {
    font-size: 0.7rem;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.lang-dropdown-wrapper.active .arrow-icon {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 155px;
    background: rgba(10, 12, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--border-radius-md);
    padding: 6px;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

.lang-dropdown-wrapper.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-light-gray);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

[dir="rtl"] .lang-dropdown-item {
    text-align: right;
}

.lang-dropdown-item .flag {
    font-size: 1rem;
}

.lang-dropdown-item .lang-name {
    flex: 1;
}

.lang-dropdown-item .lang-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
}

.lang-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
}

.lang-dropdown-item.active {
    background: rgba(0, 98, 255, 0.25);
    border: 1px solid rgba(0, 98, 255, 0.4);
    color: var(--text-white);
}

.lang-dropdown-item.active .lang-tag {
    color: var(--blue-primary);
    background: rgba(0, 98, 255, 0.2);
}

/* Mobile Language Selector inside Mobile Nav Drawer */
.mobile-lang-selector {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.mobile-lang-selector .lang-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.mobile-lang-selector .lang-btn.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
}

@media (max-width: 1024px) {
    .mobile-lang-selector {
        display: flex;
    }
}

@media (max-width: 480px) {
    .lang-dropdown-toggle #lang-code-text {
        display: none !important;
    }
    .lang-dropdown-toggle {
        padding: 6px 8px !important;
        gap: 3px !important;
    }
}

/* ==========================================================================
   FIXED CALCULATOR OPTION BOXES & MOBILE NAVBAR PROTECTION
   ========================================================================== */

/* 1. Calculator Option Boxes - Strictly Fixed Dimensions Across All Languages */
.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.calc-option {
    box-sizing: border-box;
    width: 100%;
    min-height: 110px;
    height: 110px;
    max-height: 110px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    word-break: normal;
}

.calc-option span:not(.option-base-price) {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: break-word;
}

.calc-option .option-base-price {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.checkbox-text {
    flex: 1;
    min-width: 0;
}

.addon-title, .addon-desc {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 2. Mobile Navbar Layout Protection (Prevents Navbar Stretching & Hamburger Icon Disappearing) */
@media (max-width: 768px) {
    .main-header {
        width: 100%;
        overflow: visible;
    }

    .glass-nav {
        width: 100%;
    }

    .nav-container {
        width: 94%;
        max-width: 100%;
        padding: 0 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        overflow: visible;
    }

    .logo-link {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0;
    }

    .nav-logo {
        height: 28px !important;
        max-width: 120px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
        flex-shrink: 0;
        z-index: 1002;
    }

    .lang-dropdown-toggle {
        padding: 5px 8px;
        font-size: 0.74rem;
        gap: 4px;
        flex-shrink: 0;
    }

    .lang-dropdown-toggle .globe-icon {
        font-size: 0.82rem;
    }

    .lang-dropdown-menu {
        right: 0;
        min-width: 140px;
    }

    /* Calculator Mobile Options Fixed Width */
    .calc-options-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .calc-option {
        height: 102px;
        min-height: 102px;
        max-height: 102px;
        padding: 10px 4px;
    }

    .calc-option i {
        font-size: 1.25rem;
    }

    .calc-option span:not(.option-base-price) {
        font-size: 0.74rem;
    }

    .calc-option .option-base-price {
        font-size: 0.65rem;
    }
}

/* ==========================================================================
   ARABIC (RTL) STYLES — dir="rtl"
   ========================================================================== */

[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Plus Jakarta Sans', sans-serif;
    text-align: right;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: 'Noto Sans Arabic', 'Plus Jakarta Sans', sans-serif;
}

/* RTL Navigation */
[dir="rtl"] .logo-link {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .nav-actions {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

[dir="rtl"] .mobile-menu-toggle {
    order: 2 !important;
}

[dir="rtl"] .lang-dropdown-wrapper {
    order: 1 !important;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

/* RTL Hero */
[dir="rtl"] .badge-dot {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    [dir="rtl"] .hero-actions {
        flex-direction: column;
    }
}

/* Flip directional icons in RTL */
[dir="rtl"] .rtl-flip {
    transform: scaleX(-1);
    display: inline-block;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

[dir="rtl"] .faq-icon {
    margin-left: 0;
    margin-right: auto;
}

/* RTL Form & Contact */
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] .phone-link i,
[dir="rtl"] .email-link i,
[dir="rtl"] .whatsapp-text-btn i {
    margin-right: 0;
    margin-left: 10px;
}

/* RTL Calculator */
[dir="rtl"] .calc-label i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .summary-list li i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .checkbox-card {
    padding-left: 14px;
    padding-right: 14px;
}

[dir="rtl"] .checkbox-custom {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .card-header-dots {
    flex-direction: row-reverse;
}

/* RTL Footer */
[dir="rtl"] .footer-links a::before {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

/* RTL Price surprise badge positioning */
[dir="rtl"] .price-surprise-text {
    margin-left: 0 !important;
    margin-right: 6px !important;
    transform: rotate(2deg) !important;
}

/* ══════════════════════════════════════════
   COOKIE CONSENT BANNER - GLASSMORPHISM
══════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 960px;
    margin: 0 auto;
    z-index: 9999;
    background: rgba(10, 12, 22, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 98, 255, 0.15);
    padding: 20px 24px;
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 98, 255, 0.2), rgba(0, 210, 255, 0.2));
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d2ff;
    font-size: 1.4rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 98, 255, 0.2);
    }
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cookie-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    .cookie-text h4 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    .cookie-text p {
        font-size: 0.82rem;
        line-height: 1.35;
    }
    .cookie-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .cookie-actions .btn {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 10px 8px;
        font-size: 0.82rem;
        white-space: nowrap;
        border-radius: 10px;
    }
}

/* ══════════════════════════════════════════
   GDPR / KVKK COMPLIANCE COMPONENT STYLES
══════════════════════════════════════════ */
.form-consent-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    width: 100%;
    text-align: left;
}

[dir="rtl"] .consent-checkbox-label {
    text-align: right;
}

.consent-checkbox {
    display: none;
}

.consent-custom-checkbox {
    min-width: 18px;
    height: 18px;
    border: 2px solid var(--text-gray);
    border-radius: 4px;
    position: relative;
    transition: var(--transition-smooth);
    margin-top: 2px;
    background: rgba(255, 255, 255, 0.01);
}

.consent-checkbox-label:hover .consent-custom-checkbox {
    border-color: rgba(255, 255, 255, 0.4);
}

.consent-checkbox:checked + .consent-custom-checkbox {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    box-shadow: 0 0 8px var(--blue-glow);
}

.consent-checkbox:checked + .consent-custom-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    color: var(--text-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.consent-text {
    font-size: 0.78rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.consent-text a {
    color: var(--blue-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.consent-text a:hover {
    color: #4da6ff;
}

/* Footer Policy Links */
.footer-policy-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-policy-links a {
    color: var(--text-gray);
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-policy-links a:hover {
    color: var(--text-white);
}

.policy-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

/* Policy Modal System */
.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 2, 4, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.policy-modal.show {
    opacity: 1;
    visibility: visible;
}

.policy-modal-content {
    width: 100%;
    max-width: 640px;
    background: rgba(10, 12, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 98, 255, 0.1);
    padding: 32px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.policy-modal.show .policy-modal-content {
    transform: translateY(0);
}

.policy-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
}

[dir="rtl"] .policy-modal-close {
    right: auto;
    left: 24px;
}

.policy-modal-close:hover {
    color: var(--text-white);
    transform: scale(1.1);
}

.policy-modal h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-family: var(--font-title);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    text-align: left;
}

[dir="rtl"] .policy-modal h3 {
    text-align: right;
}

.policy-modal-body {
    overflow-y: auto;
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.6;
    padding-right: 8px;
    max-height: calc(85vh - 120px);
    text-align: left;
}

[dir="rtl"] .policy-modal-body {
    padding-right: 0;
    padding-left: 8px;
    text-align: right;
}

/* Scrollbar styling for policy modal body */
.policy-modal-body::-webkit-scrollbar {
    width: 6px;
}

.policy-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.policy-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.policy-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 480px) {
    .policy-modal-content {
        padding: 24px 20px;
    }
    .footer-policy-links {
        flex-direction: column;
        gap: 8px;
    }
    .policy-separator {
        display: none;
    }
}

/* Policy Modal Footer & Content Styling */
.policy-modal-footer {
    display: none;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    justify-content: center;
}

.policy-modal.has-footer .policy-modal-footer {
    display: flex;
}

.policy-modal.has-footer .policy-modal-body {
    max-height: calc(85vh - 200px);
}

.policy-modal-body h4 {
    color: var(--text-white);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 8px;
    font-family: var(--font-title);
}

.policy-modal-body p {
    margin-bottom: 12px;
}

.policy-modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

[dir="rtl"] .policy-modal-body ul {
    padding-left: 0;
    padding-right: 20px;
}

.policy-modal-body li {
    margin-bottom: 6px;
}


