/* ---------- CSS Variables & Setup ---------- */
:root {
    --primary-color: #6366f1; /* Indigo */
    --secondary-color: #8b5cf6; /* Violet */
    --bg-color: #fafafa;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glow-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Outfit', sans-serif;
}

/* Background Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
}

/* Floating Gradient Blur */
.gradient-blur-bg {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* Header */
.luxury-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background: transparent;
}
.luxury-header.scrolled {
    background: rgba(253, 253, 253, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #111, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: var(--text-primary) !important;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    border: none;
    box-shadow: var(--glow-shadow);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(128, 91, 255, 0.5);
    color: #fff;
}

/* General Layout Setup */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.highlight-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Typography & Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* About Section */
.about-section {
    background: radial-gradient(circle at right, rgba(128, 91, 255, 0.05) 0%, transparent 50%);
}

.about-img {
    transition: transform 0.5s ease;
}
.about-image-wrapper:hover .about-img {
    transform: scale(1.02);
}

.floating-badge {
    bottom: -20px;
    right: -20px;
    padding: 20px;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px 10px;
    transition: all 0.3s ease;
}
.stat-item:hover {
    background: rgba(128, 91, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Map Section */
.map-container {
    max-width: 1000px;
    margin: 0 auto;
}
.map-pin {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.map-pin .glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: rgba(128, 91, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Products Section */
.products-section {
    background: linear-gradient(to bottom, transparent, rgba(128, 91, 255, 0.03), transparent);
}
.floating-phone {
    max-height: 600px;
    object-fit: contain;
    animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}
.orbit-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}
.orbit-1 { animation: orbit1 10s linear infinite; }
.orbit-2 { animation: orbit2 15s linear infinite; }
.orbit-3 { animation: orbit3 12s linear infinite; }

@keyframes orbit1 {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
@keyframes orbit2 {
    0% { transform: rotate(120deg) translateX(200px) rotate(-120deg); }
    100% { transform: rotate(480deg) translateX(200px) rotate(-480deg); }
}
@keyframes orbit3 {
    0% { transform: rotate(240deg) translateX(180px) rotate(-240deg); }
    100% { transform: rotate(600deg) translateX(180px) rotate(-600deg); }
}

/* Culture Section */
.culture-section {
    background: radial-gradient(circle at left, rgba(128, 91, 255, 0.04) 0%, transparent 50%);
}
.culture-img-wrapper {
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.culture-img-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(128, 91, 255, 0.15);
}
.culture-img-wrapper img {
    transition: all 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
}
.culture-img-wrapper:hover img {
    transform: scale(1.1);
}
.culture-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px !important;
}
.culture-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.culture-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Values Tab */
.value-tab {
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.value-tab:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}
.value-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}
.value-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}
.value-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Leadership Section */
.leadership-section {
    background: radial-gradient(circle at right, rgba(128, 91, 255, 0.03) 0%, transparent 50%);
}
.leader-row {
    display: flex;
    gap: 8px;
    height: 100%;
    min-height: 400px;
}
.leader-piece {
    flex: 1;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.leader-piece.active {
    flex: 4;
}
.leader-piece img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.leader-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.leader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    z-index: 2;
}
.leader-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 20px 24px;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
}
.leader-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}
.leader-line {
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 8px 0;
    border-radius: 2px;
}
.leader-role {
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.leader-bio {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* Default: active card (Sean) shows info */
.leader-piece.active .leader-mask { display: none; }
.leader-piece.active .leader-info { display: flex; }

/* Hover: all shrink, hovered one expands */
.leader-row:hover .leader-piece { flex: 1; }
.leader-row:hover .leader-piece .leader-mask { display: block; }
.leader-row:hover .leader-piece .leader-info { display: none; }
.leader-row:hover .leader-piece:hover { flex: 4; }
.leader-row:hover .leader-piece:hover .leader-mask { display: none; }
.leader-row:hover .leader-piece:hover .leader-info { display: flex; }

@media (max-width: 768px) {
    .leader-row { gap: 4px; min-height: 300px; }
    .leader-piece.active { flex: 3; }
    .leader-info { padding: 14px; }
    .leader-name { font-size: 1rem; }
    .leader-bio { font-size: 0.72rem; }
    .leader-role { font-size: 0.65rem; }
}

/* QR Section */
.qr-panel {
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(128,91,255,0.1));
}
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: scan 2s linear infinite;
    opacity: 0.8;
}
@keyframes scan {
    0% { top: 15px; }
    50% { top: calc(100% - 20px); }
    100% { top: 15px; }
}

/* Timeline Section */
.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--bg-color);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-color);
}
@media (max-width: 768px) {
    .timeline-line { display: none; }
    .timeline-dot { display: none; }
}

/* Awards */
.award-item {
    transition: all 0.3s ease;
}
.award-item:hover {
    transform: translateX(10px);
    border-color: rgba(255,215,0,0.5);
    background: rgba(255,215,0,0.05);
}

/* Partners Marquee */
.marquee-container {
    width: 100%;
}
.marquee-content {
    animation: marquee 20s linear infinite;
    width: max-content;
}
.marquee-content:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}
.partner-logo:hover {
    color: var(--primary-color);
    box-shadow: var(--glow-shadow);
}

/* Footer */
.luxury-footer {
    background: linear-gradient(to top, rgba(99, 102, 241, 0.08), transparent);
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}
.hover-dark:hover {
    color: #000 !important;
}
