:root {
    --bg-dark: #121212;
    --bg-light: #ffffff;
    --accent: #FF3B30;
    --text-on-dark: #ffffff;
    --text-on-light: #1A1A1A;
    --text-dim: #999999;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-dark: #1A1A1A;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
}

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

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

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-on-dark);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    height: 35px;
    width: auto;
    filter: contrast(300%) brightness(110%) invert(1) hue-rotate(180deg);
    mix-blend-mode: screen;
    vertical-align: middle;
    /* This ensures any near-white background becomes pure transparent on black */
}

footer .brand-mark {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-cta {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    border-radius: 0; /* Square corners */
}

.btn-cta:hover, .nav-links .btn-cta:hover {
    background: var(--accent);
    color: white !important;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    padding-top: 80px;
    background: var(--bg-dark);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

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

.hero-canvas {
    width: 100%;
    max-width: 500px;
    height: 500px;
    /* Removed border and background for seamless blend */
}

h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.02em;
}

h1 span {
    color: var(--accent);
}

.hero-p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 450px;
}

/* Sections General */
section {
    padding: 100px 10%;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-weight: 900;
}

/* Light Section for Content */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

.section-light .section-title {
    color: var(--text-on-light);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-card {
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: all 0.3s;
    border-radius: 0;
}

.section-light .process-card {
    border-color: #EEEEEE;
}

.process-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.3;
}

.process-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.benefit-item {
    text-align: left;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.benefit-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-dim);
    font-size: 1rem;
}

.profit-highlight {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-on-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.section-light .profit-highlight {
    color: var(--text-on-light);
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-card {
    background: #1A1A1A;
    border: 1px solid var(--border-color);
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent);
    transition: height 0.3s ease;
}

.case-card:hover::before {
    height: 100%;
}

.case-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    display: block;
}

.case-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.case-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.case-stat {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-on-dark);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Trusted By Section */
.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.client-logo {
    max-height: 48px;
    width: auto;
    filter: none; /* Show original colors all the time */
    opacity: 1;
    transition: all 0.4s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .trusted-logos {
        gap: 3rem;
    }
    .client-logo {
        max-height: 30px;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-container, .case-studies-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { flex-direction: column; text-align: left; padding-top: 120px; }
    .hero-content { margin-bottom: 3rem; }
    h1 { font-size: 2.5rem; }
    .process-grid { grid-template-columns: 1fr; }
}
