/* Design System & Variables */
:root {
    /* Base Colors - Light & Vibrant Theme */
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-hover: #f0f9ff;
    /* Lighter blue tint on hover */
    --bg-glass: rgba(255, 255, 255, 0.9);

    /* Primary Accents - Energetic Blue & Electric Purple */
    --primary: #3b82f6;
    /* Bright Blue */
    --primary-glow: #60a5fa;
    --primary-dim: rgba(59, 130, 246, 0.1);

    /* Secondary Accents - Vibrant Cyan/Teal */
    --accent: #06b6d4;
    /* Cyan 500 */
    --accent-glow: #22d3ee;
    --accent-dim: rgba(6, 182, 212, 0.1);

    /* Social Brand Colors */
    --brand-tiktok: #000000;
    --brand-tiktok-cyan: #25F4EE;
    --brand-youtube: #FF0000;
    --brand-instagram: #E1306C;
    --brand-pinterest: #E60023;

    /* Text Colors */
    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #475569;
    /* Slate 600 - Slightly darker for better contrast */
    --text-dim: #94a3b8;
    /* Slate 400 */

    /* Borders & Lines */
    --border: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.05);

    /* Spacing & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows & Glows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --glow-primary: 0 0 20px rgba(59, 130, 246, 0.3);
    --glow-accent: 0 0 20px rgba(6, 182, 212, 0.3);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

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

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

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

.hidden {
    display: none !important;
}

.w-full {
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

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

.text-dim {
    color: var(--text-dim);
}

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

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

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

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    background: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
    background: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-surface-hover);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(59, 130, 246, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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

.card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo img {
    height: 90px !important;
    width: auto;
    display: block;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    color: inherit;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle,
.dropdown.active .dropdown-toggle {
    color: var(--primary);
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg-surface-hover);
    color: var(--primary);
}

.dropdown-item i {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.7;
}

.dropdown-item:hover i {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 25%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

/* Sections */
.section-padding {
    padding: 8rem 0;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover .feature-icon {
    background: var(--primary);
    color: white;
    box-shadow: var(--glow-primary);
    transform: scale(1.1);
}

.feature-list {
    margin-top: 1.5rem;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.feature-list li i {
    color: var(--accent);
}

/* BIM Discipline Cards (New) */
.discipline-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discipline-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.discipline-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.discipline-card:hover .discipline-icon {
    transform: scale(1.1);
    color: var(--accent);
}

.discipline-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Sub-categories (Hidden by default) */
.discipline-subcategories {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

.discipline-card.active .discipline-subcategories {
    max-height: 200px;
    /* Adjust based on content */
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.subcategory-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-surface);
    color: var(--text-muted);
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    transition: var(--transition);
    white-space: nowrap;
}

.subcategory-pill:hover {
    background: var(--primary-dim);
    color: var(--primary);
    border-color: var(--primary);
}

/* Why Constructive Section (New) */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid transparent;
    transition: var(--transition);
}

.why-item:hover {
    background: white;
    border-color: var(--primary-dim);
    box-shadow: var(--shadow-md);
}

/* Social Media */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    color: var(--text-muted);
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-tiktok:hover {
    border-color: var(--brand-tiktok);
}

.social-tiktok:hover i {
    color: var(--brand-tiktok);
    text-shadow: 2px 2px 0px var(--brand-tiktok-cyan);
}

.social-youtube:hover {
    border-color: var(--brand-youtube);
}

.social-youtube:hover i {
    color: var(--brand-youtube);
}

.social-instagram:hover {
    border-color: var(--brand-instagram);
}

.social-instagram:hover i {
    color: var(--brand-instagram);
}

.social-pinterest:hover {
    border-color: var(--brand-pinterest);
}

.social-pinterest:hover i {
    color: var(--brand-pinterest);
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-input,
.form-textarea {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-dim);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    background: var(--bg-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-link {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 5px;
    /* Subtle hover movement */
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lighting Fixtures Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure product is fully visible */
    padding: 1rem;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.download-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .download-btn {
    opacity: 1;
    transform: translateY(0);
}

.download-btn:hover {
    background: var(--primary);
    color: white;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.product-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.product-price {
    margin-top: auto;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-dim);
    font-size: 0.875rem;
    font-weight: 400;
}

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


/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                   PREMIUM GLASSMORPHISM HERO ANIMATION                     */
/* -------------------------------------------------------------------------- */

/* --- Main Container --- */
.anim-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
    /* Subtle central highlight */
}

/* --- SVG Connections (Data Flow) --- */
.anim-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.conn-line {
    fill: none;
    stroke: url(#lineGradient);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 6, 12;
    animation: flowData 1.5s linear infinite;
    opacity: 0.8;
}

@keyframes flowData {
    to {
        stroke-dashoffset: -18;
    }
}

/* --- Central Hub (AI Core) --- */
.anim-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* Pulse Rings */
.anim-hub::before,
.anim-hub::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    z-index: -1;
}

.anim-hub::before {
    width: 200px;
    height: 200px;
    animation: ringPulse 4s infinite ease-out;
}

.anim-hub::after {
    width: 260px;
    height: 260px;
    animation: ringPulse 4s infinite ease-out 1.5s;
    border-color: var(--accent);
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
        border-width: 2px;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
        border-width: 0px;
    }
}

.hub-center {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 50px -10px rgba(59, 130, 246, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 0 20px rgba(59, 130, 246, 0.2);
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: heartbeat 3s infinite ease-in-out;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 30px 60px -15px rgba(59, 130, 246, 0.7);
    }
}

.hub-center i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.3));
}

.hub-label {
    margin-top: 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 1);
    animation: floatLabel 4s ease-in-out infinite;
    z-index: 10;
}

.hub-title {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-main);
}

.hub-status {
    display: block;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Satellites (Premium Glass Cards) --- */
.anim-satellite {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 16px 24px 16px 16px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: floatSat 6s ease-in-out infinite;
    z-index: 15;
}

.anim-satellite:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.25);
    border-color: white;
}

.sat-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1);
}

.sat-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 2px;
}

.sat-desc {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* Positioning */
.sat-1 {
    /* Plugins */
    top: 18%;
    left: 8%;
    animation-delay: 0s;
}

.sat-2 {
    /* BIM Models */
    top: 18%;
    right: 8%;
    animation-delay: 2s;
}

/* --- Metrics (Premium Glass Cards) --- */
.anim-metric {
    position: absolute;
    bottom: 22%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 14px 24px;
    border-radius: 20px;
    box-shadow:
        0 15px 35px -5px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    animation: floatMetric 5s ease-in-out infinite;
    transition: all 0.3s ease;
    z-index: 15;
}

.anim-metric:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.metric-val {
    font-weight: 900;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--text-main));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
    text-transform: capitalize;
}

.metric-1 {
    left: 18%;
    bottom: 24%;
    animation-delay: 1s;
}

/* Center lower */
.metric-3 {
    right: 18%;
    bottom: 24%;
    animation-delay: 1.5s;
}

/* --- Animations --- */
@keyframes floatSat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatLabel {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatMetric {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Background Gradients (Enhanced) */
.bg-layer {
    opacity: 0.45 !important;
    filter: blur(120px) !important;
    transition: all 1s ease;
}


/* -------------------------------------------------------------------------- */
/*                   END HERO ANIMATION STYLES                                */
/* -------------------------------------------------------------------------- */

/* Comparison Section (Table Layout) */
.comparison-container {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: white;
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure it doesn't squish too much on mobile */
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--bg-surface);
}

.comparison-table td {
    color: var(--text-main);
    vertical-align: middle;
}

/* Column Specifics */
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    text-align: center;
    color: var(--text-muted);
}

.comparison-table td:nth-child(2) i {
    color: var(--text-dim);
    font-size: 1.25rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Constructive Column (3rd Column) */
.comparison-table th.constructive-col,
.comparison-table td.constructive-col {
    background: rgba(59, 130, 246, 0.05);
    /* Very light blue tint */
    border-left: 1px solid rgba(59, 130, 246, 0.1);
}

.comparison-table th.constructive-col {
    color: var(--primary);
}

.comparison-table td.constructive-col {
    font-weight: 600;
    color: var(--text-main);
    position: relative;
}

.comparison-table td.constructive-col i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

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

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .dropdown-menu {
        left: 0;
        transform: translateX(0);
        min-width: 180px;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        transform: translateX(0);
    }
}

/* Refactored Utility Classes (SEO & Cleanup) */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-glass-panel {
    border-radius: var(--radius-xl);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-animation-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
}

.hero-model-container {
    position: relative;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary);
    transform: rotateX(60deg) rotateZ(45deg);
    animation: rotateModel 10s infinite linear;
}

.hero-model-inner {
    position: absolute;
    inset: 20px;
    border: 1px dashed var(--accent);
}

.hero-model-axis {
    position: absolute;
    top: -50px;
    left: 50%;
    width: 2px;
    height: 100px;
    background: var(--accent);
}

.hero-caption {
    position: absolute;
    bottom: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.why-icon-primary {
    color: var(--primary);
}

.why-desc {
    margin-top: 0.5rem;
}

.feature-desc {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-link {
    margin-top: auto;
    padding-top: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.bg-gradient-surface {
    background: linear-gradient(to bottom, var(--bg-body), var(--bg-surface));
}

.disciplines-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--primary);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    max-width: 300px;
}

.footer-category-title {
    margin-bottom: 1.5rem;
}

.footer-copyright {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.875rem;
}

.social-icon-lg {
    font-size: 1.5rem;
}

@keyframes rotateModel {
    0% {
        transform: rotateX(60deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(60deg) rotateZ(360deg);
    }
}

/* Language Toggle Buttons */
.language-toggle {
    position: fixed;
    top: calc(1rem + 22px);
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.language-toggle:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lang-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lang-btn:hover {
    background: var(--bg-surface-hover);
    color: var(--primary);
    transform: scale(1.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.lang-btn.active:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}

/* Responsive adjustments for language toggle */
@media (max-width: 768px) {
    .language-toggle {
        right: 10px;
        top: 1rem;
        flex-direction: row;
    }

    .lang-btn {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
}