/* ============================================
   DYTAN SMART HOMES - Enhanced Premium Theme
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: #1e1e2e;
    --border-light: #2a2a3a;
    --text-primary: #f0f0f5;
    --text-secondary: #9393a8;
    --text-muted: #6b6b80;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --purple: #8b5cf6;
    --green: #10b981;
    --amber: #f59e0b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-primary); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--purple) 50%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 10001;
    background: linear-gradient(90deg, var(--accent), var(--purple), var(--accent-light));
    width: 0%; transition: width 0.1s linear;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed; inset: 0; background: var(--bg-primary); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo-img { height: 48px; margin-bottom: 24px; animation: preloader-pulse 1.5s ease-in-out infinite; }
@keyframes preloader-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.6; } }
.preloader-inner { text-align: center; }
.preloader-bar { width: 120px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.preloader-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--purple)); border-radius: 2px; animation: preloader-load 1.6s ease-in-out forwards; }
@keyframes preloader-load { 0% { width: 0%; } 60% { width: 75%; } 100% { width: 100%; } }

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed; width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%); z-index: 9998; transition: opacity 0.3s;
    display: none;
}
@media (hover: hover) { .cursor-glow { display: block; } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
    border-radius: var(--radius-md); font-family: var(--font-primary);
    font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    color: white; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5); transform: translateY(-3px); }
.btn-glass {
    background: rgba(255,255,255,0.05); color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); transform: translateY(-3px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--accent); border-radius: 1px; transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    display: inline-flex; align-items: center; padding: 10px 22px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    color: white; font-size: 0.875rem; font-weight: 600; border-radius: var(--radius-sm);
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); transform: translateY(-1px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION - ENHANCED
   ============================================ */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05); transition: transform 0.3s ease-out;
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.7) 40%, rgba(10,10,15,0.85) 100%);
}
.hero-particles {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-particle {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--accent-light); opacity: 0;
    animation: particle-float linear infinite;
}
@keyframes particle-float {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}
.hero-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 2;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: var(--accent-glow); border: 1px solid rgba(99,102,241,0.2);
    border-radius: 100px; font-size: 0.825rem; font-weight: 500; color: var(--accent-light);
    margin-bottom: 24px;
}
.badge-pulse {
    width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99,102,241,0.4); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(99,102,241,0); } }

.hero-title {
    font-family: var(--font-display); font-size: 3.8rem; font-weight: 800;
    line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px;
}
.title-line { display: block; overflow: hidden; }
.title-line .word {
    display: inline-block; transform: translateY(110%); opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
.title-line .word.revealed { transform: translateY(0); opacity: 1; }

.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 32px; }
.hero-stat { text-align: center; }
.hero-stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.hero-stat-plus { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.hero-stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border-light); }

/* Hero Product Stack */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 420px; }
.hero-product-stack { position: relative; width: 100%; max-width: 480px; height: 420px; }
.product-float { position: absolute; transition: transform 0.4s ease; }
.product-float img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(99,102,241,0.08);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}
.product-float:hover img {
    transform: scale(1.03); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(99,102,241,0.15);
}
.product-homepadx { top: 0; left: 50%; transform: translateX(-50%); z-index: 3; animation: float-main 6s ease-in-out infinite; }
.product-homepadx img { width: 360px; }
.product-homepads { bottom: 20px; left: 0; z-index: 2; animation: float-left 7s ease-in-out infinite; }
.product-homepads img { width: 240px; }
.product-camera { bottom: 40px; right: 0; z-index: 4; animation: float-right 5s ease-in-out infinite; }
.product-camera img { width: 140px; }

@keyframes float-main { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-12px); } }
@keyframes float-left { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(0deg); } }
@keyframes float-right { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(0deg); } }

/* Floating Cards */
.floating-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: rgba(22,22,31,0.95); backdrop-filter: blur(20px);
    border: 1px solid var(--border-light); border-radius: var(--radius-md);
    font-size: 0.8rem; font-weight: 500; z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.floating-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); background: var(--accent-glow);
}
.floating-icon.green { background: rgba(16, 185, 129, 0.15); }
.card-1 { top: 30px; right: -10px; animation: float-card1 6s ease-in-out infinite; }
.card-2 { bottom: 60px; left: -10px; animation: float-card2 7s ease-in-out infinite; }
@keyframes float-card1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-card2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; z-index: 2;
}
.scroll-line { width: 1px; height: 40px; background: var(--border-light); position: relative; overflow: hidden; }
.scroll-dot { width: 1px; height: 12px; background: var(--accent); position: absolute; top: -12px; animation: scroll-anim 2s infinite; }
@keyframes scroll-anim { 0% { top: -12px; } 100% { top: 40px; } }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 6px 14px; background: var(--accent-glow);
    border: 1px solid rgba(99,102,241,0.15); border-radius: 100px;
    font-size: 0.8rem; font-weight: 500; color: var(--accent-light); margin-bottom: 20px;
}
.section-title {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 800;
    line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 120px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; transform-style: preserve-3d;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { border-color: rgba(99,102,241,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }

.service-img-wrap { height: 180px; overflow: hidden; position: relative; }
.service-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.08); }
.service-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, var(--bg-card) 100%);
}

.service-body { padding: 24px 28px 28px; }
.service-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.service-features { display: flex; flex-wrap: wrap; gap: 6px; }
.service-features span {
    padding: 4px 12px; background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 100px; font-size: 0.72rem; color: var(--text-muted);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products { padding: 120px 0; background: var(--bg-secondary); }
.products-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card {
    padding: 36px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); transition: all 0.5s ease; position: relative; overflow: hidden;
    transform-style: preserve-3d;
}
.product-card:hover { border-color: rgba(99,102,241,0.2); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.product-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.product-badge {
    position: absolute; top: 20px; right: 20px; padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent), var(--purple)); color: white;
    font-size: 0.75rem; font-weight: 600; border-radius: 100px; z-index: 2;
}
.product-visual { display: flex; justify-content: center; align-items: center; padding: 16px; }
.product-hero-img { max-height: 280px; object-fit: contain; width: auto; margin: 0 auto; }

/* Reveal animation for product images */
.reveal-img {
    clip-path: inset(0 100% 0 0); opacity: 1 !important;
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.reveal-img.revealed { clip-path: inset(0 0% 0 0); }

.product-info h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.product-info p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.product-specs {
    list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
}
.product-specs li {
    padding: 6px 14px; background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 100px; font-size: 0.78rem; color: var(--text-muted);
}

/* ============================================
   ABOUT
   ============================================ */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-content .section-tag { display: inline-block; }
.about-content .section-title { text-align: left; margin-bottom: 24px; }
.about-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.about-values { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: var(--accent-glow); border-radius: var(--radius-sm); color: var(--accent-light); flex-shrink: 0;
}
.value-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.value-item p { font-size: 0.85rem; color: var(--text-muted); }

.about-visual { position: relative; }
.about-image-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.about-img-card {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
    position: relative;
}
.about-img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-img-card:hover img { transform: scale(1.05); }
.img-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%); pointer-events: none;
}
.img-overlay span { font-size: 0.85rem; font-weight: 600; color: white; }
.about-img-card.card-a { grid-row: 1 / 3; }
.about-img-card.card-b img, .about-img-card.card-c img { height: 180px; }
.about-experience-badge {
    position: absolute; bottom: -24px; right: -24px; padding: 24px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    border-radius: var(--radius-lg); text-align: center;
    box-shadow: 0 20px 40px rgba(99,102,241,0.3);
}
.exp-number { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: white; }
.exp-text { font-size: 0.8rem; color: rgba(255,255,255,0.8); line-height: 1.4; }

/* ============================================
   PROCESS
   ============================================ */
.process { padding: 120px 0; background: var(--bg-secondary); }
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-line { position: absolute; top: 32px; left: 60px; right: 60px; height: 2px; background: var(--border); }
.process-line-fill {
    width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--purple));
    border-radius: 1px; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step { text-align: center; position: relative; }
.step-number {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; background: var(--bg-card); border: 2px solid var(--border-light);
    border-radius: 50%; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    color: var(--accent-light); position: relative; z-index: 2; transition: all 0.5s ease;
}
.process-step:hover .step-number {
    background: var(--accent-glow); border-color: var(--accent);
    box-shadow: 0 0 30px rgba(99,102,241,0.25); transform: scale(1.1);
}
.step-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { padding: 120px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    padding: 32px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); transition: all 0.5s ease; transform-style: preserve-3d;
}
.testimonial-card:hover { border-color: rgba(99,102,241,0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.testimonial-stars { margin-bottom: 16px; }
.testimonial-card > p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: var(--accent-glow); border-radius: 50%; font-size: 0.8rem; font-weight: 700; color: var(--accent-light);
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg-img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.78) 100%);
    z-index: 1;
}
.cta-content { text-align: center; position: relative; z-index: 2; }
.cta-content h2 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.cta-content p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info .section-tag { display: inline-block; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
    display: flex; align-items: center; gap: 16px; padding: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); transition: var(--transition);
}
.contact-item:hover { border-color: rgba(99,102,241,0.2); transform: translateX(4px); }
.contact-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: var(--accent-glow); border-radius: var(--radius-sm); color: var(--accent-light); flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.contact-item span { font-size: 0.9rem; color: var(--text-secondary); }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text-secondary); transition: var(--transition);
}
.social-links a:hover { color: var(--accent-light); border-color: var(--accent); background: var(--accent-glow); transform: translateY(-3px); }
.contact-form-wrapper {
    padding: 36px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-primary);
    font-size: 0.9rem; transition: var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b6b80' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 64px 0 24px; background: var(--bg-secondary); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-top: 16px; line-height: 1.6; }
.footer-logo-img { height: 32px; }
.footer-links h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { color: var(--text-muted); transition: var(--transition); }
.footer-socials a:hover { color: var(--accent-light); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-anim] { opacity: 0; transform: translateY(40px); transition: none; }
[data-anim="fade-left"] { transform: translateX(40px); }
[data-anim].in-view { opacity: 1; transform: translate(0); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

/* 3D Tilt card base */
.tilt-card { transform-style: preserve-3d; will-change: transform; }
.tilt-card > * { transform: translateZ(0); }

/* Lazy images (skip reveal-img since clip-path handles those) */
img[loading="lazy"]:not(.reveal-img) { opacity: 0; transition: opacity 0.5s ease; }
img[loading="lazy"].loaded:not(.reveal-img) { opacity: 1; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; min-height: 340px; }
    .hero-product-stack { max-width: 400px; height: 340px; }
    .product-homepadx img { width: 280px; }
    .product-homepads img { width: 180px; }
    .product-camera img { width: 110px; }
    .hero-title { font-size: 3rem; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .products-showcase { grid-template-columns: 1fr; }
    .product-featured { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-content .section-title { text-align: center; }
    .about-content .section-tag { text-align: center; display: block; }
    .about-text { text-align: center; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-line { display: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(10,10,15,0.97); backdrop-filter: blur(20px); padding: 24px; gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-title { font-size: 2.2rem; }
    .hero-product-stack { height: 280px; max-width: 320px; }
    .product-homepadx img { width: 220px; }
    .product-homepads img { width: 150px; }
    .product-camera img { width: 90px; }
    .floating-card { display: none; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-content h2 { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .section-title { font-size: 1.7rem; }
    .about-experience-badge { position: relative; bottom: auto; right: auto; margin-top: 16px; }
    .hero-product-stack { height: 240px; max-width: 280px; }
    .product-homepadx img { width: 200px; }
    .product-homepads img { width: 130px; }
    .product-camera img { width: 80px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
