@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
    --primary-bg: #020c1b;
    --navy: #050A14;
    --light-navy: #0A1525;
    --cyan: #00E5FF;
    --cyan-dim: rgba(0, 229, 255, 0.1);
    --cyan-glow: rgba(0, 229, 255, 0.3);
    --accent: #d053da; /* Sunset Orchid */
    --accent-glow: rgba(208, 83, 218, 0.3);
    --glass-bg: rgba(5, 10, 20, 0.85);
    --glass-border: rgba(0, 229, 255, 0.15);
    --text: #E8EDF5;
    --muted: #7A8CAA;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; /* Custom cursor handling */
}

body {
    background-color: var(--primary-bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Syne', sans-serif;
    color: var(--white);
    font-weight: 800;
}

/* --- Custom Cursor --- */
#cursor-ring {
    position: fixed;
    width: 25px;
    height: 25px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 10px var(--cyan-glow);
}

#cursor-ring.hovering {
    width: 50px;
    height: 50px;
    background: var(--cyan-dim);
    border-style: dashed;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 6%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

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

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

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.05) 0%, rgba(2, 12, 27, 1) 70%);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--white) 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--cyan);
    color: var(--navy);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--cyan-glow);
    transform: translateY(-3px);
}

.btn-floating {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #b046c8 100%);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    font-weight: 700;
    z-index: 999;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-floating:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 50px rgba(208, 83, 218, 0.5);
}

/* --- Content Sections --- */
.section {
    padding: 120px 8%;
    max-width: 1300px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--cyan);
}

.branch-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.branch-card {
    background: var(--light-navy);
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.branch-card:hover {
    background: #101E36;
    transform: translateY(-10px);
    border-color: var(--cyan);
}

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

.branch-card h3 {
    color: var(--cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.branch-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* --- Video Demo & Fallback --- */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: var(--navy);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, var(--accent-glow) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, var(--cyan-glow) 0%, transparent 60%),
                var(--navy);
    z-index: 0;
}

.fallback-content {
    text-align: center;
    z-index: 2;
}

.fallback-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.fallback-content p {
    font-size: 0.9rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.4;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0.6; }
}

footer {
    padding: 60px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--muted);
}

/* Grid Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: -1;
}
