/* GRIZM AGENCY - Premium Black & White CSS Style Sheets */

/* 1. Design System & CSS Variables */
:root {
    /* Light Theme Settings */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-card: rgba(255, 255, 255, 0.7);
    --border-color: #e5e5e5;
    --border-color-hover: #a3a3a3;
    --border-color-active: #000000;
    --text-primary: #000000;
    --text-secondary: #525252;
    --text-tertiary: #a3a3a3;
    
    --accent: #000000;
    --accent-inverse: #ffffff;
    --accent-gray: #f0f0f0;
    
    --font-title: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --grid-bg-color: rgba(0, 0, 0, 0.03);
    --glass-blur: blur(12px);
    --selection-bg: #000000;
    --selection-color: #ffffff;
}

body.dark-theme {
    /* Dark Theme Settings */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(10, 10, 10, 0.7);
    --border-color: #1f1f1f;
    --border-color-hover: #404040;
    --border-color-active: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    
    --accent: #ffffff;
    --accent-inverse: #000000;
    --accent-gray: #171717;
    
    --grid-bg-color: rgba(255, 255, 255, 0.02);
    --selection-bg: #ffffff;
    --selection-color: #000000;
}

/* 2. Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--selection-bg);
    color: var(--selection-color);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color-hover);
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

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

/* Custom Cursor (Desktops only) */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

.custom-cursor.hovered {
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    mix-blend-mode: difference;
}

.custom-cursor-follower.hovered {
    width: 50px;
    height: 50px;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    mix-blend-mode: difference;
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-inverse);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: var(--accent-gray);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-drawer {
    width: 100%;
    margin-top: 24px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: var(--text-tertiary);
    font-size: 32px;
    line-height: 0;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

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

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

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

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    border-color: var(--accent);
    background-color: var(--accent-gray);
}

.sun-icon, .moon-icon {
    position: absolute;
    width: 16px;
    height: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

body.dark-theme .sun-icon {
    transform: translateY(0);
    opacity: 1;
}

body.dark-theme .moon-icon {
    transform: translateY(-40px);
    opacity: 0;
}

body:not(.dark-theme) .sun-icon {
    transform: translateY(40px);
    opacity: 0;
}

body:not(.dark-theme) .moon-icon {
    transform: translateY(0);
    opacity: 1;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    padding: 100px 32px 32px;
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.drawer-link:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

@media (max-width: 768px) {
    .nav-menu, .btn-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* 3. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--grid-bg-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-bg-color) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

.hero-glow-point {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body:not(.dark-theme) .hero-glow-point {
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 70%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 32px;
    background-color: var(--bg-card);
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.dynamic-text-wrap {
    display: inline-block;
    position: relative;
    min-width: 250px;
}

.dynamic-text {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 400;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.scroll-arrow {
    width: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
}

/* 4. Stats Section */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

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

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: var(--font-title);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    .stat-number {
        font-size: 36px;
    }
}

/* 5. Services Section */
.services {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 72px;
}

.section-tag {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 340px;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
}

.service-icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.service-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: auto;
}

.service-learn-more {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.service-learn-more i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

/* Service Card Hover: INVERT EFFECT */
.service-card:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-8px);
}

.service-card:hover .service-icon-wrap {
    border-color: var(--accent-inverse);
    background-color: var(--accent-inverse);
}

.service-card:hover .service-icon {
    color: var(--accent-inverse);
}

.service-card:hover .service-title {
    color: var(--accent-inverse);
}

.service-card:hover .service-text {
    color: var(--border-color-hover);
}

.service-card:hover .service-learn-more {
    color: var(--accent-inverse);
}

.service-card:hover .service-learn-more i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        height: auto;
        min-height: 280px;
    }
}

/* Modal Drawer for Service Detail */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.service-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.modal-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    padding: 48px;
    position: relative;
    z-index: 10;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* Modal Contents */
.modal-body-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-body-title {
    font-size: 28px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.modal-body-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-body-features {
    list-style: none;
    margin-bottom: 32px;
}

.modal-body-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.modal-body-features i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* 6. Calculator Section */
.calculator {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    margin-top: 56px;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.calc-section-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

/* Checkbox Cards Grid */
.services-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.calc-checkbox-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.calc-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-visual {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color-hover);
    display: inline-block;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-visual::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-fast);
}

.calc-checkbox-card input[type="checkbox"]:checked + .checkbox-visual {
    border-color: var(--accent);
}

.calc-checkbox-card input[type="checkbox"]:checked + .checkbox-visual::after {
    opacity: 1;
    transform: scale(1);
}

.calc-checkbox-card:hover {
    border-color: var(--border-color-hover);
}

/* Checked Card Styling */
.calc-checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--accent);
    background-color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.02);
}

body:not(.dark-theme) .calc-checkbox-card:has(input[type="checkbox"]:checked) {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.02);
}

.checkbox-content .title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.checkbox-content .subtitle {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Sliders */
.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-title);
    font-size: 14px;
}

.slider-header label {
    font-weight: 500;
}

.slider-val {
    font-weight: 700;
}

/* Modern Minimalist Range Inputs */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    outline: none;
    transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: transform 0.1s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-tertiary);
}

/* Results Box */
.calc-results {
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    justify-content: space-between;
}

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

.summary-item .label {
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-item .value {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

.summary-divider {
    height: 1px;
    background-color: var(--border-color);
}

.price-box {
    background-color: var(--bg-secondary);
    padding: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.price-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.price-amount {
    display: block;
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
}

.price-amount small {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-subtext {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

.selected-list-box h4 {
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.selected-services-list {
    list-style: none;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selected-services-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-services-list li::before {
    content: '—';
    color: var(--text-tertiary);
}

.btn-calc-cta {
    width: 100%;
}

@media (max-width: 900px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .services-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* 7. Portfolio Section */
.portfolio {
    padding: 120px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.filter-btn:hover {
    border-color: var(--border-color-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--accent);
    color: var(--accent-inverse);
    border-color: var(--accent);
}

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

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.portfolio-img-placeholder {
    width: 100%;
    height: 380px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.portfolio-mock-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-tertiary);
    transition: var(--transition-smooth);
}

.portfolio-mock-icon {
    width: 48px;
    height: 48px;
}

.portfolio-mock-content span {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.portfolio-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.portfolio-cat {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 600;
}

.portfolio-metric {
    text-align: right;
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

.metric-num {
    display: block;
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.metric-desc {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Portfolio Hover State: Zoom & Outline Change */
.portfolio-item:hover .portfolio-img-placeholder {
    border-color: var(--accent);
    background-color: var(--accent-gray);
}

.portfolio-item:hover .portfolio-mock-content {
    color: var(--accent);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .portfolio-img-placeholder {
        height: 280px;
    }
    .portfolio-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .portfolio-metric {
        text-align: left;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 12px;
        width: 100%;
    }
}

/* 8. Testimonials Section */
.testimonials {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-slider-wrapper {
    max-width: 800px;
    margin: 48px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    min-width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.star-fill {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    color: var(--accent);
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-primary);
}

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

.author-info h4 {
    font-size: 15px;
    font-weight: 600;
}

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

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.indicator-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--border-color-hover);
    background: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

/* 9. FAQ Section */
.faq {
    padding: 120px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer-content {
    padding-bottom: 28px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 10. Contact Section */
.contact {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 40px;
    margin: 16px 0 24px;
    text-transform: uppercase;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 48px;
}

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

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-item .icon-wrap {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.detail-item .icon-wrap i {
    width: 18px;
    height: 18px;
}

.detail-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 15px;
}

/* Form Styling */
.contact-form-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

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

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

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

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

.form-group input, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
}

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

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
}

/* Readonly fields styling */
.form-group input[readonly] {
    background-color: var(--accent-gray);
    color: var(--text-secondary);
    border-style: dashed;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    margin-top: 12px;
    gap: 8px;
}

.btn-submit .btn-icon {
    width: 16px;
    height: 16px;
}

/* Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active {
    transform: translateY(0);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.success-icon-wrap {
    width: 64px;
    height: 64px;
    color: var(--accent);
}

.success-icon {
    width: 100%;
    height: 100%;
}

.success-content h3 {
    font-size: 28px;
    text-transform: uppercase;
}

.success-content p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 320px;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

@media (max-width: 600px) {
    .contact-form-box {
        padding: 32px 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

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

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--text-tertiary);
}

.footer-about {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--bg-primary);
}

.footer-socials a i {
    width: 16px;
    height: 16px;
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

.footer-link-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-link-col a, .footer-link-col span {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-link-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .footer-links-group {
        gap: 40px;
        width: 100%;
        justify-content: space-between;
    }
}

/* Scroll Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

