/* ==========================================
   Intryn Web Solutions - Dark Premium Theme
   Dark Navy + Gold Accent | Luxurious Design
   ========================================== */

/* CSS Variables */
:root {
    --bg-primary: #0a0f1e;
    --bg-secondary: #0d1326;
    --bg-tertiary: #111830;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-footer: #060a14;

    --gold: #d4a853;
    --gold-light: #e8c777;
    --gold-dark: #b8923f;
    --gold-glow: rgba(212, 168, 83, 0.15);
    --gold-glow-strong: rgba(212, 168, 83, 0.3);

    --white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 168, 83, 0.3);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --section-padding: 120px;
    --container-max: 1200px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-gold: 0 8px 32px rgba(212, 168, 83, 0.15);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* Canvas & Overlays */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%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");
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.text-gold { color: var(--gold); }

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 168, 83, 0.3);
    background: var(--gold-light);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.btn-large { padding: 20px 48px; font-size: 15px; }

.btn-nav {
    padding: 10px 28px;
    font-size: 13px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}

.btn-nav:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.section-title { margin-bottom: 20px; }
.section-subtitle { color: var(--text-secondary); font-size: 17px; line-height: 1.8; }

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.navbar .container {
    max-width: 100%;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
    display: flex;
    align-items: center;
}

.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-dot { display: none; }

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw;
    font-weight: 900;
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
    z-index: 0;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    max-width: 100%;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(212, 168, 83, 0); }
}

.hero-title {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.hero-title em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Hero Floating Cards */
.hero-floating-cards {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.float-card {
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}

.float-card:hover { transform: translateY(-4px); }

.fc-stats {
    background: var(--gold);
    color: var(--bg-primary);
    min-width: 200px;
}

.fc-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.fc-plus {
    font-size: 1.5rem;
    font-weight: 700;
}

.fc-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 4px;
    margin-bottom: 14px;
}

.fc-avatars {
    display: flex;
    margin-bottom: 10px;
}

.fc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: white;
    margin-right: -8px;
    border: 2px solid var(--gold);
}

.fc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.fc-rating strong { font-size: 18px; }

.fc-appointment {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.fc-appointment strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.fc-appointment > div:last-child span {
    font-size: 12px;
    color: var(--text-muted);
}

.fc-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.fc-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.fc-icon-star {
    background: var(--bg-card-hover);
    color: var(--gold);
}

/* Hero Visual - Web Agency Composition */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Browser Mockup */
.hv-browser {
    width: 460px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    z-index: 3;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: hvFloat 6s ease-in-out infinite;
}

@keyframes hvFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hv-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

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

.hv-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hv-dots span:nth-child(1) { background: #ff5f57; }
.hv-dots span:nth-child(2) { background: #ffbd2e; }
.hv-dots span:nth-child(3) { background: #28ca41; }

.hv-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--text-muted);
}

.hv-url-bar svg { color: #28ca41; flex-shrink: 0; }

.hv-browser-body {
    padding: 16px;
}

/* Animated Website Wireframe */
.hv-site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hv-site-logo {
    width: 60px;
    height: 10px;
    background: var(--gold);
    border-radius: 4px;
}

.hv-site-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hv-site-links span {
    width: 28px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.hv-nav-btn {
    width: 40px !important;
    height: 20px !important;
    background: var(--gold) !important;
    border-radius: var(--radius-full) !important;
}

.hv-site-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    padding: 20px 0;
}

.hv-site-hero-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.hv-type-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    animation: hvTypeReveal 3s ease-in-out infinite;
}

.hv-type-1 { width: 90%; animation-delay: 0s; }
.hv-type-2 { width: 70%; animation-delay: 0.3s; }
.hv-type-3 { width: 50%; animation-delay: 0.6s; background: rgba(212, 168, 83, 0.2); }

@keyframes hvTypeReveal {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); }
}

.hv-site-cta-row {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.hv-site-btn {
    width: 48px;
    height: 16px;
    background: var(--gold);
    border-radius: var(--radius-full);
}

.hv-site-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hv-site-hero-img {
    height: 100px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.hv-site-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    animation: hvShimmer 3s ease-in-out infinite;
}

@keyframes hvShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hv-site-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hv-site-card {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
    animation: hvCardPop 4s ease-in-out infinite;
}

.hv-site-card:nth-child(1) { animation-delay: 0s; }
.hv-site-card:nth-child(2) { animation-delay: 0.5s; }
.hv-site-card:nth-child(3) { animation-delay: 1s; }

@keyframes hvCardPop {
    0%, 100% { transform: scale(1); border-color: var(--border); }
    50% { transform: scale(1.03); border-color: var(--border-gold); }
}

.hv-card-icon {
    width: 24px;
    height: 24px;
    background: rgba(212, 168, 83, 0.15);
    border-radius: 6px;
    margin-bottom: 8px;
}

.hv-card-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hv-card-lines span {
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
}

.hv-card-lines span:last-child { width: 60%; }

/* Floating Elements - Shared */
.hv-float {
    position: absolute;
    z-index: 5;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Floating Code Snippet */
.hv-code {
    top: -10px;
    left: -80px;
    width: 240px;
    animation: hvFloatCode 7s ease-in-out infinite;
}

@keyframes hvFloatCode {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(8px, -10px) rotate(0deg); }
}

.hv-code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.hv-code-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.hv-code-body {
    padding: 12px 14px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.8;
}

.hv-code-line { white-space: nowrap; }
.hv-code-indent { padding-left: 16px; }
.hv-c-tag { color: #f472b6; }
.hv-c-attr { color: #a78bfa; }
.hv-c-str { color: #34d399; }
.hv-c-text { color: var(--text-secondary); }

.hv-cursor {
    display: inline-block;
    width: 6px;
    height: 13px;
    background: var(--gold);
    margin-left: 2px;
    vertical-align: middle;
    animation: hvBlink 1s step-end infinite;
}

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

/* Floating Color Palette */
.hv-palette {
    bottom: 20px;
    left: -60px;
    padding: 14px;
    animation: hvFloatPalette 8s ease-in-out infinite;
}

@keyframes hvFloatPalette {
    0%, 100% { transform: translate(0, 0) rotate(1deg); }
    50% { transform: translate(-6px, -8px) rotate(-1deg); }
}

.hv-palette-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hv-palette-colors {
    display: flex;
    gap: 6px;
}

.hv-color {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3px;
    transition: transform 0.3s ease;
    cursor: default;
}

.hv-color:hover { transform: translateY(-4px) scale(1.1); }

.hv-color span {
    font-size: 5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hv-color:hover span { opacity: 1; }

/* Floating Performance Widget */
.hv-perf {
    top: 60px;
    right: -40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    animation: hvFloatPerf 6s ease-in-out infinite 1s;
}

@keyframes hvFloatPerf {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -8px); }
}

.hv-perf-score {
    position: relative;
    width: 44px;
    height: 44px;
}

.hv-perf-ring {
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
}

.hv-perf-fill {
    stroke-dasharray: 0, 100;
    animation: hvPerfGrow 2s ease-out forwards 1s;
}

@keyframes hvPerfGrow {
    to { stroke-dasharray: 98, 100; }
}

.hv-perf-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-primary);
}

.hv-perf-info strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-primary);
}

.hv-perf-info span {
    font-size: 10px;
    color: var(--text-muted);
}

/* Floating Responsive Icons */
.hv-responsive {
    bottom: 100px;
    right: -30px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 14px 18px;
    color: var(--gold);
    animation: hvFloatResp 7s ease-in-out infinite 0.5s;
}

@keyframes hvFloatResp {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(4px, -10px) rotate(2deg); }
}

/* Floating Layers Widget */
.hv-layers {
    bottom: -20px;
    right: 40px;
    padding: 16px;
    text-align: center;
    animation: hvFloatLayers 9s ease-in-out infinite 2s;
}

@keyframes hvFloatLayers {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, -6px); }
}

.hv-layer {
    width: 48px;
    height: 28px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    margin: -8px auto 0;
    transition: all 0.4s ease;
}

.hv-layer-1 {
    background: rgba(212, 168, 83, 0.1);
    border-color: var(--border-gold);
    z-index: 3;
    position: relative;
    animation: hvLayerSpread 4s ease-in-out infinite;
}

.hv-layer-2 {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
    z-index: 2;
    position: relative;
    animation: hvLayerSpread 4s ease-in-out infinite 0.2s;
}

.hv-layer-3 {
    background: rgba(5, 150, 105, 0.06);
    border-color: rgba(5, 150, 105, 0.15);
    z-index: 1;
    position: relative;
    animation: hvLayerSpread 4s ease-in-out infinite 0.4s;
}

@keyframes hvLayerSpread {
    0%, 100% { margin-top: -8px; }
    50% { margin-top: 2px; }
}

.hv-layer:first-child { margin-top: 0; }

.hv-layers span {
    display: block;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Rotating Badge */
.rotating-badge {
    position: absolute;
    bottom: 30px;
    left: -40px;
    width: 110px;
    height: 110px;
    z-index: 5;
}

.rotating-text {
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
}

.rotating-text text {
    font-size: 11.5px;
    font-weight: 700;
    fill: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -40%; }
    100% { top: 110%; }
}

.hero-scroll span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

/* ==========================================
   Marquee Banner
   ========================================== */
.marquee-banner {
    background: var(--gold);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.4;
}

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

/* ==========================================
   Services Section - Bento Grid
   ========================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.services-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14vw;
    font-weight: 900;
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
}

.services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Base Service Card */
.svc-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(212, 168, 83, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.svc-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(212, 168, 83, 0.06);
}

.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after { opacity: 1; }

/* First card gets a subtle gold accent background */
.svc-card:first-child {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.05) 0%, var(--bg-glass) 60%);
    border-color: var(--border-gold);
}

/* Service Card Content */
.svc-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* Service Badge */
.svc-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

/* Service Icon */
.svc-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.svc-icon-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--border-gold);
    animation: iconRingSpin 12s linear infinite;
    border-top-color: transparent;
    border-right-color: transparent;
}

@keyframes iconRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.svc-card:hover .svc-icon-ring {
    border-color: var(--gold);
    border-top-color: transparent;
    border-right-color: transparent;
}

.svc-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--gold);
    transition: all 0.4s ease;
}

.svc-icon svg { width: 28px; height: 28px; }

.svc-card:hover .svc-icon {
    background: var(--gold);
    color: var(--bg-primary);
    box-shadow: 0 8px 32px rgba(212, 168, 83, 0.3);
}

/* Service Number */
.svc-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 64px;
    font-weight: 900;
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    transition: color 0.4s ease;
}

.svc-card:hover .svc-num { color: rgba(212, 168, 83, 0.06); }

/* Service Card Text */
.svc-card h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.svc-card:hover h3 { color: var(--gold); }

.svc-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Service Link */
.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    width: 100%;
    margin-top: auto;
    transition: all 0.3s ease;
}

.svc-link svg {
    transition: transform 0.3s ease;
}

.svc-link:hover svg { transform: translateX(6px); }

.svc-link:hover { border-top-color: var(--border-gold); }

/* Service Features List */
.svc-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.svc-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.svc-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--gold);
    border-radius: 50%;
    position: relative;
}

.svc-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 5px;
    height: 8px;
    border: 2px solid var(--bg-primary);
    border-top: none;
    border-left: none;
}

/* Service Stats */
.svc-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.svc-stat {
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    flex: 1;
    transition: border-color 0.3s ease;
}

.svc-card:hover .svc-stat { border-color: var(--border-gold); }

.svc-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.svc-stat span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Service Tech Stack */
.svc-tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.svc-tech {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.svc-card:hover .svc-tech {
    border-color: var(--border-gold);
    color: var(--gold);
}

/* Service Graph (SEO card) */
.svc-graph {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    margin-bottom: 28px;
    padding: 12px 0;
}

.svc-graph-bar {
    flex: 1;
    background: var(--bg-card-hover);
    border-radius: 4px 4px 0 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 4px;
}

.svc-graph-bar-gold {
    background: var(--gold);
}

.svc-card:hover .svc-graph-bar:not(.svc-graph-bar-gold) {
    background: rgba(212, 168, 83, 0.15);
}

.svc-card:hover .svc-graph-bar-gold {
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.services-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Why Choose Us
   ========================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.03) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us-content > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-us-list li {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.why-us-list li:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
    transform: translateX(6px);
}

.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--gold);
    border-radius: 50%;
    position: relative;
}

.check-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 6px;
    height: 10px;
    border: 2.5px solid var(--bg-primary);
    border-top: none;
    border-left: none;
}

.why-us-list strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
}

.why-us-list p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Why Us Visual */
.why-us-visual {
    position: relative;
    z-index: 1;
}

.experience-card {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gold);
    color: var(--bg-primary);
    padding: 28px;
    z-index: 3;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-primary);
}

.exp-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    display: block;
    font-weight: 700;
    opacity: 0.8;
}

.why-us-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
}

.image-placeholder.dark { background: var(--bg-primary); border: 1px solid var(--border); }

.why-us-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    z-index: 3;
}

.badge-inner {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    text-align: center;
}

.badge-count {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    font-family: var(--font-primary);
}

.badge-inner > span:last-child {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 600;
}

/* ==========================================
   Process Section
   ========================================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-primary);
    color: var(--gold);
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1.5px solid var(--border-gold);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    background: var(--gold);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.step-line {
    position: absolute;
    top: 40px;
    right: -12px;
    width: calc(100% - 104px);
    height: 1px;
    background: var(--border);
}

.process-step:last-child .step-line { display: none; }

.step-content h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   Portfolio Preview
   ========================================== */
.portfolio-preview {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.portfolio-item.large { grid-row: span 2; }

.portfolio-image { width: 100%; height: 100%; }

.portfolio-item .image-placeholder {
    height: 250px;
    border-radius: 0;
}

.portfolio-item:nth-child(1) .image-placeholder { background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%); }
.portfolio-item:nth-child(2) .image-placeholder { background: linear-gradient(135deg, #1a1040 0%, var(--bg-primary) 100%); }
.portfolio-item:nth-child(3) .image-placeholder { background: linear-gradient(135deg, #0f2318 0%, var(--bg-primary) 100%); }

.portfolio-item.large .image-placeholder {
    height: 100%;
    min-height: 524px;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.95) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 14px;
    background: var(--gold);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    border-radius: var(--radius-full);
}

.portfolio-info h3 { margin-bottom: 4px; font-family: var(--font-primary); }
.portfolio-info p { font-size: 14px; color: var(--text-secondary); }

.portfolio-cta { text-align: center; margin-top: 60px; }

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 56px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.testimonial-quote {
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.4;
}

.testimonial-text {
    font-size: 20px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--bg-tertiary);
    color: var(--gold);
}

.author-info { text-align: left; }

.author-info strong {
    display: block;
    font-size: 16px;
    font-family: var(--font-primary);
    font-weight: 700;
}

.author-info span {
    color: var(--text-muted);
    font-size: 13px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
}

.dot.active,
.dot:hover {
    background: var(--gold);
    box-shadow: 0 0 12px rgba(212, 168, 83, 0.4);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12vw;
    font-weight: 900;
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 { margin-bottom: 20px; }

.cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--bg-footer);
    padding: 100px 0 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.8;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.social-links svg { width: 16px; height: 16px; }

.footer-links h4,
.footer-contact h4 {
    font-size: 12px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-family: var(--font-primary);
    font-weight: 700;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact address p { margin-bottom: 8px; }
.footer-contact a { color: var(--text-secondary); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-legal { display: flex; gap: 32px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--gold); }

/* ==========================================
   Page-Specific Styles
   ========================================== */

/* Page Header */
.page-header {
    padding: 180px 0 100px;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
    top: -300px;
    right: -200px;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 { margin-bottom: 20px; }

.page-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }

/* Service Detail */
.service-detail {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.service-detail:nth-child(even) { background: var(--bg-secondary); }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid { direction: rtl; }
.service-detail:nth-child(even) .service-detail-grid > * { direction: ltr; }

.service-detail-content h2 { margin-bottom: 20px; }

.service-detail-content > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.service-features .check-icon { margin-top: 2px; }
.service-features span:last-child { color: var(--text-secondary); }

/* FAQ */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
    width: 32px;
    height: 32px;
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.faq-icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }

.faq-item.active .faq-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after { background: var(--bg-primary); }

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 28px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 500px; }

/* Portfolio Page */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

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

.portfolio-full-grid .portfolio-item .image-placeholder { height: 300px; }

/* About Page */
.about-story {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

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

.about-content h2 { margin-bottom: 28px; }

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover { transform: translateY(-8px); }

.team-avatar {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 800;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 2px solid var(--border-gold);
    color: var(--gold);
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.team-card h3 { font-family: var(--font-primary); margin-bottom: 4px; }
.team-card span { color: var(--text-muted); font-size: 13px; font-weight: 500; }

/* Values */
.values-section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

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

.value-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.value-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold-glow);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.value-icon svg { width: 28px; height: 28px; }

.value-card h3 { font-family: var(--font-primary); margin-bottom: 16px; }
.value-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Blog Page */
.blog-section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

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

.blog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}

.blog-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
}

.blog-image {
    height: 220px;
    background: var(--bg-tertiary);
}

.blog-content { padding: 28px; }

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.blog-card h3 { font-family: var(--font-primary); margin-bottom: 12px; font-size: 1.15rem; }
.blog-card h3 a:hover { color: var(--gold); }

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more span { transition: var(--transition-fast); display: inline-block; }
.read-more:hover span { transform: translateX(6px); }

/* Contact Page */
.contact-section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 { margin-bottom: 24px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 40px; line-height: 1.8; }

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

.contact-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: var(--bg-glass);
    border-color: var(--border);
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    color: var(--gold);
    border-radius: 50%;
    border: 1px solid var(--border-gold);
}

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

.contact-item h4 { font-family: var(--font-primary); font-size: 15px; margin-bottom: 4px; }
.contact-item p,
.contact-item a { color: var(--text-secondary); font-size: 14px; }
.contact-item a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 48px;
    border-radius: var(--radius-lg);
}

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

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

.form-group label {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

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

.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-secondary); }
.form-group textarea { resize: vertical; min-height: 140px; }

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

/* Map */
.map-section {
    height: 400px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Legal Pages */
.legal-content {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.legal-content .container { max-width: 800px; }
.legal-content h1 { margin-bottom: 24px; }

.legal-content .last-updated {
    color: var(--text-muted);
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.legal-content h2 { font-size: 1.5rem; margin: 48px 0 20px; font-family: var(--font-primary); }
.legal-content h3 { font-size: 1.125rem; margin: 32px 0 16px; font-family: var(--font-primary); }

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 20px;
}

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

.legal-content a { color: var(--gold); }
.legal-content a:hover { text-decoration: underline; }

/* ==========================================
   Animations
   ========================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate].animated { opacity: 1; transform: translate(0); }

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    .services-bento { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .step-line { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); }
    .hv-code { left: -40px; width: 200px; }
    .hv-palette { left: -30px; }
    .hv-perf { right: -20px; }
    .hv-responsive { right: -10px; }
    .hv-layers { right: 20px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        transition: var(--transition-normal);
        z-index: 1000;
    }

    .nav-links.active { right: 0; }

    .nav-links a { font-size: 18px; color: var(--text-primary); }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-floating-cards {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual { display: none; }
    .hv-float { display: none; }
    .hero-scroll { display: none; }
    .hero-bg-text { font-size: 30vw; }

    .services-bento { grid-template-columns: 1fr; }

    .why-us-grid,
    .about-grid,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.large { grid-row: auto; }
    .portfolio-item.large .image-placeholder { min-height: 280px; }

    .process-timeline { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .portfolio-full-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .contact-form-wrapper { padding: 32px 24px; }

    .experience-card {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 24px;
    }

    .why-us-badge {
        position: relative;
        right: 0;
        margin-top: 16px;
    }

    .testimonial-rating { display: none; }

    .marquee-track span { font-size: 13px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-floating-cards { flex-direction: column; align-items: center; }
    .fc-stats { min-width: auto; width: 100%; max-width: 280px; }

    .testimonial-card { padding: 32px 24px; }
    .testimonial-text { font-size: 17px; }

    .btn { padding: 14px 24px; font-size: 13px; }
    .btn-large { padding: 16px 32px; }
    .section-title { font-size: 1.75rem; }

    .cta-bg-text { font-size: 20vw; }
}

/* ==========================================
   Contact Form — Validation & Feedback
   ========================================== */

/* Field-level inline error text */
.field-error {
    display: block;
    font-size: 12px;
    color: #f87171;
    margin-top: 5px;
    min-height: 18px;
    font-weight: 500;
}

/* Red border on invalid inputs */
input.input-error,
textarea.input-error,
select.input-error {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

/* Success / Error result banner */
.form-result {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    animation: resultFadeIn 0.4s ease;
}

.form-result--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.form-result--error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
}

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

/* Submit button disabled state */
.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Spinner keyframe */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ==========================================
   WhatsApp Floating Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: #fff;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
