/* ============================================
   FRIENDLYSHELL - MODERN DESIGN SYSTEM
   Inspired by auxility.ca
   ============================================ */

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary-yellow: #E2FF65;
    --color-primary-green: #1EB88E;
    --color-accent-teal: #21F3B6;

    /* Background Colors */
    --color-bg-dark: #0A0A0A;
    --color-bg-darker: #050505;
    --color-bg-card: #111111;
    --color-bg-elevated: #1A1A1A;

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E2FF65 0%, #1EB88E 100%);
    --gradient-text: linear-gradient(90deg, #E2FF65 0%, #1EB88E 100%);
    --gradient-glow: radial-gradient(circle, rgba(226, 255, 101, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-yellow: 0 0 40px rgba(226, 255, 101, 0.25);
    --shadow-glow-green: 0 0 40px rgba(30, 184, 142, 0.25);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 40px;
    --radius-full: 9999px;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Fluid */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    --text-3xl: clamp(2.5rem, 1.75rem + 3.75vw, 5rem);
    --text-hero: clamp(2.75rem, 1.5rem + 6vw, 5.5rem);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --transition-fast: 150ms var(--ease-out-expo);
    --transition-base: 300ms var(--ease-out-expo);
    --transition-slow: 500ms var(--ease-out-expo);

    /* Container */
    --container-max: 1400px;
    --container-padding: clamp(1rem, 5vw, 3rem);

    /* Section Spacing */
    --section-padding-y: clamp(4rem, 10vw, 8rem);
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-dark);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    background: transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
}


.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

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

.nav-link--cta {
    padding: var(--space-2) var(--space-5);
    background: var(--gradient-primary);
    color: var(--color-bg-dark) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    box-shadow: var(--shadow-glow-yellow);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-2);
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
}

.nav-toggle.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   3D FLOATING GEOMETRIC SHAPES (SVG-based)
   ============================================ */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.glass-shape {
    position: absolute;
    opacity: 0.9;
}

.glass-shape svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Shape Positions and Animations */
.shape-pyramid {
    width: 120px;
    height: 120px;
    top: 12%;
    right: 12%;
    animation: float-1 18s ease-in-out infinite;
}

.shape-cube {
    width: 90px;
    height: 90px;
    bottom: 20%;
    left: 8%;
    animation: float-2 22s ease-in-out infinite;
}

.shape-diamond {
    width: 70px;
    height: 110px;
    top: 35%;
    left: 15%;
    animation: float-3 20s ease-in-out infinite;
}

.shape-ring {
    width: 130px;
    height: 90px;
    bottom: 30%;
    right: 18%;
    animation: float-4 24s ease-in-out infinite;
}

.shape-sphere {
    width: 80px;
    height: 80px;
    top: 55%;
    right: 8%;
    animation: float-5 16s ease-in-out infinite;
}

.shape-prism {
    width: 85px;
    height: 85px;
    top: 18%;
    left: 5%;
    animation: float-6 21s ease-in-out infinite;
}

/* Floating Animations */
@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(8deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-20px) translateX(10px) rotate(-5deg); }
    66% { transform: translateY(-35px) translateX(-5px) rotate(5deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(-10deg); }
}

@keyframes float-4 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-15px) translateX(-10px) rotate(5deg); }
    50% { transform: translateY(-25px) translateX(5px) rotate(-3deg); }
    75% { transform: translateY(-10px) translateX(-5px) rotate(8deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

@keyframes float-6 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(10deg); }
    66% { transform: translateY(-35px) rotate(-5deg); }
}

/* Responsive */
@media (max-width: 1200px) {
    .shape-pyramid { width: 100px; height: 100px; right: 8%; }
    .shape-cube { width: 75px; height: 75px; }
    .shape-diamond { width: 60px; height: 95px; }
    .shape-ring { width: 110px; height: 75px; }
    .shape-sphere { width: 65px; height: 65px; }
    .shape-prism { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
    .floating-shapes { opacity: 0.5; }
    .shape-pyramid { width: 70px; height: 70px; top: 8%; right: 5%; }
    .shape-cube { width: 55px; height: 55px; left: 5%; bottom: 15%; }
    .shape-diamond { display: none; }
    .shape-ring { width: 80px; height: 55px; right: 5%; bottom: 25%; }
    .shape-sphere { width: 50px; height: 50px; }
    .shape-prism { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: calc(80px + var(--space-12)) 0 var(--space-12);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary-yellow);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: var(--color-primary-green);
    bottom: -150px;
    left: -100px;
    opacity: 0.12;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: var(--text-hero);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
}

.typing-cursor {
    color: var(--color-primary-yellow);
    animation: blink 1s infinite;
}

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

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
}

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

.stat-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
}

.stat-plus {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-yellow);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-yellow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--color-primary-yellow);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border-hover);
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

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

/* Button Loading State */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card {
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--glass-border);
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    line-height: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--color-primary-yellow);
    margin-bottom: var(--space-6);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.card-description {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.card-features li {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    padding: var(--space-1) var(--space-3);
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
}

.card-hover-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(226, 255, 101, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.service-card:hover .card-hover-gradient {
    opacity: 1;
}

/* ============================================
   PORTFOLIO / WORK SECTION
   ============================================ */
.portfolio {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-darker);
}

.portfolio-header {
    margin-bottom: var(--space-12);
}

.horizontal-scroll-trigger {
    overflow: hidden;
}

.horizontal-scroll-container {
    overflow: visible;
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: var(--space-8);
    padding: var(--space-4) var(--container-padding);
    width: max-content;
}

.case-study-card {
    flex-shrink: 0;
    width: clamp(320px, 40vw, 480px);
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.case-study-card:hover {
    transform: scale(1.02);
    border-color: var(--color-primary-yellow);
}

.case-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.case-image-placeholder {
    width: 100%;
    height: 100%;
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.case-content {
    padding: var(--space-6);
}

.case-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-primary-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.case-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.case-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-yellow);
    transition: gap var(--transition-fast);
}

.case-link:hover {
    gap: var(--space-3);
}

/* Scroll Progress */
.scroll-progress {
    margin-top: var(--space-8);
}

.progress-bar {
    height: 2px;
    background: var(--glass-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.1s linear;
}

/* ============================================
   MARQUEE SECTION
   ============================================ */
.marquee-section {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--color-bg-dark);
    overflow: hidden;
}

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

.marquee:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    padding-right: var(--space-10);
}

.marquee-item {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-secondary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.marquee-divider {
    color: var(--color-primary-yellow);
    font-size: var(--text-lg);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content .section-label {
    margin-bottom: var(--space-3);
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-6);
}

.about-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
    text-align: left;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-8);
    align-items: flex-start;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--color-text-primary);
}

.feature-icon {
    color: var(--color-primary-green);
    flex-shrink: 0;
}

/* About Section Floating Shapes */
.about-shapes {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-shape {
    position: absolute;
}

.about-shape svg {
    width: 100%;
    height: 100%;
}

.about-shape.shape-1 {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 15%;
    animation: aboutFloat1 12s ease-in-out infinite;
}

.about-shape.shape-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 10%;
    animation: aboutFloat2 15s ease-in-out infinite;
}

.about-shape.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    animation: aboutFloat3 10s ease-in-out infinite;
}

@keyframes aboutFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes aboutFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-8deg); }
}

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

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.stat-card {
    padding: var(--space-6);
    text-align: center;
}

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

.stat-card .stat-value {
    font-size: var(--text-3xl);
    display: inline;
}

.stat-card .stat-plus {
    font-size: var(--text-2xl);
}

.stat-card .stat-label {
    display: block;
    margin-top: var(--space-2);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-darker);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

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

.team-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-bg-dark);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-image:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: var(--space-3);
}

.team-social .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.team-social .social-link:hover {
    background: var(--color-primary-yellow);
    color: var(--color-bg-dark);
    border-color: var(--color-primary-yellow);
}

.team-name {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Single team member layout */
.team-grid--single {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-dark);
}

.testimonials-swiper {
    padding-bottom: var(--space-12);
}

.testimonial-card {
    padding: var(--space-8);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.testimonial-quote {
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-bg-dark);
    flex-shrink: 0;
}

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

.author-name {
    font-weight: 600;
    color: var(--color-text-primary);
}

.author-company {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative !important;
    margin-top: var(--space-8);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--glass-border);
    opacity: 1;
    transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
    background: var(--color-primary-yellow);
    width: 30px;
    border-radius: var(--radius-full);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: start;
}

.pricing-card {
    padding: var(--space-8);
    position: relative;
}

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

.pricing-card--featured {
    border-color: var(--color-primary-yellow);
    transform: scale(1.05);
}

.pricing-card--featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: calc(-1 * var(--space-3));
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-1) var(--space-4);
    background: var(--gradient-primary);
    color: var(--color-bg-dark);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.pricing-header {
    margin-bottom: var(--space-6);
}

.pricing-name {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.pricing-description {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.pricing-price {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--glass-border);
}

.price-currency {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    vertical-align: top;
}

.price-amount {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-text-primary);
}

.price-period {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.check-icon {
    color: var(--color-primary-green);
    flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info .section-label {
    margin-bottom: var(--space-3);
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: var(--space-4);
}

.contact-description {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-primary-yellow);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.contact-item p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    padding: var(--space-8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-input,
.form-textarea {
    padding: var(--space-4);
    background: var(--color-bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-yellow);
    box-shadow: 0 0 0 3px rgba(226, 255, 101, 0.1);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--glass-border);
}

.footer-main {
    padding: var(--space-16) 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-12);
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-4);
}


.footer-logo .logo-text {
    font-size: var(--text-lg);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

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

.footer-heading {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-menu,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-menu a,
.footer-contact li {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--color-primary-yellow);
}

.footer-bottom {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.toast {
    padding: var(--space-4) var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    animation: slideIn 0.3s var(--ease-out-expo);
    max-width: 360px;
}

.toast.success {
    border-color: var(--color-primary-green);
}

.toast.error {
    border-color: #EF4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.removing {
    animation: slideOut 0.3s var(--ease-out-expo) forwards;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
    }

    .hero-ctas {
        justify-content: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

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

    .about-content .section-title {
        text-align: center;
    }

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

    .about-features {
        align-items: center;
    }

    .about-shapes {
        height: 300px;
    }

    .about-shape.shape-1 {
        width: 110px;
        height: 110px;
    }

    .about-shape.shape-2 {
        width: 90px;
        height: 90px;
    }

    .about-shape.shape-3 {
        width: 80px;
        height: 80px;
    }

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

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .contact-info .section-title {
        text-align: center;
    }

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

    .contact-details {
        align-items: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-links {
        justify-items: center;
    }

    .footer-column {
        align-items: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-8);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: var(--text-xl);
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .scroll-indicator {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .case-study-card {
        width: 85vw;
    }
}
