:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #555555;
    --primary-red: #e63946;
    --primary-blue: #1d3557;
    --accent-blue: #457b9d;
    --accent-red-glow: rgba(230, 57, 70, 0.4);
    --accent-blue-glow: rgba(29, 53, 87, 0.1);
    --section-bg-alt: #f8f9fa;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Cursor - Adjusted for Light Mode */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(29, 53, 87, 0.3);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(29, 53, 87, 0.05);
}

/* Navbar - Light Mode */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    height: 40px;
    width: auto;
    filter: invert(1);
    /* Invert white logo to black if needed, or better: use specific black logo asset if available (handled in HTML but backup here) */
}

/* Ensure branding colors work well on white */
.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-red);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(29, 53, 87, 0.05), transparent 60%);
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.split-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-text-col {
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--primary-blue);
}

.text-accent {
    display: block;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(29, 53, 87, 0.3);
}

/* Background Gradients - Adjusted for Light Mode */
.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    /* More subtle opacity for light mode */
    animation: float 10s infinite ease-in-out alternate;
}

.gradient-sphere.blue {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
}

.gradient-sphere.red {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-red), transparent);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-glow-wrapper {
    position: relative;
    width: 100%;
}

.img-glow-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 60%);
    filter: blur(30px);
    z-index: -1;
}

.hero-action-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(29, 53, 87, 0.25);
    /* No heavy mask needed for light mode, clean image looks better */
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-action-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* PROBLEM SECTION - Clean Light Grey */
.problem-section {
    padding: 8rem 5%;
    background-color: var(--section-bg-alt);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.problem-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(230, 57, 70, 0.3);
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    background: rgba(230, 57, 70, 0.05);
}

.problem-heading {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

.problem-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.wall-texture {
    /* Using dot pattern for subtle texture in light mode */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

/* SOLUTION SECTION - White Clean */
.solution-section {
    padding: 8rem 5%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--section-bg-alt);
    /* Match problem section bg */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 20%);
    z-index: 5;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.solution-heading {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.solution-img {
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(230, 57, 70, 0.2));
}

/* Contact Section */
.contact-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-blue);
}

.contact-card p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: #f1f3f5;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: all var(--transition-speed);
}

.form-group input:focus {
    outline: none;
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(29, 53, 87, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-red), #ff6b6b);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.footer-logo img {
    height: 30px;
    filter: invert(1);
    /* Invert white logo for footer too */
    opacity: 0.7;
    margin-bottom: 1rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .split-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 6rem;
    }

    .hero-text-col {
        text-align: center;
        order: 2;
    }

    .hero-visual-col {
        order: 1;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .split-layout,
    .solution-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .solution-grid .visual-content {
        order: -1;
        margin-bottom: 2rem;
    }

    .problem-heading,
    .solution-heading {
        font-size: 2.2rem;
    }
}