:root {
    --primary-color: #0D0D0D;
    --secondary-color: #F7F4EE;
    --accent-orange: #E60000; /* Aesthetic Red */
    --accent-purple: #7657FF;
    --supporting-grey: #A7A7A7;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-alt: 'DM Sans', sans-serif;

    --transition: all 0.3s ease;
}

body {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
}
.cursor-outline::after {
    content: attr(data-text);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
.loader-content {
    text-align: center;
    overflow: hidden;
}
.loader-text span {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin: 0 10px;
    transform: translateY(100%);
    opacity: 0;
    animation: revealText 0.8s forwards;
}
.loader-text span:nth-child(2) { animation-delay: 0.1s; color: var(--accent-orange); }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-line {
    width: 0;
    height: 2px;
    background-color: var(--accent-purple);
    margin: 20px auto 0;
    animation: drawLine 1s 0.5s forwards;
}

@keyframes revealText {
    to { transform: translateY(0); opacity: 1; }
}
@keyframes drawLine {
    to { width: 100%; }
}

/* Typography */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; }

.text-orange { color: var(--accent-orange) !important; }
.text-purple { color: var(--accent-purple) !important; }

/* Buttons */
.btn-primary {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
    font-family: var(--font-alt);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    padding: 12px 24px;
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}
.btn-outline-dark {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 0;
    font-family: var(--font-alt);
    font-weight: 700;
}
.btn-outline-dark:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.btn-outline-light {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 0;
    font-family: var(--font-alt);
    font-weight: 700;
}
.btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: background-color 0.3s, padding 0.3s;
    background-color: var(--primary-color) !important;
}
.navbar.scrolled {
    padding: 10px 0;
}
.navbar.scrolled .nav-link, .navbar.scrolled .navbar-brand {
    color: var(--secondary-color) !important;
}
.navbar-brand {
    color: var(--secondary-color);
}
.navbar-brand .logo-text {
    font-size: 1.2rem;
    line-height: 1.1;
    display: inline-block;
    color: var(--secondary-color);
}
.nav-link {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0 10px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.navbar-toggler {
    border: none;
    outline: none;
}
.hamburger-icon {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    position: relative;
    transition: var(--transition);
}
.navbar.scrolled .hamburger-icon,
.navbar.scrolled .hamburger-icon::before,
.navbar.scrolled .hamburger-icon::after {
    background-color: var(--secondary-color);
}
.hamburger-icon::before, .hamburger-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: inherit;
    left: 0;
    transition: var(--transition);
}
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }

/* Sections */
section {
    padding: 100px 0;
}
.bg-dark {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}
.hero-visual {
    position: relative;
    height: 600px;
    width: 100%;
}
.hero-card {
    position: absolute;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s;
}
.hero-card:nth-child(1) { top: 10%; left: 10%; z-index: 2; width: 250px; }
.hero-card:nth-child(2) { bottom: 10%; right: 10%; z-index: 3; width: 300px; border: 2px solid var(--accent-purple); }
.hero-card:nth-child(3) { top: 40%; left: 40%; z-index: 1; transform: rotate(-5deg); width: 200px; background-color: var(--accent-orange); color: #fff;}

/* Marquee */
.marquee-container {
    background-color: var(--accent-orange);
    color: var(--primary-color);
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services Card */
.service-card {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    padding: 40px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.bg-dark .service-card {
    border-color: var(--supporting-grey);
}
.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--supporting-grey);
    opacity: 0.5;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
}
.service-card:hover .service-number {
    color: var(--accent-orange);
    opacity: 1;
}

/* Content Pillars */
.pillar-item {
    border-bottom: 1px solid var(--primary-color);
    padding: 30px 0;
    cursor: none;
    transition: var(--transition);
}
.pillar-item:hover {
    padding-left: 20px;
    color: var(--accent-purple);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.footer-links a {
    color: var(--supporting-grey);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 8px;
}
.footer-links a:hover {
    color: var(--accent-orange);
}
.footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* Cookie Banner & Modal */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px 0;
    z-index: 9990;
    transition: bottom 0.5s ease;
    border-top: 2px solid var(--accent-purple);
}
.cookie-banner.show {
    bottom: 0;
}
.modal-content {
    border-radius: 0;
}

/* Utility */
.img-fluid { max-width: 100%; height: auto; }
.h-100 { height: 100% !important; }
.conceptual-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

/* Animations Trigger Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    display: flex;
}
