@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #07070a;
    --bg-card: rgba(20, 20, 23, 0.6);
    --bg-card-hover: rgba(30, 30, 35, 0.8);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(255, 204, 0, 0.15);
    
    --color-primary: #ffcc00; /* Cyber Yellow */
    --color-secondary: #eab308; /* Amber Gold */
    --color-accent: #facc15; /* Soft Yellow */
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --blur-glass: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients Glow */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* Glassmorphism utility card */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 204, 0, 0.25);
    box-shadow: 0 10px 30px -10px rgba(255, 204, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #000;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.5);
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 10, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo svg {
    color: var(--color-primary);
    stroke: var(--color-primary);
}

.logo span {
    font-weight: 300;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.contact-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-link svg {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections Base */
section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-title span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 48px;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-num span {
    color: var(--color-primary);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual element */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-globe {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s infinite alternate;
}

.visual-card {
    padding: 32px;
    width: 100%;
    max-width: 360px;
    z-index: 2;
    position: relative;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-primary), transparent, var(--color-secondary));
    z-index: -1;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.device-3d-wrapper {
    perspective: 1200px;
    height: 250px;
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
    border: 1px dashed rgba(255, 204, 0, 0.15);
    background: rgba(255, 204, 0, 0.01);
    border-radius: var(--radius-sm);
}

.telemetry-hud {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    z-index: 10;
}

.hud-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-line::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--color-primary);
}

/* Auto-rotation wrapper */
.iphone-3d-rotate-wrapper {
    transform-style: preserve-3d;
    animation: autoRotateDevice 16s infinite linear;
    transition: all 0.5s;
}

.visual-card:hover .iphone-3d-rotate-wrapper {
    animation-play-state: paused;
    transform: rotateY(0deg) !important;
}

@keyframes autoRotateDevice {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.iphone-3d {
    width: 110px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(15deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card:hover .iphone-3d {
    transform: rotateY(-50deg) rotateX(20deg);
}

/* Connecting ribbon flex cables */
.ribbon-cable {
    position: absolute;
    left: 12px;
    width: 10px;
    background: linear-gradient(to bottom, #d97706, #78350f);
    border: 1px solid #ffcc00;
    opacity: 0.7;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.cable-back-battery {
    top: 25px;
    height: 20px;
    transform: translateZ(-16px);
}

.cable-battery-board {
    top: 70px;
    height: 15px;
    transform: translateZ(0);
}

.cable-board-display {
    top: 130px;
    height: 20px;
    transform: translateZ(16px);
}

.visual-card:hover .cable-back-battery {
    transform: translateZ(-42px) scaleZ(2.5);
    height: 30px;
}

.visual-card:hover .cable-battery-board {
    transform: translateZ(2px) scaleZ(3);
    height: 25px;
}

.visual-card:hover .cable-board-display {
    transform: translateZ(48px) scaleZ(2.5);
    height: 30px;
}

.iphone-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: var(--radius-md);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.layer-content {
    position: absolute;
    inset: 4px;
    border-radius: 12px;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Layer labels and pointer lines */
.layer-label {
    position: absolute;
    right: -130px;
    top: 50%;
    transform: translateY(-50%) translateZ(10px);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(7, 7, 10, 0.95);
    border: 1px solid rgba(255, 204, 0, 0.5);
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

.pointer-line {
    position: absolute;
    left: -35px;
    top: 50%;
    width: 35px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.7;
    transform-origin: right center;
    transition: transform 0.5s ease;
}

.pointer-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    background: var(--color-primary);
    border-radius: 50%;
}

.visual-card:hover .layer-label {
    opacity: 1;
    transform: translateY(-50%) translateZ(10px) translateX(45px);
}

/* 1. Back Cover */
.layer-back {
    background: linear-gradient(135deg, #1c1c1e 0%, #111112 100%);
    border: 2px solid #3a3a3c;
    transform: translateZ(-25px);
}

.layer-back .camera-bump {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 3px;
    display: block;
}

.layer-back .cam-lens {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #2a2a2d 20%, #000 80%);
    border-radius: 50%;
    border: 1.5px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-back .cam-lens span {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #3b82f6 10%, #1e3a8a 80%);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.8);
}

.layer-back .lens-1 { top: 4px; left: 4px; }
.layer-back .lens-2 { bottom: 4px; left: 4px; }
.layer-back .lens-3 { top: 14px; right: 4px; }

.layer-back .flash-led {
    position: absolute;
    top: 5px;
    right: 7px;
    width: 6px;
    height: 6px;
    background: #fef08a;
    border-radius: 50%;
    border: 1px solid #ca8a04;
}

.layer-back .lidar-sensor {
    position: absolute;
    bottom: 5px;
    right: 7px;
    width: 7px;
    height: 7px;
    background: #333;
    border-radius: 50%;
}

.layer-back .logo-apple {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 28px;
    background: var(--color-primary);
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 170 170' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M150.37 130.25c-2.45 5.66-5.35 10.87-8.71 15.66-4.58 6.53-8.33 11.05-11.22 13.56-4.48 4.12-9.28 6.23-14.42 6.35-3.69 0-8.14-1.05-13.32-3.18-5.19-2.12-9.97-3.17-14.34-3.17-4.58 0-9.49 1.05-14.75 3.17-5.26 2.13-9.5 3.24-12.74 3.35-4.37.13-9.13-1.9-14.27-6.08-3.48-2.92-7.39-7.73-11.74-14.44-8.08-12.28-14.15-26.65-18.23-43.1-4.08-16.44-4.84-31.35-2.28-44.73 2.56-13.38 8.65-24.16 18.26-32.32 9.61-8.17 20.31-12.35 32.1-12.54 5.37 0 11.2 1.48 17.5 4.45 6.3 2.97 10.74 4.46 13.32 4.46 2.01 0 6.09-1.34 12.23-4.03 6.13-2.68 11.75-3.92 16.85-3.72 12.74.52 23.01 5.08 30.82 13.7-10.74 6.5-16 15.35-15.8 26.54.21 8.98 3.58 16.54 10.12 22.7 6.53 6.15 14.34 9.77 23.42 10.84-2.58 7.42-6.08 14.86-10.5 22.3zM119.22 32.4c0-7.84 2.81-15.08 8.44-21.72 5.62-6.64 12.76-10.3 21.43-10.98.1 1.76.15 3.2.15 4.34 0 7.42-2.73 14.38-8.2 20.89-5.46 6.5-12.54 10.23-21.22 11.19-.31-1.24-.6-2.48-.6-3.72z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 170 170' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M150.37 130.25c-2.45 5.66-5.35 10.87-8.71 15.66-4.58 6.53-8.33 11.05-11.22 13.56-4.48 4.12-9.28 6.23-14.42 6.35-3.69 0-8.14-1.05-13.32-3.18-5.19-2.12-9.97-3.17-14.34-3.17-4.58 0-9.49 1.05-14.75 3.17-5.26 2.13-9.5 3.24-12.74 3.35-4.37.13-9.13-1.9-14.27-6.08-3.48-2.92-7.39-7.73-11.74-14.44-8.08-12.28-14.15-26.65-18.23-43.1-4.08-16.44-4.84-31.35-2.28-44.73 2.56-13.38 8.65-24.16 18.26-32.32 9.61-8.17 20.31-12.35 32.1-12.54 5.37 0 11.2 1.48 17.5 4.45 6.3 2.97 10.74 4.46 13.32 4.46 2.01 0 6.09-1.34 12.23-4.03 6.13-2.68 11.75-3.92 16.85-3.72 12.74.52 23.01 5.08 30.82 13.7-10.74 6.5-16 15.35-15.8 26.54.21 8.98 3.58 16.54 10.12 22.7 6.53 6.15 14.34 9.77 23.42 10.84-2.58 7.42-6.08 14.86-10.5 22.3zM119.22 32.4c0-7.84 2.81-15.08 8.44-21.72 5.62-6.64 12.76-10.3 21.43-10.98.1 1.76.15 3.2.15 4.34 0 7.42-2.73 14.38-8.2 20.89-5.46 6.5-12.54 10.23-21.22 11.19-.31-1.24-.6-2.48-.6-3.72z'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.85;
}

.layer-back .iphone-branding {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
}

/* 2. Battery & QI Coil */
.layer-battery {
    background: rgba(15, 15, 17, 0.95);
    border: 1.5px solid #27272a;
    transform: translateZ(-8px);
}

.layer-battery .battery-pack {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 46px;
    height: 142px;
    background: #09090b;
    border: 1px solid #ffcc00;
    border-radius: 6px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.layer-battery .bat-warning {
    font-size: 0.4rem;
    color: #ffcc00;
    font-family: monospace;
    line-height: 1.1;
    transform: scale(0.9);
    white-space: nowrap;
}

.layer-battery .magsafe-ring {
    position: absolute;
    top: 50px;
    right: 8px;
    width: 42px;
    height: 42px;
    border: 2px solid #ca8a04;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, transparent 40%, rgba(202,138,4,0.08) 100%);
}

.layer-battery .magsafe-magnet {
    position: absolute;
    width: 3px;
    height: 6px;
    background: #eab308;
    border-radius: 1px;
}

.layer-battery .magsafe-magnet:nth-child(1) { top: 0; transform: rotate(0deg); }
.layer-battery .magsafe-magnet:nth-child(2) { right: 0; top: 18px; transform: rotate(90deg); }
.layer-battery .magsafe-magnet:nth-child(3) { bottom: 0; transform: rotate(180deg); }
.layer-battery .magsafe-magnet:nth-child(4) { left: 0; top: 18px; transform: rotate(270deg); }

/* 3. Logic Board */
.layer-board {
    background: #052316;
    border: 1.5px solid #10b981;
    transform: translateZ(8px);
}

.layer-board .motherboard-board {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 46px;
    height: 142px;
    background: #022312;
    border-radius: 6px;
    border: 1px solid #10b981;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.layer-board .bga-cpu {
    width: 100%;
    padding: 6px 0;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid var(--color-primary);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 0 5px var(--color-primary);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.2);
}

.layer-board .motherboard-chip {
    width: 100%;
    padding: 3px 0;
    text-align: center;
    background: #111827;
    border: 1px solid #374151;
    color: #9ca3af;
    font-family: monospace;
    font-size: 0.4rem;
    border-radius: 2px;
}

.layer-board .pmic-chip {
    border-color: #f43f5e;
    color: #f43f5e;
}

.layer-board .flash-chip {
    border-color: #3b82f6;
    color: #3b82f6;
}

.layer-board .board-circuits {
    flex-grow: 1;
    background-image: radial-gradient(#10b981 1px, transparent 1px),
                      linear-gradient(45deg, transparent 49%, #10b981 49%, #10b981 51%, transparent 51%);
    background-size: 8px 8px, 12px 12px;
    opacity: 0.35;
    border-radius: 2px;
}

/* 4. Display Layer */
.layer-display {
    background: rgba(255, 204, 0, 0.01);
    backdrop-filter: blur(1.5px);
    border: 1.5px solid rgba(255, 204, 0, 0.35);
    transform: translateZ(25px);
}

.layer-display .dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 12px;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

.layer-display .scanner-laser-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    left: 0;
    top: 10%;
    animation: scanLaserLine 3s infinite ease-in-out;
}

.layer-display .screen-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,204,0,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,204,0,0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

@keyframes scanLaserLine {
    0%, 100% { top: 10%; opacity: 0.3; }
    50% { top: 90%; opacity: 1; }
}

/* Hover Separation Transforms & Float Effects */
.visual-card:hover .layer-back {
    transform: translateZ(-65px);
    opacity: 0.45;
}

.visual-card:hover .layer-battery {
    transform: translateZ(-20px);
    opacity: 0.75;
}

.visual-card:hover .layer-board {
    transform: translateZ(25px);
    opacity: 0.95;
}

.visual-card:hover .layer-display {
    transform: translateZ(70px);
    opacity: 0.7;
}

/* Nested 3D Elements floating relative to parent layers on hover */
.layer-back .camera-bump,
.layer-back .logo-apple,
.layer-battery .battery-pack,
.layer-battery .magsafe-ring,
.layer-board .motherboard-board,
.layer-display .dynamic-island {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card:hover .layer-back .camera-bump {
    transform: translateZ(12px);
}

.visual-card:hover .layer-back .logo-apple {
    transform: translate(-50%, -50%) translateZ(8px);
}

.visual-card:hover .layer-battery .battery-pack {
    transform: translateZ(8px);
}

.visual-card:hover .layer-battery .magsafe-ring {
    transform: translateZ(10px);
}

.visual-card:hover .layer-board .motherboard-board {
    transform: translateZ(12px);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.visual-card:hover .layer-board .bga-cpu {
    transform: translateZ(8px);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.6);
}

.visual-card:hover .layer-display .dynamic-island {
    transform: translateX(-50%) translateZ(8px);
}

/* Service Calculator and Tracker Section */
.interactive-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.interactive-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.interactive-box h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.interactive-box h3 svg {
    color: var(--color-primary);
}

.interactive-box .box-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Calculator Styles */
.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-select, .form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.form-select option {
    background-color: #0f111a;
    color: var(--text-primary);
}

.calc-result {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.result-price-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Tracker Styles */
.tracker-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.tracker-input-wrapper input {
    flex-grow: 1;
}

.tracker-visualizer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: none;
}

.tracker-visualizer.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.tracker-header-info {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    font-size: 0.9rem;
}

.tracker-device {
    font-weight: 700;
    color: var(--text-primary);
}

.tracker-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 28px;
}

.tracker-steps::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 9px;
    width: 2px;
    height: calc(100% - 10px);
    background: rgba(255, 255, 255, 0.1);
}

.tracker-step-item {
    position: relative;
    opacity: 0.4;
    transition: var(--transition-fast);
}

.tracker-step-item.completed,
.tracker-step-item.active {
    opacity: 1;
}

.tracker-step-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1e293b;
    border: 4px solid var(--bg-main);
    transition: var(--transition-fast);
}

.tracker-step-item.completed .tracker-step-dot {
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.tracker-step-item.active .tracker-step-dot {
    background: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-secondary);
    animation: pulseDot 1.5s infinite alternate;
}

.tracker-step-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tracker-step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Services Grid Section */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.services-filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 204, 0, 0.1);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 204, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 0.9rem;
}

.service-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.service-time {
    color: var(--text-muted);
}

/* Why Choose Us (Tech & Quality) */
.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-content .section-desc {
    margin-bottom: 32px;
}

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

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    background: rgba(139, 92, 246, 0.1);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-details h5 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.features-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.features-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(6, 7, 11, 0.95), transparent);
}

/* Reviews / Testimonials Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    padding: 32px;
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
}

.author-info h6 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Accordion Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-fast);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

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

/* Courier / Booking Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

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

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

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

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.method-details h6 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.method-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form-panel {
    padding: 40px;
}

.contact-form-panel h4 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 24px 40px 24px;
    background: rgba(4, 5, 8, 0.8);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

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

.social-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes rotateDevice {
    0% { transform: rotateY(0deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

@keyframes scanLaser {
    0%, 100% { top: 0%; }
    50% { top: 98%; }
}

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

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.6); }
    100% { box-shadow: 0 0 0 12px rgba(139, 92, 246, 0); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .interactive-section {
        grid-template-columns: 1fr;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-image-wrapper {
        height: 350px;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 16px;
    }

    header {
        padding: 0;
    }

    .nav-container {
        padding: 12px 16px;
    }
    
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 10, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        pointer-events: none;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .contact-btn-wrapper {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .tracker-input-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .tracker-input-wrapper .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .interactive-box {
        padding: 24px 16px;
    }
    
    .contact-form-panel {
        padding: 24px 16px;
    }
}
