/* Global Variables & Reset (Max Power - Modern Boxy) */
:root {
    /* Brand Colors (From Logo) */
    --brand-orange: #f59e0b;
    /* Golden Orange */
    --brand-blue: #0ea5e9;
    /* Ocean Blue */
    --brand-dark: #0f172a;
    /* Slate 900 */
    --brand-light: #f8fafc;
    /* Slate 50 */

    /* UI Tones */
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --glow-orange: 0 0 20px rgba(245, 158, 11, 0.3);
    --glow-blue: 0 0 20px rgba(14, 165, 233, 0.3);

    --font-main: 'Outfit', sans-serif;
    --radius-bento: 24px;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor for custom one */
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--brand-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(14, 165, 233, 0.5);
    /* Blue tint */
    border: 2px solid var(--brand-orange);
    /* Orange ring */
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    backdrop-filter: blur(2px);
}

/* Specific Hover States for Cursor */
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower,
body:has(.card:hover) .cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--brand-blue);
}

/* Background Mesh (Subtle) */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(14, 165, 233, 0.06) 0%, transparent 40%);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--brand-dark);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Bento Buttons */
/* Bento Buttons - Wiper Effect */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;

    /* Background Wipe Logic: Gradient on top (hidden), Dark on bottom */
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue)) center/0% 100% no-repeat, var(--brand-dark);

    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: background-size 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    background-size: 100% 100%, 100% 100%;
    /* Wipe gradient to full width */
    transform: translateY(-3px);
    box-shadow: var(--glow-blue);
    color: white;
    /* Ensure text visible */
}

/* Outline Button - inherits but overrides default bg */
.btn-outline {
    background: white;
    color: var(--brand-dark);
    border: 2px solid var(--border-color);
    transition: background-size 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, color 0.3s;

    /* Prepare gradient for hover */
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue)) center/0% 100% no-repeat, white;
}

.btn-outline:hover {
    background-size: 100% 100%, 100% 100%;
    border-color: transparent;
    /* Seamless look */
    color: white;
    /* Text turns white on gradient */
    box-shadow: var(--glow-orange);
}

section {
    padding: 120px 0;
}

/* Nav (Floating Bento) */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid white;
}

nav .container {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--brand-orange);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero (Bento Split) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-img-3d {
    width: 100%;
    border-radius: var(--radius-bento);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 10px;
    /* Frame */
}

/* Bento Cards (The "Modern Boxy" Look) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-bento);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    /* For Glare */
    transition: transform 0.1s;
    /* Fast tilt */
    transform-style: preserve-3d;
}

/* Glare Effect element created by JS or pseudo if explicit */
.card-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Inner Glare Gradient managed by JS on specific var */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-lg);
}

.card img {
    border-radius: 12px;
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.card i {
    color: var(--brand-orange);
    margin-bottom: 15px;
    display: block;
}

/* Footer (Bento Style) */
footer {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 60px 40px;
    background: var(--brand-dark);
    border-radius: var(--radius-bento);
    color: white;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer p {
    color: #94a3b8;
}

.footer a {
    color: var(--brand-blue);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: white;
    margin: 0 15px;
    font-size: 1.5rem;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .cursor-follower {
        display: none;
    }

    /* No custom cursor on touch */
    * {
        cursor: auto;
    }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    nav {
        top: 0;
        width: 100%;
        border-radius: 0;
        left: 0;
        transform: none;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 80%;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: 0.3s;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background: #0f172a;
        margin: 5px;
    }
}

/* Marquee (Bonus Fire) */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    background: var(--brand-orange);
    transform: rotate(-2deg) scale(1.05);
    margin: 50px 0;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.marquee-text {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: black;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}