/* ============================================
   SAM3 DECORATORS - ADVANCED GLASSMORPHISM UI
   Enhanced Modern Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #1a1a1a;
    --color-primary-light: #2d2d2d;
    --color-secondary: #fffbeb;
    --color-accent: #f5a623;
    --color-accent-hover: #e69500;
    --color-accent-light: rgba(245, 166, 35, 0.15);
    --color-accent-glow: rgba(245, 166, 35, 0.4);
    --color-text: #1a1a1a;
    --color-text-light: #555555;
    --color-text-muted: #888888;
    --color-white: #ffffff;
    --color-border: rgba(0, 0, 0, 0.08);
    
    /* ULTRA-ENHANCED Glass Effect Variables - 3x Better Transparency */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-bg-strong: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-blur: 40px;
    --glass-blur-heavy: 60px;
    --glass-blur-light: 25px;

    /* Brush Color Effects */
    --brush-primary: rgba(245, 166, 35, 0.12);
    --brush-secondary: rgba(251, 191, 36, 0.08);
    --brush-accent: rgba(253, 230, 138, 0.15);
    
    --glass-shadow-sm: 0 4px 16px rgba(31, 38, 135, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --glass-shadow-md: 0 8px 32px rgba(31, 38, 135, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --glass-shadow-lg: 0 16px 48px rgba(31, 38, 135, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    --glass-shadow-xl: 0 24px 64px rgba(31, 38, 135, 0.18), 0 12px 32px rgba(0, 0, 0, 0.1);
    
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-full: 9999px;
    
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: linear-gradient(135deg, 
        #fef3c7 0%, 
        #fde68a 25%, 
        #fcd34d 50%, 
        #fbbf24 75%, 
        #f59e0b 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

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

ul { list-style: none; }

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

::selection {
    background: var(--color-accent);
    color: white;
}

/* --- Utility Classes --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

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

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-md);
}

/* --- Page Loader --- */
.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff9800 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.loader-logo span {
    opacity: 0.8;
}

.loader-bar {
    width: 200px;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: white;
    border-radius: var(--radius-full);
    animation: loadProgress 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* --- Cursor Follower --- */
.cursor-follower {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: difference;
}

.cursor-follower.visible {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
}

.cursor-follower.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0.4;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    box-shadow: var(--glass-shadow-sm);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--glass-border-light);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(245, 166, 35, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.5rem;
}

.logo-sub {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 600;
}

.accent {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.btn-nav:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.4);
    transform: translateY(-3px);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.hamburger:hover {
    background: var(--glass-bg-hover);
    transform: scale(1.05);
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

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

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

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('img1.png') center/cover no-repeat;
    filter: brightness(0.7);
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(245, 166, 35, 0.3) 0%, 
        rgba(251, 191, 36, 0.2) 50%, 
        rgba(253, 230, 138, 0.1) 100%);
    z-index: 1;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float 20s infinite ease-in-out;
}

.bubble-1 { width: 120px; height: 120px; top: 10%; left: 5%; animation-delay: 0s; }
.bubble-2 { width: 80px; height: 80px; top: 60%; left: 10%; animation-delay: 2s; }
.bubble-3 { width: 150px; height: 150px; top: 30%; right: 8%; animation-delay: 4s; }
.bubble-4 { width: 100px; height: 100px; top: 70%; right: 15%; animation-delay: 6s; }
.bubble-5 { width: 60px; height: 60px; top: 85%; left: 30%; animation-delay: 3s; }
.bubble-6 { width: 90px; height: 90px; top: 15%; right: 25%; animation-delay: 5s; }
.bubble-7 { width: 110px; height: 110px; top: 50%; left: 40%; animation-delay: 7s; }
.bubble-8 { width: 70px; height: 70px; top: 40%; right: 35%; animation-delay: 9s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    33% { transform: translateY(-30px) translateX(20px) scale(1.1); }
    66% { transform: translateY(20px) translateX(-15px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    width: 100%;
}

.hero-card {
    padding: 3rem;
    border-radius: var(--radius-xl);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--brush-secondary) 0%, transparent 60%);
    opacity: 0.6;
    animation: brushRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes brushRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.125rem;
}

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

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.title-line {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background: rgba(255, 255, 255, 0.3);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 1s 1.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

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

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--glass-shadow-md);
}

.btn-accent:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-lg);
}

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

.btn-icon {
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

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

.pulse-effect {
    animation: buttonPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35); }
    50% { box-shadow: 0 8px 36px rgba(245, 166, 35, 0.5); }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur-light));
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-accent);
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--brush-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-smooth);
}

.section-header:hover .section-tag::before {
    transform: translate(-50%, -50%) scale(2);
}

.section-desc {
    max-width: 640px;
    margin: 1rem auto 0;
    font-size: 1.125rem;
    opacity: 0.8;
}

/* --- Features Section --- */
.features-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--brush-accent) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
    top: -30%;
    right: -30%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow-lg);
    background: var(--glass-bg-hover);
    border-color: rgba(245, 166, 35, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--glass-bg-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 1px solid var(--glass-border-light);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* --- Services Section --- */
.services-section {
    background: rgba(255, 255, 255, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--brush-primary) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: 50%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    opacity: 1;
    bottom: -50px;
    left: -50px;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--glass-shadow-xl), 0 0 60px rgba(245, 166, 35, 0.15);
    background: var(--glass-bg-hover);
    border-color: rgba(245, 166, 35, 0.4);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff9800 50%, var(--color-accent) 100%);
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.35),
                inset 0 -2px 10px rgba(0, 0, 0, 0.2),
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 15px 40px rgba(245, 166, 35, 0.5),
                inset 0 -2px 10px rgba(0, 0, 0, 0.2),
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
    background-position: 100% 100%;
}

.service-card:hover .service-icon-wrapper::before {
    transform: translateX(100%);
}

.service-icon {
    font-size: 2rem;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.service-card > p {
    margin-bottom: 1.5rem;
    opacity: 0.85;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-features li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    opacity: 0.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 700;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 0.75rem;
}

/* --- Portfolio Section --- */
.portfolio-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--glass-shadow-xl), 0 0 50px rgba(245, 166, 35, 0.2);
}

.portfolio-item.featured,
.portfolio-item.medium,
.portfolio-item.standard {
    grid-column: span 1;
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.portfolio-content {
    padding: 2rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
}

.portfolio-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.category-icon {
    font-size: 1rem;
}

.portfolio-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.portfolio-content p {
    opacity: 0.85;
    margin-bottom: 1rem;
}

.portfolio-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

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

/* --- Reviews Section --- */
.reviews-section {
    background: rgba(255, 255, 255, 0.03);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-lg);
    background: var(--glass-bg-hover);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.reviewer-info p {
    font-size: 0.875rem;
    opacity: 0.7;
}

.review-stars {
    color: var(--color-accent);
    font-size: 1.125rem;
    letter-spacing: 0.125rem;
}

.review-content {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.review-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    opacity: 0.6;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.reviews-summary {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

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

.summary-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.summary-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    letter-spacing: 0.25rem;
    margin-bottom: 0.5rem;
}

.summary-label {
    font-size: 0.9375rem;
    opacity: 0.8;
    font-weight: 600;
}

.summary-divider {
    width: 1px;
    height: 5rem;
    background: rgba(0, 0, 0, 0.1);
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.contact-intro {
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.25);
}

.contact-text {
    flex-grow: 1;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.375rem;
}

.contact-value {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

a.contact-value:hover {
    color: var(--color-accent);
}

.contact-social h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.form-intro {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9375rem;
}

.required {
    color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}

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

.form-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    opacity: 0.6;
    text-align: center;
}

/* --- Footer --- */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-desc {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-social .social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

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

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9375rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-badges .badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* --- Scroll Animations --- */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item.featured {
        grid-column: span 1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(60px);
        -webkit-backdrop-filter: blur(60px);
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        transition: right var(--transition-smooth);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        font-size: 1.125rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-card {
        padding: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .features-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .summary-divider {
        height: 1px;
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.875rem;
    }
}
