/*
Theme Name: WordPage
Theme URI: https://wordpage.pl
Author: WordPage - Strony Internetowe
Author URI: https://wordpage.pl
Description: Modern minimalist WordPress theme with clean design, inspired by digital marketing agencies.
Version: 3.3
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wordpage
Tags: custom-logo, custom-menu, one-column, full-width-template, theme-options
*/

:root {
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Typography - Font Sizes */
    --font-size-h1: clamp(3rem, 5vw, 3.8rem);
    --font-size-h2: clamp(2rem, 3.5vw, 2.8rem);
    --font-size-h3: clamp(1.4rem, 2.6vw, 1.8rem);
    --font-size-h4: clamp(1.1rem, 2.2vw, 1.2rem);
    --font-size-body: clamp(1rem, 1.2vw, 1.1rem);

    /* Additional Sizes */
    --font-size-large: clamp(1.125rem, 1.5vw, 1.25rem);
    --font-size-small: 14px;
    --font-size-xs: 13px;
    --font-size-xxs: 12px;
    --font-size-xxxs: 11px;

    /* Typography - Font Weights */
    --font-weight-h1: 800;
    --font-weight-h2: 700;
    --font-weight-h3: 700;
    --font-weight-h4: 600;
    --font-weight-body: 400;

    /* Typography - Line Heights */
    --line-height-h1: 1.1;
    --line-height-h2: 1.15;
    --line-height-h3: 1.2;
    --line-height-h4: 1.2;
    --line-height-body: 1.4;

    /* Typography - Letter Spacing */
    --letter-spacing-h1: -0.05em;
    --letter-spacing-h2: -0.05em;
    --letter-spacing-h3: -0.05em;
    --letter-spacing-h4: -0.05em;

    /* Definicja koloru */
    --color-border: #c0c0c0;
    --color-text-h: #000;
    --color-text-p: #2c2c2c;
    --color-text-w: #fff;

}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
    line-height: var(--line-height-body);
    color: #000000;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-family: var(--font-main)!important;
    font-size: var(--font-size-body)!important;
    font-weight: var(--font-weight-body)!important;
    line-height: var(--line-height-body)!important;
    color: #000000!important;
    -webkit-font-smoothing: antialiased!important;
    -moz-osx-font-smoothing: grayscale!important; 
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ===================== LAYOUT ===================== */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.site-main {
    flex: 1;
}

.container {
    width: 75%;
    margin: 0 auto;
}

/* ===================== TYPOGRAPHY ===================== */
h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-h1);
    line-height: var(--line-height-h1);
    letter-spacing: var(--letter-spacing-h1);
    line-height: 1em;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-h2);
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing-h2);
    padding-bottom: 10px;
    line-height: 1em;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-h3);
    line-height: var(--line-height-h3);
    letter-spacing: var(--letter-spacing-h3);
    padding-bottom: 10px;
    line-height: 1em;
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-h4);
    line-height: var(--line-height-h4);
    letter-spacing: var(--letter-spacing-h4);
    padding-bottom: 10px;
    line-height: 1em;
}

p,
li,
a,
span,
button {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 7px 15px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-h2);
    border-radius: 7px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-primary:hover {
    background: #262626;
    border-color: #262626;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: #000000;
    border-color: rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.02);
}

.btn-dark {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.btn-dark:hover {
    background: #000000;
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--font-size-small);
}

.btn-block {
    width: 100%;
}

/* ===================== SNAP LAYOUT ===================== */

body.fullscreen-snap .snap-container {
    overflow-y: auto;
    scroll-behavior: smooth;
}

body.fullscreen-snap .snap-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

html {
    scroll-behavior: smooth;
}

body.fullscreen-snap .snap-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.snap-section:first-child {
    padding-top: 120px;
}

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

/* Base styles for these elements when NOT in snap mode */
.snap-container {
    background: #ffffff;
}

.dark-mode .snap-container {
    background: #0f172a;
}


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

/* Logo */
.site-logo a,
.site-logo .logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
    font-weight: 700;
    color: #1a1a1a;
}

.site-logo svg {
    width: 24px;
    height: 24px;
}

.site-logo img {
    height: 32px;
    width: auto;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative !important;
    z-index: 10002 !important;
    pointer-events: auto !important;
}

.nav-menu li a {
    font-size: var(--font-size-small);
    font-weight: 500;
    color: #666666;
    transition: color 0.3s ease;
    padding: 8px 0;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: #1a1a1a;
}

/* Nav indicator */
.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.nav-indicator.active {
    opacity: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .btn-outline {
    padding: 10px;
    border-radius: 50%;
}

.header-actions .btn-outline svg {
    width: 18px;
    height: 18px;
}

/* Theme Toggle */
#theme-toggle .icon-moon {
    display: none;
}

.dark-mode #theme-toggle .icon-sun {
    display: none;
}

.dark-mode #theme-toggle .icon-moon {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
    z-index: 999;
}

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

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-menu li a {
    font-size: var(--font-size-body);
    font-weight: 500;
    color: #1a1a1a;
    padding: 8px 0;
    display: block;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Hero Background Image */
.hero-bg-image {
    background: url('https://images.unsplash.com/photo-1614850523459-c2f4c699c52e?w=1920&q=80') center center / cover no-repeat;
    background-color: #1a0a2e;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 10, 46, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(26, 10, 46, 0.5) 100%);
    z-index: 2;
}

/* Hero text on video - white colors */
.section-home .section-content {
    position: relative;
    z-index: 2;
}

.section-home .hero-badge {
    background: #F9F9F9F9;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #000;
}

.section-home .badge-dot {
    background: #22c55e;
}

.section-home .title-line {
    color: #fff;
}

.section-home .title-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
}

.section-home .hero-stat .stat-value,
.section-home .hero-stat .stat-plus {
    color: #fff;
}

.section-home .hero-stat .stat-text {
    color: rgba(255, 255, 255, 0.7);
}

.section-home .stat-divider {
    background: rgba(255, 255, 255, 0.3);
}

.section-home .section-scroll-hint {
    color: var(--bg-b);
}

.section-home .scroll-mouse {
    border-color: var(--bg-b);
}

.section-home .scroll-wheel {
    background: var(--bg-b);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: #444444;
    margin-bottom: 32px;
}

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: var(--delay, 0s);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== PORTFOLIO CAROUSEL ===================== */
.portfolio-carousel-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.carousel-header {
    margin-bottom: 40px;
}

.carousel-header-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.carousel-title-wrap {
    flex: 1;
}

.carousel-title {
    color: #1a1a1a;
    margin: 0;
}

.carousel-description {
    flex: 1;
    font-size: var(--font-size-body);
    color: #666666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0;
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 2px solid #e5e5e5;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
}

.carousel-btn:hover {
    border-color: #dc2626;
    background: #dc2626;
}

.carousel-btn:hover svg {
    color: #ffffff;
}

/* Carousel Track */
/* OLD CAROUSEL STYLES REMOVED - Portfolio uses its own styles */

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
    border-radius: 16px;
}

.project-card:hover .project-overlay {
    opacity: 1;
    pointer-events: auto;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 40px;
}

.overlay-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
}

.overlay-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #1a1a1a;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.project-cta:hover {
    transform: translateY(-2px);
    background: #f0f0f0;
}

.project-cta svg {
    width: 16px;
    height: 16px;
}

.project-info {
    padding: 24px;
}

.project-name {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}

.project-desc {
    font-size: var(--font-size-small);
    color: #888888;
    margin: 0;
}

/* Progress Bar */
.carousel-progress {
    height: 3px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 3px;
    width: 20%;
    transition: width 0.3s ease;
}

.bar:nth-child(4) {
    animation-delay: 0.4s, 1.4s;
}

.bar:nth-child(5) {
    animation-delay: 0.5s, 1.5s;
}

/* Dark Mode - Carousel */
.dark-mode .portfolio-carousel-section {
    background: #0a0a0a;
}

.dark-mode .carousel-title {
    color: #ffffff;
}

.dark-mode .carousel-description {
    color: #888888;
}

.dark-mode .carousel-btn {
    border-color: #333333;
    background: #111111;
}

.dark-mode .carousel-btn svg {
    color: #ffffff;
}

.dark-mode .carousel-btn:hover {
    border-color: #dc2626;
    background: #dc2626;
}

.dark-mode .project-card {
    background: #141414;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .project-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dark-mode .project-category {
    background: rgba(20, 20, 20, 0.95);
    color: #ffffff;
}

.dark-mode .project-name {
    color: #ffffff;
}

.dark-mode .project-desc {
    color: #666666;
}

.dark-mode .carousel-progress {
    background: #1a1a1a;
}



/* ===================== SECTION: PORTFOLIO (WHITE CAROUSEL REDESIGN) ===================== */
.section-portfolio.carousel-layout.white-theme {
    padding: 120px 0;
    background: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-header {
    margin-bottom: 60px;
}

.carousel-header-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.carousel-title-wrap {
    flex: 1;
}

.carousel-title {
    font-weight: var(--font-weight-h1);
    color: #000000;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1;
}

.carousel-description {
    font-size: var(--font-size-large);
    color: #666666;
    line-height: 1.6;
    max-width: 500px;
    margin: 24px 0 0 0;
}

.carousel-nav {
    display: flex;
    gap: 16px;
}

.carousel-btn {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #000000;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-4px);
}

/* Carousel Track - REMOVED (only portfolio uses carousel now, styles moved to portfolio section) */

/* Project Card Redesign */
.project-card {
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-image {
    position: relative;
    height: 350px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 24px;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.project-category {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-info {
    padding: 0 12px;
}

.project-name {
    font-weight: 800;
    color: #000000;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.project-desc {
    font-size: var(--font-size-body);
    color: #666666;
    margin: 0;
}

/* Progress Bar */
.carousel-progress-wrap {
    height: 2px;
    background: #f0f0f0;
    border-radius: 2px;
    width: 100%;
    overflow: hidden;
}

.carousel-progress {
    height: 100%;
    background: #000000;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-mode .section-portfolio.carousel-layout.white-theme {
    background: #0a0a0a;
}

.dark-mode .carousel-title,
.dark-mode .project-name {
    color: #ffffff;
}

.dark-mode .carousel-btn {
    background: #111111;
    border-color: #333333;
    color: #ffffff;
}

/* ===================== PORTFOLIO CAROUSEL (INFINITE LOOP) ===================== */
.section-portfolio {
    padding: 120px 0;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-portfolio h2,
.section-portfolio p {
    text-align: center;
}

.section-portfolio p {
    margin-bottom: 80px;
}

.portfolio-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.portfolio-carousel-container::before,
.portfolio-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    pointer-events: none;
    z-index: 2;
}

.portfolio-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.portfolio-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.portfolio-carousel-track {
    display: flex;
    gap: 32px;
    animation: scroll-loop 70s linear infinite;
    width: max-content;
}

.portfolio-carousel-track:hover {
    animation-play-state: paused;
}

.portfolio-carousel-track img {
    width: 330px;
    height: 400px;
    object-fit: cover;
    border-radius: 7px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
}

.portfolio-carousel-track img:hover {
    transform: scale(1.05);
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6 - 32px * 6));
    }
}

/* Dark Mode */
.dark-mode .section-portfolio {
    background: #0a0a0a;
}

.dark-mode .portfolio-carousel-container::before {
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.dark-mode .portfolio-carousel-container::after {
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.dark-mode .portfolio-carousel-track img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dark-mode .portfolio-carousel-track img:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.dark-mode .portfolio-card-image {
    background: #0a0a0a;
}

.dark-mode .portfolio-card-content h3 {
    color: #fff;
}

.dark-mode .portfolio-card-content p {
    color: #999;
}

.dark-mode .carousel-nav-btn {
    background: #111;
    border-color: #222;
}

.dark-mode .carousel-nav-btn svg {
    stroke: #fff;
}

.dark-mode .carousel-nav-btn:hover {
    background: #fff;
    border-color: #fff;
}

.dark-mode .carousel-nav-btn:hover svg {
    stroke: #000;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-carousel-track {
        padding: 20px 80px;
    }

    .portfolio-carousel-container::before,
    .portfolio-carousel-container::after {
        width: 80px;
    }

    .portfolio-card {
        flex: 0 0 320px;
    }

    .portfolio-card-image {
        height: 360px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-carousel-container::before,
    .portfolio-carousel-container::after {
        width: 100px;
    }

    .portfolio-carousel-track img {
        width: 300px;
        height: 400px;
    }

    @keyframes scroll-loop {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 6 - 32px * 6));
        }
    }
}

@media (max-width: 768px) {
    .section-portfolio {
        padding: 80px 0;
    }

    .portfolio-header {
        margin-bottom: 60px;
    }

    .portfolio-carousel-container::before,
    .portfolio-carousel-container::after {
        width: 60px;
    }

    .portfolio-carousel-track {
        gap: 20px;
    }

    .portfolio-carousel-track img {
        width: 250px;
        height: 350px;
    }

    @keyframes scroll-loop {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 6 - 20px * 6));
        }
    }
}

.dark-mode .carousel-btn:hover {
    background: #ffffff;
    color: #000000;
}

.dark-mode .project-card {
    background: transparent;
}

.dark-mode .carousel-progress-wrap {
    background: #1a1a1a;
}

.dark-mode .carousel-progress {
    background: #ffffff;
}

/* ===================== SOLUTION GRID LAYOUT ===================== */
.section-solution {
    padding: 120px 0;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-solution .container {
    max-width: 1400px;
}

/* Row 1: 2 columns (50% / 50%) */
.solution-row-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Row 2+3: Complex grid - 4 columns x 2 rows */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    grid-auto-flow: column;
}

/* Tile styles */
.solution-tile {
    border-radius: 7px;
    padding: 25px;
    transition: all 0.3s ease;
}

/* Text tile (Row 1 - Left) */
.solution-tile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-tag {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Image tile (Row 1 - Right) */
.solution-tile-image {
    padding: 0;
    overflow: hidden;
    height: 320px;
}

.solution-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-tile-image:hover img {
    transform: scale(1.05);
}

/* White tiles */
.solution-tile-white {
    background: #ffffff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.solution-tile-white p {
    font-size: var(--font-size-small)!important;
    line-height: 1.4!important;
    margin: 0;
}

/* 100% tile */
.solution-tile-percent {
    flex-direction: column;
    gap: 12px;
}

.percent-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.solution-tile-percent p {
    font-size: 0.95rem;
    color: #666;
}

/* Dark tile (spans 2 rows - Column 3) */
.solution-tile-dark {
    background: var(--bg-b);
    color: var(--color-text-w);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.solution-tile-tall {
    grid-row: span 2;
}

.solution-tile-dark p {
    color: var(--color-text-w)!important;
    font-size: var(--font-size-small)!important;
    line-height: 1.2;
    margin: 0;
}

/* Green tiles (Column 4) */
.solution-tile-green {
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.solution-tile-green p {
    font-size: var(--font-size-small)!important;
    line-height: 1.2;
    margin: 0;
}

.solution-tile-green.solution-tile-tall {
    min-height: 420px;
    border: 1px solid var(--color-border);
    border-radius: 7px;
}

/* Dark Mode */
.dark-mode .section-solution {
    background: #0a0a0a;
}

.dark-mode .solution-tile-text,
.dark-mode .solution-tile-white {
    background: #111;
    border-color: #222;
}

.dark-mode .solution-tile-white p {
    color: #ddd;
}

.dark-mode .percent-number {
    color: #fff;
}

.dark-mode .solution-tile-percent p {
    color: #999;
}

.dark-mode .solution-tag {
    background: #fff;
    color: #000;
}

.dark-mode .solution-tile-dark {
    background: #1a1a1a;
}

/* Responsive */
@media (max-width: 1024px) {
    .solution-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .solution-tile-tall {
        grid-row: span 1;
    }

    .solution-tile {
        padding: 32px;
    }

    .solution-tile-image {
        min-height: 350px;
    }

    .solution-tile-white,
    .solution-tile-green {
        min-height: 180px;
    }

    .percent-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-solution {
        padding: 80px 0;
    }

    .solution-row-1 {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solution-tile {
        padding: 28px;
    }

    .solution-tile-image {
        min-height: 280px;
    }

    .solution-tile-white,
    .solution-tile-dark,
    .solution-tile-green {
        min-height: 180px;
    }

    .percent-number {
        font-size: 2.5rem;
    }

    .solution-tile-dark p {
        font-size: 1rem;
    }

    .solution-tile-green h3 {
        font-size: 1.15rem;
    }
}

/* ===================== SECTION: SERVICES (REDESIGN) ===================== */
.section-services.redesign {
    padding: 100px 0;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.services-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

.services-headline {
    font-weight: 800;
    line-height: 1.1;
    max-width: 900px;
    letter-spacing: -0.04em;
    color: #000000;
    margin: 0;
}

.services-author {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    padding-top: 10px;
}

.author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

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

.author-name {
    font-weight: 700;
    font-size: var(--font-size-small);
    color: #000000;
    line-height: 1.2;
}

.author-role {
    font-size: var(--font-size-xs);
    color: #666666;
}

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

.stat-card {
    background: #f8f9fb;
    padding: 48px 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-desc {
    font-size: var(--font-size-small);
    line-height: 1.5;
    color: #444444;
    max-width: 240px;
    margin: 0;
}

.stat-number {
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #000000;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .stat-number {
        font-size: clamp(3.5rem, 6vw, 5rem);
    }
}

@media (max-width: 992px) {
    .services-top-row {
        flex-direction: column;
        gap: 40px;
    }

    .services-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .stat-card {
        min-height: auto;
        padding: 40px;
    }

    .stat-number {
        margin-top: 32px;
    }
}

.dark-mode .section-services.redesign {
    background: #0a0a0a;
}

.dark-mode .services-headline,
.dark-mode .author-name,
.dark-mode .stat-number {
    color: #ffffff;
}

.dark-mode .stat-card {
    background: #111111;
}

.dark-mode .stat-desc,
.dark-mode .author-role {
    color: #999999;
}

/* ===================== TRUST SECTION ===================== */
.trust-section {
    padding: 60px 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.trust-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: var(--font-size-small);
    font-weight: 700;
    color: #1a1a1a;
}

.trust-partners {
    display: flex;
    gap: 24px;
}

.trust-partners span {
    font-size: var(--font-size-xs);
    color: #999999;
}

.trust-text {
    font-size: var(--font-size-xs);
    color: #666666;
    margin-left: auto;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-logo {
    opacity: 0.4;
    transition: opacity 0.3s;
}

.trust-logo:hover {
    opacity: 0.8;
}

.trust-logo svg {
    height: 24px;
    width: auto;
}

/* ===================== ABOUT SECTION ===================== */
.about-section {
    background: #ffffff;
}

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

.section-label {
    display: inline-block;
    font-size: var(--font-size-xxs);
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-weight: var(--font-weight-h1);
    margin-bottom: 24px;
    color: #1a1a1a;
}

.about-text {
    font-size: var(--font-size-body);
    color: #666666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: #1a1a1a;
}

.stat-label {
    font-size: var(--font-size-small);
    color: #999999;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================== CONTACT SECTION ===================== */
.contact-section {
    background: #ffffff;
}

/* Contact Header */
.contact-header {
    max-width: 600px;
    margin-bottom: 60px;
}

.contact-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-h1);
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.title-light {
    color: #999999;
}

.contact-subtitle {
    font-size: var(--font-size-body);
    color: var(--color-text-pl);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 15px;
}

.form-field {
    margin-bottom: 15px;
}

.form-row .form-field {
    margin-bottom: 0;
}

.form-field label {
    font-size: var(--font-size-small);
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 15px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px 0;
    font-family: inherit;
    font-size: var(--font-size-body);
    color: #1a1a1a;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    outline: none;
    transition: all 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999999;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: #1a1a1a;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Service Options */
.service-options,
.budget-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-option,
.budget-option {
    cursor: pointer;
}

.service-option input,
.budget-option input {
    display: none;
}

.option-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: var(--font-size-small);
    font-weight: 500;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.option-btn:hover {
    border-color: #1a1a1a;
}

.service-option input:checked+.option-btn,
.budget-option input:checked+.option-btn {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

/* Submit Button */
.form-submit {
    margin-top: 15px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: var(--font-size-small);
    font-weight: 600;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Dark Mode - Contact */
.dark-mode .contact-section {
    background: #0a0a0a;
}

.dark-mode .contact-title {
    color: #ffffff;
}

.dark-mode .title-light {
    color: #666666;
}

.dark-mode .contact-subtitle {
    color: #888888;
}

.dark-mode .form-field label {
    color: #ffffff;
}

.dark-mode .form-field input,
.dark-mode .form-field textarea {
    color: #ffffff;
    border-bottom-color: #333333;
}

.dark-mode .form-field input::placeholder,
.dark-mode .form-field textarea::placeholder {
    color: #666666;
}

.dark-mode .form-field input:focus,
.dark-mode .form-field textarea:focus {
    border-bottom-color: #ffffff;
}

.dark-mode .option-btn {
    background: #111111;
    border-color: #333333;
    color: #ffffff;
}

.dark-mode .option-btn:hover {
    border-color: #ffffff;
}

.dark-mode .service-option input:checked+.option-btn,
.dark-mode .budget-option input:checked+.option-btn {
    background: #ffffff;
    border-color: #ffffff;
    color: #1a1a1a;
}

.dark-mode .btn-submit {
    background: #ffffff;
    color: #1a1a1a;
}

.dark-mode .btn-submit:hover {
    background: #f0f0f0;
}

/* ===================== FOOTER ===================== */
.site-footer {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    height: 24px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-text {
    font-size: var(--font-size-small);
    color: #999999;
}

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

.footer-links a {
    font-size: var(--font-size-small);
    color: #666666;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1a1a1a;
}

/* ===================== DARK MODE ===================== */
.dark-mode body,
html.dark-mode body {
    background: #0a0a0a;
    color: #e5e5e5;
}

.dark-mode .site-header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: #1a1a1a;
}

.dark-mode .site-logo a,
.dark-mode .site-logo .logo-text {
    color: #ffffff;
}

.dark-mode .nav-menu li a {
    color: #999999;
}

.dark-mode .nav-menu li a:hover,
.dark-mode .nav-menu li.current-menu-item a {
    color: #ffffff;
}

.dark-mode .nav-indicator {
    background: #ffffff;
}

.dark-mode .btn-outline {
    border-color: #333333;
    color: #ffffff;
}

.dark-mode .btn-outline:hover {
    border-color: #ffffff;
}

.dark-mode .btn-primary,
.dark-mode .btn-dark {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

.dark-mode .btn-primary:hover,
.dark-mode .btn-dark:hover {
    background: #e5e5e5;
}

.dark-mode .mobile-menu-toggle span {
    background: #ffffff;
}

.dark-mode .mobile-nav {
    background: #0a0a0a;
    border-bottom-color: #1a1a1a;
}

.dark-mode .mobile-menu li a {
    color: #ffffff;
}

/* Dark Mode - Hero */
.dark-mode .hero-section {
    background: #0a0a0a;
}

.dark-mode .hero-gradient {
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 0, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 50, 100, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 200, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 150, 0, 0.2) 0%, transparent 40%);
}

.dark-mode .hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.dark-mode .shape-1 {
    background: linear-gradient(135deg, rgba(255, 50, 100, 0.5) 0%, rgba(120, 0, 255, 0.3) 100%);
}

.dark-mode .shape-2 {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.45) 0%, rgba(120, 0, 255, 0.25) 100%);
}

.dark-mode .shape-3 {
    background: linear-gradient(135deg, rgba(255, 150, 0, 0.4) 0%, rgba(255, 50, 100, 0.2) 100%);
}

.dark-mode .shape-4 {
    background: linear-gradient(135deg, rgba(120, 0, 255, 0.45) 0%, rgba(0, 200, 255, 0.25) 100%);
}

.dark-mode .hero-badge {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: #cccccc;
}

.dark-mode .title-line {
    color: #ffffff;
}

.dark-mode .title-outline {
    -webkit-text-stroke-color: #ffffff;
}

.dark-mode .hero-description {
    color: #888888;
}

.dark-mode .btn-ghost {
    color: #ffffff;
}

.dark-mode .btn-ghost::after {
    background: #ffffff;
}

.dark-mode .stat-value,
.dark-mode .stat-plus {
    color: #ffffff;
}

.dark-mode .stat-text {
    color: #666666;
}

.dark-mode .stat-divider {
    background: #333333;
}

.dark-mode .mouse {
    border-color: #444444;
}

.dark-mode .wheel {
    background: #666666;
}

.dark-mode .scroll-indicator span {
    color: #666666;
}

/* Dark Mode - Features */
.dark-mode .features-section {
    background: #0a0a0a;
    border-top-color: #1a1a1a;
}

.dark-mode .feature-item:hover {
    background: #111111;
}

.dark-mode .feature-icon {
    background: #1a1a1a;
}

.dark-mode .feature-icon svg {
    color: #ffffff;
}

.dark-mode .feature-title {
    color: #ffffff;
}

.dark-mode .feature-description {
    color: #999999;
}

/* Dark Mode - Trust */
.dark-mode .trust-section {
    background: #111111;
    border-top-color: #1a1a1a;
}

.dark-mode .trust-label {
    color: #ffffff;
}

.dark-mode .trust-partners span,
.dark-mode .trust-text {
    color: #666666;
}

.dark-mode .trust-logo {
    color: #ffffff;
}

/* Dark Mode - About */
.dark-mode .about-section {
    background: #0a0a0a;
}

.dark-mode .section-label {
    color: #666666;
}

.dark-mode .section-title {
    color: #ffffff;
}

.dark-mode .about-text,
.dark-mode .contact-text {
    color: #999999;
}

.dark-mode .stat-number {
    color: #ffffff;
}

.dark-mode .stat-label {
    color: #666666;
}

/* Dark Mode - Contact */
.dark-mode .contact-section {
    background: #111111;
}

.dark-mode .contact-label {
    color: #666666;
}

.dark-mode .contact-value {
    color: #ffffff;
}

.dark-mode .contact-value:hover {
    color: #999999;
}

.dark-mode .contact-form-wrapper {
    background: #0a0a0a;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background: #111111;
    border-color: #1a1a1a;
    color: #ffffff;
}

.dark-mode .form-group input::placeholder,
.dark-mode .form-group textarea::placeholder {
    color: #666666;
}

.dark-mode .form-group input:focus,
.dark-mode .form-group textarea:focus {
    border-color: #ffffff;
    background: #0a0a0a;
}

/* Dark Mode - Footer */
.dark-mode .site-footer {
    background: #0a0a0a;
    border-top-color: #1a1a1a;
}

.dark-mode .footer-text {
    color: #666666;
}

.dark-mode .footer-links a {
    color: #999999;
}

.dark-mode .footer-links a:hover {
    color: #ffffff;
}

/* ===================== PRICING SECTION ===================== */
.pricing-section {
    background: #ffffff;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-h1);
    color: #1a1a1a;
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: var(--font-size-body);
    color: #666666;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.2;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    padding: 6px 8px;
    border-radius: 100px;
}

.toggle-label {
    font-size: var(--font-size-small);
    font-weight: 500;
    color: #999999;
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-label.active {
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toggle-switch {
    display: none;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* Pricing Card - Light background for left/right cards */
.pricing-card {
    background: #f5f5f5;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card .plan-name,
.pricing-card .plan-desc,
.pricing-card .price-amount {
    color: #18181b;
}

.pricing-card .plan-features li {
    color: #52525b;
}

/* Featured Card - Dark background for middle card */
.pricing-card-featured {
    background: var(--bg-b);
    border-color: #27272a;
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card-featured .plan-name,
.pricing-card-featured .plan-desc,
.pricing-card-featured .price-amount {
    color: #ffffff;
}

.pricing-card-featured .plan-features li {
    color: #d4d4d8;
}

.pricing-card-featured .features-list svg,
.pricing-card-featured .plan-features svg {
    fill: #ffffff;
}

/* Card Header */
.pricing-card-header {
    margin-bottom: 24px;
}

.plan-name {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -1px;
    align-self: flex-start;
}

.plan-description {
    font-size: var(--font-size-small);
    color: #666666;
    line-height: 1.5;
}

.plan-desc {
    text-align: left;
    font-size: var(--font-size-small);
    line-height: normal;
}

/* Features List */
.pricing-card-features {
    flex: 1;
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--font-size-small);
    color: #444444;
    line-height: 1.4;
}

.features-list svg,
.plan-features svg {
    width: 18px;
    height: 18px;
    fill: #18181b;
    flex-shrink: 0;
    margin-top: 1px;
    margin-right: 10px;
}

/* Card Footer */
.pricing-card-footer {
    text-align: center;
}

.plan-price {
    margin-bottom: 20px;
    display: ruby;
    align-self: flex-start;
}

.price-amount {
    font-size: var(--font-size-h1);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    display: block;
}

.price-period {
    font-size: var(--font-size-small);
    color: #71717a;
    display: inline;
}

.features-title {
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #18181b;
    align-self: flex-start;
}

.pricing-card-featured .features-title {
    color: #ffffff;
}

.price-billing {
    font-size: var(--font-size-xs);
    color: #999999;
    display: block;
    margin-top: 4px;
}

.plan-price-custom .price-amount {
    font-size: var(--font-size-h2);
    font-weight: 700;
}

.plan-note {
    display: block;
    font-size: var(--font-size-xxs);
    color: #999999;
    margin-top: 12px;
}

/* Pricing Card Buttons */
.pricing-card .btn {
    padding: 14px 24px;
    width: 100%;
}

.pricing-card .btn-outline {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pricing-card .btn-outline:hover {
    background: #fff;
    border-color: #000;
    color: #000;
}

.pricing-card-featured .btn-primary {
    background: #ffffff;
    color: #18181b;
    border-color: #ffffff;
}

.pricing-card-featured .btn-primary:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
    color: #000;
}

/* Dark Mode - Pricing */
.dark-mode .pricing-section {
    background: #0a0a0a;
}

.dark-mode .pricing-title {
    color: #ffffff;
}

.dark-mode .pricing-subtitle {
    color: #999999;
}

.dark-mode .billing-toggle {
    background: #1a1a1a;
}

.dark-mode .toggle-label {
    color: #666666;
}

.dark-mode .toggle-label.active {
    background: #333333;
    color: #ffffff;
}

.dark-mode .pricing-card {
    background: #1a1a1a;
    border-color: #27272a;
}

.dark-mode .pricing-card:hover {
    border-color: #3f3f46;
}

.dark-mode .pricing-card .plan-name,
.dark-mode .pricing-card .price-amount {
    color: #ffffff;
}

.dark-mode .pricing-card .plan-desc,
.dark-mode .pricing-card .plan-features li {
    color: #d4d4d8;
}

.dark-mode .pricing-card .features-title {
    color: #ffffff;
}

.dark-mode .plan-description {
    color: #888888;
}

.dark-mode .features-list li {
    color: #bbbbbb;
}

.dark-mode .features-list svg,
.dark-mode .plan-features svg {
    fill: #ffffff;
}

.dark-mode .price-period {
    color: #888888;
}

.dark-mode .pricing-card .btn-outline {
    border-color: #3f3f46;
    color: #ffffff;
}

.dark-mode .pricing-card .btn-outline:hover {
    background: #27272a;
    border-color: #52525b;
}

.dark-mode .pricing-card-featured {
    background: #0a0a0a;
    border-color: #18181b;
}

.dark-mode .pricing-card-featured .plan-name,
.dark-mode .pricing-card-featured .price-amount {
    color: #ffffff;
}

.dark-mode .pricing-card-featured .plan-desc,
.dark-mode .pricing-card-featured .features-list li,
.dark-mode .pricing-card-featured .plan-features li,
.dark-mode .pricing-card-featured .price-period {
    color: #d4d4d8;
}

.dark-mode .pricing-card-featured .features-title {
    color: #ffffff;
}

.dark-mode .pricing-card-featured .features-list svg,
.dark-mode .pricing-card-featured .plan-features svg {
    fill: #18181b;
}

.dark-mode .pricing-card-featured .plan-badge {
    background: #ffffff;
    color: #18181b;
}

.dark-mode .pricing-card-featured .btn-primary {
    background: #ffffff;
    color: #18181b;
    border-color: #ffffff;
}

.dark-mode .pricing-card-featured .btn-primary:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
}

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

    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .title-line {
        font-size: clamp(3rem, 9vw, 5rem);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: var(--font-size-h2);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-card-featured {
        transform: none;
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-header {
        flex-direction: column;
        gap: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
        max-height: 400px;
    }

    /* OLD CAROUSEL RESPONSIVE STYLES REMOVED */

    .carousel-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .carousel-description {
        max-width: 100%;
    }

    /* Contact responsive */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-field {
        margin-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 16px 40px;
    }

    .title-line {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: var(--font-size-body);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-stat {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .stat-text {
        margin-left: 0;
        margin-top: 4px;
    }

    .scroll-indicator {
        display: none;
    }

    .shape-1,
    .shape-2 {
        width: 200px;
        height: 200px;
    }

    .shape-3,
    .shape-4 {
        width: 150px;
        height: 150px;
    }

    .services-section {
        padding: 60px 0;
    }

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

    .service-card {
        padding: 24px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

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

    .trust-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .trust-text {
        margin-left: 0;
    }

    .trust-logos {
        justify-content: flex-start;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    /* Contact mobile */
    .contact-section {
        padding: 60px 0 80px;
    }


    .service-options,
    .budget-options {
        gap: 8px;
    }

    .option-btn {
        padding: 10px 18px;
        font-size: var(--font-size-xs);
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* OLD CAROUSEL MOBILE STYLES REMOVED */

    .project-image {
        height: 180px;
    }

    .carousel-nav {
        position: absolute;
        top: 0;
        right: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-container {
        padding: 12px 16px;
    }

    .hero-section {
        padding: 100px 0 40px;
    }

    .case-card-content {
        padding: 20px;
    }

    .case-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .case-stats .btn {
        width: 100%;
    }

    .stat-number {
        font-size: var(--font-size-h2);
    }
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #fff;
    pointer-events: none;
}


.section-bg-dark {
    background: #0a0a0a;
}

.dark-mode .section-bg {
    background: #111;
}

.dark-mode .section-bg-alt {
    background: #0a0a0a;
}

.section-content {
    position: relative;
    z-index: 2;
    width: 80%;
    padding: 0 0;
}

/* Section Animations - DISABLED, content always visible */

/* Section Title */
.section-title-large {
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.07em;
}

.dark-mode .section-title-large {
    color: #fff;
}

.text-white {
    color: #fff !important;
}

.text-accent {
    color: #dc2626;
}

/* ===================== SECTION: HOME ===================== */
.section-home .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.section-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: var(--font-size-xs);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===================== SECTION: SERVICES ===================== */
.section-services {
    padding: 120px 0;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 80px;
}

.services-header-left {
    max-width: 600px;
}

.services-header-right {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.services-description {
    font-size: var(--font-size-large);
    line-height: 1.6;
    color: #475569;
}

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

body.fullscreen-snap .services-header {
    margin-bottom: 60px;
    padding-bottom: 0;
}

body.fullscreen-snap .services-grid-snap {
    margin-top: 0;
}

/* ===================== SECTION: TESTIMONIALS ===================== */
.section-testimonials {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

.section-testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
}


.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonials-row {
    position: relative;
    overflow: hidden;
}

.testimonials-row::before,
.testimonials-row::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-row::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.testimonials-row::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.testimonials-row-right .testimonials-track {
    animation: scroll-right 40s linear infinite;
}

.testimonials-row-left .testimonials-track {
    animation: scroll-left 40s linear infinite;
}

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

.testimonial-card {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 7px;
    padding: 28px;
    width: 380px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    margin-bottom: 12px;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.testimonial-location {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.quote-icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    color: var(--primary-red)
    opacity: 0.8;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-380px * 3 - 20px * 3));
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(calc(-380px * 3 - 20px * 3));
    }
    100% {
        transform: translateX(0);
    }
}

/* Dark Mode */
.dark-mode .section-testimonials {
    background: #0a0a0a;
}

.dark-mode .testimonials-row::before {
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.dark-mode .testimonials-row::after {
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.dark-mode .testimonial-card {
    background: #111;
    border-color: #222;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .testimonial-author {
    color: #fff;
}

.dark-mode .testimonial-location {
    color: #9CA3AF;
}

.dark-mode .testimonial-text {
    color: #D1D5DB;
}

/* Responsive */
@media (max-width: 768px) {
    .section-testimonials {
        padding: 80px 0;
    }

    .section-testimonials h2 {
        margin-bottom: 40px;
    }

    .testimonials-row::before,
    .testimonials-row::after {
        width: 60px;
    }

    .testimonial-card {
        width: 300px;
        padding: 20px;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }

    .quote-icon {
        width: 24px;
        height: 24px;
    }

    @keyframes scroll-right {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 3 - 20px * 3));
        }
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(calc(-300px * 3 - 20px * 3));
        }
        100% {
            transform: translateX(0);
        }
    }
}

/* ===================== SECTION: FAQ ===================== */
.section-faq {
    padding: 120px 0;
}

.dark-mode .section-faq {
    background: #0b1120;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: stretch;
}

.faq-card {
    background: #ffffff;
    border-radius: 7px;
    padding: 40px;
    border: 1px solid var(--color-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-mode .faq-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.04);
}

.faq-header-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-header-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-footer-note {
    margin-top: auto;
    padding-top: 60px;
}

.faq-subtitle {
    font-size: var(--font-size-small);
    color: #64748b;
    line-height: 1.6;
}

.faq-accordion-card {
    padding: 40px 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dark-mode .faq-item {
    border-color: rgba(255, 255, 255, 0.04);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question span:first-child {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
}

.dark-mode .faq-question span:first-child {
    color: #ffffff;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    color: #000000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-mode .faq-toggle {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-toggle {
    background: #1a1a1a;
    color: #ffffff;
    transform: rotate(45deg);
}

.dark-mode .faq-item.active .faq-toggle {
    background: #ffffff;
    color: #000000;
}

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

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

.faq-answer p {
    font-size: var(--font-size-body);
    line-height: 1.2;
    margin: 0;
}

.dark-mode .faq-answer p {
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-header-card {
        min-height: auto;
    }

    .faq-footer-note {
        padding-top: 32px;
    }
}

/* ===================== SECTION: PORTFOLIO ===================== */

body.fullscreen-snap .portfolio-header-snap {
    margin-bottom: 0;
}

.portfolio-header-snap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.portfolio-desc {
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
}

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

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay span {
    font-size: var(--font-size-xxxs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dc2626;
}

.portfolio-overlay h3 {
    font-size: var(--font-size-body);
    font-weight: 600;
    color: #fff;
    margin-top: 4px;
}

/* ===================== SECTION: ABOUT ===================== */
body.fullscreen-snap .about-grid-snap {
    gap: 40px;
}

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

.about-content-snap {
    max-width: 500px;
}

body.fullscreen-snap .about-stats-snap {
    gap: 24px;
    margin-bottom: 0;
}

.about-stats-snap {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.about-stat-item {
    text-align: left;
}

.stat-num {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-h1);
    color: #1a1a1a;
    line-height: 1;
}

.stat-suffix {
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: #dc2626;
}

.about-stat-item .stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: #888;
    margin-top: 4px;
}

.dark-mode .stat-num {
    color: #fff;
}

.about-image-snap {
    position: relative;
}

.about-image-snap img {
    width: 100%;
    border-radius: 16px;
}

/* ===================== SECTION: PRICING ===================== */


.pricing-header-snap {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header-snap .pricing-subtitle {
    color: var(--color-text-p);
    margin-bottom: 50px;
}

.dark-mode .pricing-header-snap .pricing-subtitle {
    color: var(--text-muted);
}

.pricing-grid-snap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.pricing-grid-snap .pricing-card {
    padding: 24px;
    text-align: center;
}

.pricing-grid-snap .plan-price {
    margin: 12px 0;
}

.pricing-grid-snap .plan-price .price-amount {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-h1);
}

.pricing-grid-snap .plan-features {
    text-align: left;
    margin-bottom: 20px;
}

.pricing-grid-snap .plan-features li {
    font-size: var(--font-size-small);
    justify-content: flex-start;
    display: flex;
}

.dark-mode .pricing-grid-snap .plan-features li {
    color: #aaa;
}

/* ===================== SECTION: CONTACT ===================== */
.contact-grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info .section-title-large {
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: var(--font-size-body);
    color: #999;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: var(--font-size-xxs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    font-weight: 600;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: var(--font-size-body);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #999;
}

.contact-socials {
    display: flex;
    gap: 16px;
}

.contact-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-socials svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
}

.form-heading {
    font-size: var(--font-size-h3);
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subheading {
    font-size: var(--font-size-small);
    color: #999;
    margin-bottom: 32px;
}

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

/* Contact Section - Dark Background */

.section-contact .form-field input::placeholder,
.section-contact .form-field textarea::placeholder {
    color: #666666;
}

.section-contact .form-field input:focus,
.section-contact .form-field textarea:focus {
    border-bottom-color: #ffffff;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed #333333;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

.file-upload-label svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.file-upload-label span {
    color: #ffffff;
    font-size: var(--font-size-small);
    font-weight: 500;
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: var(--font-size-small);
    color: #ffffff;
}

.file-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: var(--font-size-large);
    padding: 0 8px;
    line-height: 1;
}

.file-item-remove:hover {
    color: #ff6666;
}

/* Snap Footer */
.snap-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: var(--font-size-xs);
    color: #888;
}

/* ===================== SNAP RESPONSIVE ===================== */
@media (max-width: 1200px) {
    .services-grid-snap {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid-snap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .snap-header {
        padding: 16px 24px;
    }

    .snap-page-indicator {
        display: none;
    }

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

    .about-image-snap {
        order: -1;
    }

    .contact-grid-two-col {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info {
        position: static;
    }

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

    .pricing-grid-snap {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .snap-header {
        padding: 12px 16px;
    }

    body.fullscreen-snap .section-content {
        padding: 0;
    }

    .services-grid-snap {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-grid-snap {
        grid-template-columns: 1fr;
    }

    .portfolio-header-snap {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-stats-snap {
        flex-wrap: wrap;
        gap: 24px;
    }

    .section-scroll-hint {
        bottom: 20px;
    }
}

@media (max-width: 480px) {

    .stat-num {
        font-size: var(--font-size-h2);
    }

    .snap-logo span {
        display: none;
    }
}

/* ===================== SECTION: REVIEWS ===================== */
.section-reviews {
    overflow: hidden;
}

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.reviews-header-left {
    flex: 1;
}

.reviews-nav {
    display: flex;
    gap: 12px;
}

.review-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: none;
    background: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.review-nav-btn:hover {
    background: #333;
    color: #fff;
}

.review-nav-btn svg {
    width: 20px;
    height: 20px;
}

.dark-mode .review-nav-btn {
    background: #fff;
    color: #000;
}

.dark-mode .review-nav-btn:hover {
    background: #ddd;
    color: #000;
}

/* Reviews Slider */
.reviews-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -40px;
    padding: 0 40px;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    gap: 24px;
    padding-bottom: 20px;
}

/* Review Card */
.review-card {
    flex: 0 0 320px;
    background: #fff;
    border: none;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.review-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.dark-mode .review-card {
    background: #1a1a1a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.dark-mode .review-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.review-company {
    display: flex;
    align-items: center;
}

.company-logo {
    font-size: var(--font-size-xxs);
    font-weight: 600;
    color: #1a1a1a;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 2px;
}

.dark-mode .company-logo {
    background: #2a2a2a;
    border-color: #333;
    color: #fff;
}

.dark-mode .company-logo::before {
    background: #fff;
}

.review-quote {
    font-size: var(--font-size-h1);
    font-weight: 400;
    color: #ddd;
    line-height: 0.8;
    margin-bottom: 20px;
    font-family: var(--font-main);
}

.dark-mode .review-quote {
    color: #444;
}

.review-text {
    font-size: 12px;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 32px;
    flex: 1;
    font-family: var(--font-main);
    font-weight: 500;
}

.dark-mode .review-text {
    color: #eee;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 16px;
    border-left: 2px solid #e0e0e0;
}

.dark-mode .review-author {
    border-left-color: #333;
}

.review-author strong {
    font-size: var(--font-size-small);
    font-weight: 600;
    color: #1a1a1a;
}

.dark-mode .review-author strong {
    color: #fff;
}

.review-author span {
    font-size: var(--font-size-xs);
    color: #888;
    line-height: 1.4;
}

/* Reviews Responsive */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .reviews-slider {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .review-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 260px;
        padding: 20px;
    }

    .review-avatar {
        width: 48px;
        height: 48px;
    }

    .review-quote {
        font-size: var(--font-size-h1);
    }
}


/* --- UTILITY & ANIMATIONS --- */
.pulse-uptime {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-uptime 2s infinite;
}

/* ===================== NEW HERO & UTILITY STYLES ===================== */
:root {
    --primary-red: #E21B22;
    --text-main: #000;
    --text-muted: #4e4e4e;
    --bg: #ffffff;
    --bg-b: #000;
    --glass: rgba(255, 255, 255, 0.7);
}

/* --- INTEGRATED HERO STYLES --- */
.section-home {
    background: var(--bg);
    color: var(--text-main);
    overflow: visible;
}

.login-btn {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: var(--font-size-small);
    padding: 10px 24px;
    border-radius: 100px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
    margin-right: 8px;
}

.login-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* --- DARK MODE OVERRIDES --- */
body.dark-mode {
    --bg: var(--text-main);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.8);
    background: #0f172a;
}

.dark-mode .login-btn {
    color: var(--bg);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .snap-logo .logo-img {
    filter: brightness(0) invert(1);
}

.dark-mode .snap-theme-toggle {
    color: var(--bg);
}

.dark-mode .hero-badge {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .social-proof {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .glass-card {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.dark-mode .bar {
    background: #334155;
}

/* --- HERO GRID & CONTENT --- */
.section-home .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .section-home .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .visual {
        display: none !important;
    }
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 100px;
    border: 1px solid #f1f5f9;
    font-size: var(--font-size-xs);
    font-weight: 700;
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
}

.hero-title {
    font-weight: var(--font-weight-h2);
    letter-spacing: -4px;
    margin-bottom: 24px;
    text-transform: none;
}

.hero-title span {
    color: var(--primary-red);
}

.hero-description {
    font-size: var(--font-size-body);
    color: var(--text-muted);
    line-height: 1.2;
    margin-bottom: 45px;
    max-width: 520px;
}

.btns-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-btn {
    background: var(--text-main);
    color: white;
    padding: 16px 36px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-small);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.cta-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-btn:hover {
    color: white;
    box-shadow: 0 15px 30px rgba(226, 27, 34, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

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

/* --- VISUAL SIDE --- */
.visual {
    position: relative;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-img-wrap {
    position: relative;
    width: 100%;
    height: 80%;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?w=1200&q=90') center center / cover;
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff, transparent 60%);
}

.dark-mode .overlay-gradient {
    background: linear-gradient(to right, #0f172a, transparent 60%);
}

.glass-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    z-index: 50;
    animation: float 6s infinite ease-in-out;
}

.card-stats {
    top: 20%;
    left: -15%;
    width: 240px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.stats-icon {
    flex-shrink: 0;
}

.stats-content {
    display: flex;
    flex-direction: column;
}

.stats-content .label-sm {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.stats-content .val-md {
    font-size: 14px;
    font-weight: 700;
}

.card-status {
    bottom: 25%;
    left: 5%;
    width: 240px;
    animation-delay: -3s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.status-icon {
    flex-shrink: 0;
}

.status-content {
    display: flex;
    flex-direction: column;
}

.status-content .label-sm {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.status-content .val-md {
    font-size: 14px;
    font-weight: 700;
}

.card-uptime {
    top: 45%;
    right: 5%;
    width: 240px;
    animation-delay: -1.5s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.uptime-icon {
    flex-shrink: 0;
}

.uptime-content {
    display: flex;
    flex-direction: column;
}

.uptime-content .label-sm {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.uptime-content .val-md {
    font-size: 14px;
    font-weight: 700;
}

.mini-chart {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 30px;
    margin-top: 10px;
}

.bar {
    width: 100%;
    background: #e2e8f0;
    border-radius: 4px;
    transition: 0.3s;
}

.bar-active {
    background: var(--primary-red);
}

/* --- SOCIAL PROOF --- */
.social-proof {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.avatar-stack-social {
    display: flex;
    align-items: center;
}

.avatar-stack-social img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.avatar-stack-social img:first-child {
    margin-left: 0;
}

.stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===================== SNAP HEADER & NAV ===================== */
.snap-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.snap-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.dark-mode .snap-header.scrolled {
    background: rgba(15, 23, 42, 0.9);
}

.snap-header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 10px auto;
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

.snap-logo .logo-img {
    height: 32px;
    width: auto;
}

.dark-mode .snap-logo .logo-img {
    filter: brightness(0) invert(1);
}

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

.snap-theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

/* ===================== FULLSCREEN PAGES (CONTACT & PORTFOLIO) ===================== */
.fullscreen-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 60px 0 60px;
    overflow-x: hidden;
}

.page-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-bg-light {
    background: #f8fafc;
}

.page-bg-dark {
    background: #0f172a;
}

.dark-mode .page-bg-light {
    background: #0f172a;
}

.page-content {
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Contact Grid Fullscreen */
.contact-fullscreen-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-title-large {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h1);
    font-weight: var(--font-weight-h1);
    margin-bottom: 24px;
}

.title-light {
    color: var(--primary-red);
}

.contact-subtitle {
    font-size: var(--font-size-body);
    color: var(--text-muted);
}

/* Page Navigation Hint */
.page-nav-hint {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 100px;
    z-index: 100;
    pointer-events: none;
}

.page-link {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.5;
    transition: 0.3s;
}

.page-link:hover {
    opacity: 1;
    color: var(--primary-red);
}

.page-link svg {
    width: 24px;
    height: 24px;
}

/* Animations Global - Default Visible for Reliability */
.page-animate,
.section-animate {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulse Animation for Uptime Monitor */
.pulse-uptime {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-uptime 2s infinite;
}

@keyframes pulse-uptime {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Performance Audit - Climbing Line Chart */
.line-chart-wrap {
    width: 100%;
    height: 60px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.line-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-path {
    fill: none;
    stroke: #000000;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: lineDraw 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.dark-mode .line-path {
    stroke: #ffffff;
}

@keyframes lineDraw {
    from {
        stroke-dashoffset: 400;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.bar:nth-child(1) {
    animation-delay: 0.2s, 1.4s;
}

.bar:nth-child(2) {
    animation-delay: 0.4s, 1.6s;
}

.bar:nth-child(3) {
    animation-delay: 0.6s, 1.8s;
}


.bar:nth-child(5) {
    animation-delay: 1.0s, 2.2s;
}

/* ===================== PARTNER LOGOS ===================== */
.partner-logos {
    padding: 20px 0 0;
    margin-top: 30px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.content .partner-logos {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section-home .content .partner-logos {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.logos-grid {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    opacity: 1 !important;
    flex-wrap: wrap;
    transition: opacity 0.3s ease;
    visibility: visible !important;
}

.content .logos-grid {
    justify-content: flex-start;
}

.logos-grid:hover {
    opacity: 1;
}

.logo-item {
    transition: transform 0.3s ease;
    opacity: 0.7 !important;
    visibility: visible !important;
}

.logo-item svg {
    display: block !important;
    opacity: 1 !important;
}

.logo-item:hover {
    transform: scale(1.05);
    opacity: 1 !important;
}

.dark-mode .partner-logos,
.section-home .partner-logos {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .logo-item,
.section-home .logo-item {
    color: #fff;
}

/* ===================== ABOUT SECTION REDESIGN ===================== */
.section-about .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.why-us-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    opacity: 1 !important;
    visibility: visible !important;
}

.why-us-header .header-text {
    max-width: 600px;
}

.why-us-header .section-title {
    font-weight: var(--font-weight-h1);
    color: #1a1a1a !important;
    margin: 0 0 16px 0;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
    letter-spacing: var(--letter-spacing-h2);
}

.why-us-header .section-subtitle {
    color: var(--color-text-p);
    margin: 0;
    line-height: 1.2;
    opacity: 1 !important;
    visibility: visible !important;

}

.btn-rounded {
    display: inline-block;
    border-radius: 100px;
    padding: 16px 32px;
    font-weight: 600;
    background: #22c55e;
    /* Green from screenshot */
    color: #fff !important;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.btn-rounded:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: #fff;
    padding: 20px;
    border-radius: 7px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    border: 1px solid var(--color-border);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.why-card.card-highlight {
    background: #141414 !important;
    /* Black/Dark gray from screenshot */
    color: #fff !important;
    transform: rotate(-2deg);
    /* Highlight tilt from screenshot */
    z-index: 2;
    border: none;
}

.why-card.card-highlight:hover {
    transform: rotate(0deg) translateY(-8px);
}

.why-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    color: #1a1a1a;
}

.card-highlight .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.why-card .card-title {
    font-size: var(--font-size-h4);
    font-weight: 700;
    margin: 0;
    color: inherit;
}

.why-card .card-text {
    font-size: 15px;
    line-height: 1.2;
    color: var(--color-text-p);
    margin: 0;
}

.card-highlight .card-text {
    color: var(--color-text-w)!important;
}

.why-card .card-link {
    font-size: var(--font-size-small);
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.why-card .card-link:hover {
    opacity: 1;
}

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

.why-card .card-link:hover svg {
    transform: translateX(4px);
}

/* Dark Mode Overrides */
.dark-mode .section-about.redesign {
    background: #0D0D0D;
}

.dark-mode .why-card:not(.card-highlight) {
    background: #1A1A1A;
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .why-card:not(.card-highlight) .card-title {
    color: #fff;
}

.dark-mode .why-card:not(.card-highlight) .card-text {
    color: #999;
}

.dark-mode .why-card .card-icon:not(.card-highlight .card-icon) {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dark-mode .why-us-header .section-title {
    color: #fff !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .section-about.redesign {
        height: auto;
        min-height: 100vh;
        padding: 120px 0;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-us-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-card.card-highlight {
        transform: none;
    }

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