:root {
    --bg: #03060f;
    --bg2: #060d1e;
    --cyan: #00e5ff;
    --cyan2: #00bcd4;
    --orange: #ff6b35;
    --orange2: #ff9a5e;
    --white: #f0f4ff;
    --muted: #6b7a99;
    --card: rgba(0,229,255,0.04);
    --border: rgba(0,229,255,0.12);
    --glow: 0 0 40px rgba(0,229,255,0.25);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Exo 2', sans-serif;
    overflow-x: hidden;
    cursor: none;
  }

  /* CURSOR */
  .cursor-dot {
    position: fixed; width: 8px; height: 8px;
    background: var(--cyan); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1.5px solid var(--cyan); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.18s ease; opacity: 0.6;
  }

  /* CANVAS */
  #starfield {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(3,6,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem; font-weight: 900;
    letter-spacing: 0.12em;
    text-decoration: none; color: var(--white);
    display: flex; align-items: center; gap: 0.5rem;
  }
  .logo span.x { color: var(--cyan); }
  .logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: logoSpin 8s linear infinite;
  }
  @keyframes logoSpin { 100% { filter: hue-rotate(360deg); } }
  .nav-links {
    display: flex; gap: 2rem; list-style: none;
  }
  .nav-links a {
    text-decoration: none; color: var(--muted);
    font-size: 0.85rem; letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--cyan); transition: width 0.3s ease;
  }
  .nav-links a:hover { color: var(--cyan); }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active { color: var(--cyan); }
  .nav-links a.active::after { width: 100%; }
  .nav-cta {
    background: transparent !important;
    border: 1px solid var(--cyan) !important;
    color: var(--cyan) !important;
    padding: 0.5rem 1.4rem !important;
    border-radius: 2px;
    transition: all 0.3s ease !important;
  }
  .nav-cta:hover {
    background: var(--cyan) !important;
    color: var(--bg) !important;
    box-shadow: var(--glow) !important;
  }
  .nav-cta::after { display: none !important; }

  /* PAGE WRAPPER */
  .page {
    position: relative; z-index: 1;
    min-height: 100vh;
    padding-top: 80px;
  }

  /* HERO BAND */
  .contact-hero {
    padding: 5rem 5% 3rem;
    position: relative; overflow: hidden;
  }
  .hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
    animation: gridPulse 4s ease-in-out infinite;
  }
  @keyframes gridPulse { 0%,100%{opacity:.5} 50%{opacity:1} }
  .hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
  }
  .orb-1 { width: 400px; height: 400px; background: radial-gradient(circle,rgba(0,229,255,0.12),transparent 70%); top: -100px; right: 10%; }
  .orb-2 { width: 280px; height: 280px; background: radial-gradient(circle,rgba(255,107,53,0.1),transparent 70%); bottom: -50px; left: 5%; animation-delay: -3s; }
  @keyframes orbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
  .contact-hero-inner {
    position: relative; z-index: 1;
    text-align: center;
    max-width: 680px; margin: 0 auto;
  }
  .section-label {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--cyan);
    margin-bottom: 1rem;
    opacity: 0; transform: translateY(20px);
    animation: slideUp 0.7s 0.2s forwards;
  }
  .section-label::before, .section-label::after {
    content: ''; display: block;
    width: 24px; height: 1px; background: var(--cyan);
  }
  h1.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -0.02em; margin-bottom: 1rem;
    opacity: 0; transform: translateY(20px);
    animation: slideUp 0.7s 0.4s forwards;
  }
  .page-title .accent { color: var(--cyan); }
  .page-sub {
    color: var(--muted); font-size: 1rem; line-height: 1.7;
    opacity: 0; transform: translateY(20px);
    animation: slideUp 0.7s 0.6s forwards;
  }
  @keyframes slideUp { to { opacity:1; transform:translateY(0); } }

  /* MAIN LAYOUT */
  .contact-main {
    padding: 3rem 5% 6rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* LEFT — INFO */
  .contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

  .info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px; padding: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0; transform: translateY(24px);
    animation: slideUp 0.7s forwards;
  }
  .info-card:nth-child(1) { animation-delay: 0.5s; }
  .info-card:nth-child(2) { animation-delay: 0.65s; }
  .info-card:nth-child(3) { animation-delay: 0.8s; }
  .info-card:nth-child(4) { animation-delay: 0.95s; }
  .info-card:hover {
    border-color: rgba(0,229,255,0.3);
    transform: translateY(-3px);
    box-shadow: var(--glow);
  }
  .info-card-head {
    display: flex; align-items: center; gap: 0.9rem;
    margin-bottom: 0.8rem;
  }
  .info-icon {
    width: 42px; height: 42px; min-width: 42px;
    background: rgba(0,229,255,0.07);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
  }
  .info-card:hover .info-icon {
    border-color: var(--cyan);
    background: rgba(0,229,255,0.12);
    box-shadow: 0 0 16px rgba(0,229,255,0.2);
  }
  .info-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.07em;
  }
  .info-card p {
    font-size: 0.88rem; color: var(--muted); line-height: 1.6;
  }
  .info-card a {
    color: var(--cyan); text-decoration: none;
    font-size: 0.88rem; font-weight: 600;
    transition: opacity 0.2s;
  }
  .info-card a:hover { opacity: 0.75; }

  /* HOURS GRID */
  .hours-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1.5rem; margin-top: 0.2rem;
  }
  .hours-row {
    display: flex; justify-content: space-between;
    font-size: 0.8rem; padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0,229,255,0.06);
  }
  .hours-day { color: var(--muted); }
  .hours-time { color: var(--white); font-weight: 600; }
  .hours-closed { color: rgba(255,107,53,0.7); }

  /* SOCIAL ROW */
  .social-row {
    display: flex; gap: 0.8rem; margin-top: 0.2rem; flex-wrap: wrap;
  }
  .social-btn {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--border); border-radius: 2px;
    font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: all 0.3s;
  }
  .social-btn:hover { border-color: var(--cyan); color: var(--cyan); }

  /* RIGHT — FORM */
  .contact-form-wrap {
    opacity: 0; transform: translateY(24px);
    animation: slideUp 0.7s 0.5s forwards;
  }

  /* TAB SWITCHER */
  .form-tabs {
    display: flex; margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 2px; overflow: hidden;
  }
  .tab-btn {
    flex: 1; padding: 0.8rem 1rem;
    background: transparent; border: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); cursor: pointer;
    transition: all 0.3s;
    position: relative;
  }
  .tab-btn.active {
    background: rgba(0,229,255,0.08);
    color: var(--cyan);
  }
  .tab-btn.active::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--cyan);
  }
  .tab-btn:not(.active):hover { color: var(--white); background: rgba(255,255,255,0.03); }

  /* FORM PANEL */
  .form-panel { display: none; }
  .form-panel.active { display: block; }

  .form-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px; padding: 2rem;
  }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
  .form-group label {
    font-size: 0.7rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted);
    font-weight: 600;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
    width: 100%;
    -webkit-appearance: none;
  }
  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
  }
  .form-group select option { background: #060d1e; }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
    background: rgba(0,229,255,0.03);
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: rgba(107,122,153,0.6); }
  .form-group textarea { resize: vertical; min-height: 100px; }

  /* DATE/TIME PICKER STYLE */
  .form-group input[type="date"],
  .form-group input[type="time"] {
    color-scheme: dark;
  }

  /* MEETING TIME SLOTS */
  .slot-label {
    font-size: 0.7rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted);
    font-weight: 600; margin-bottom: 0.6rem; display: block;
  }
  .slot-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem; margin-bottom: 1rem;
  }
  .slot-btn {
    padding: 0.55rem 0.5rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.78rem; color: var(--muted);
    cursor: pointer; transition: all 0.25s;
    text-align: center;
  }
  .slot-btn:hover { border-color: rgba(0,229,255,0.4); color: var(--white); }
  .slot-btn.selected {
    border-color: var(--cyan);
    background: rgba(0,229,255,0.1);
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,229,255,0.15);
  }
  .slot-btn.disabled {
    opacity: 0.25; cursor: not-allowed; pointer-events: none;
  }

  /* SUBMIT BUTTON */
  .btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--cyan), var(--cyan2));
    color: #000; font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
    border: none; border-radius: 2px; cursor: pointer;
    position: relative; overflow: hidden;
    transition: all 0.3s ease; margin-top: 0.5rem;
  }
  .btn-submit::before {
    content: ''; position: absolute;
    top: -50%; left: -60%; width: 30%; height: 200%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
  }
  .btn-submit:hover::before { left: 130%; }
  .btn-submit:hover { box-shadow: 0 0 30px rgba(0,229,255,0.5); transform: translateY(-2px); }
  .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

  /* SUCCESS STATE */
  .form-success {
    display: none;
    text-align: center; padding: 3rem 2rem;
    background: var(--card); border: 1px solid rgba(0,229,255,0.2);
    border-radius: 4px;
  }
  .form-success.show { display: block; }
  .success-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(0,229,255,0.1);
    border: 2px solid var(--cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 1.5rem;
    animation: successPop 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
  }
  @keyframes successPop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
  .form-success h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem;
    color: var(--cyan);
  }
  .form-success p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
  .form-success .back-btn {
    display: inline-block; margin-top: 1.5rem;
    font-size: 0.78rem; color: var(--muted);
    cursor: pointer; text-decoration: underline;
    transition: color 0.2s;
  }
  .form-success .back-btn:hover { color: var(--cyan); }

  /* FORM NOTE */
  .form-note {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; color: rgba(107,122,153,0.7);
    margin-top: 0.8rem;
  }
  .form-note::before { content: '🔒'; font-size: 0.8rem; }

  /* FOOTER */
  footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 3rem 5%;
    position: relative; z-index: 1;
  }
  .footer-inner {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 2rem;
  }
  .footer-copy { font-size: 0.8rem; color: var(--muted); }
  .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
  .footer-links a {
    font-size: 0.8rem; color: var(--muted);
    text-decoration: none; transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--cyan); }
  .footer-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem; color: rgba(0,229,255,0.3);
    letter-spacing: 0.15em;
  }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .contact-main { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) {
    
    .form-row { grid-template-columns: 1fr; }
    .slot-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* HAMBURGER */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 101; padding: 4px; background: none; border: none; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s ease; transform-origin: center; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 600px) {
    .hamburger { display: flex !important; }
    .nav-links { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; background: rgba(3,6,15,0.97); backdrop-filter: blur(20px); padding: 90px 2rem 2rem; gap: 0; transform: translateY(-100%); transition: transform 0.35s ease; z-index: 99; border-bottom: 1px solid var(--border); }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links a { display: block; padding: 1rem 0; font-size: 1rem; }
    .nav-links li:last-child { border-bottom: none; margin-top: 1rem; }
    .nav-cta { text-align: center; }
  }
.footer-email { margin: 0.5rem 0; }
.footer-email a { color: var(--cyan); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.05em; }
.footer-email a:hover { text-decoration: underline; }

.footer-links { justify-content: center; flex: 1; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
