/* =========================================
   ANDREW LANDMAN CORPORATE WEBSITE 
   Global Design System
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  /* Oceanic & Navy Palette */
  --bg-deep: #050a15;
  --bg-alt: #0a1120;
  --navy: #0e1e38;
  --teal: #1cb5e0;
  --ocean: #000046;
  --light-blue: #709fb0;
  --silver: #e0e5ec;
  --silver-dim: rgba(224, 229, 236, 0.7);
  --white: #ffffff;
  
  /* Gradients */
  --gradient-oceanic: linear-gradient(135deg, var(--ocean), var(--teal));
  --gradient-dark: linear-gradient(to bottom, #050a15, #081024);
  --gradient-glow: radial-gradient(circle, rgba(28, 181, 224, 0.15) 0%, rgba(5, 10, 21, 0) 70%);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Inter', sans-serif; /* High-end sans */
  --font-serif: 'Playfair Display', serif; /* For subtle abstract accents */
  
  /* FX */
  --glass-bg: rgba(14, 30, 56, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   RESET & TYPOGRAPHY
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500;}

p {
  color: var(--silver-dim);
  font-size: 1.125rem;
  margin-bottom: 24px;
  max-width: 70ch;
}

.text-accent {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

/* =========================================
   UI COMPONENTS
========================================= */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: var(--gradient-oceanic);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(28, 181, 224, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(28, 181, 224, 0.5);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* =========================================
   LAYOUT UTILITIES
========================================= */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 120px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Minimal Header */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  background: rgba(5, 10, 21, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.logo span {
  font-weight: 700;
  color: var(--teal);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--silver-dim);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  width: 100%;
}

/* =========================================
   ANIMATIONS
========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Custom Cursor Glow */
.cursor-glow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--teal);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  filter: blur(25px);
  opacity: 0.5;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: #03060c;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-family: var(--font-primary);
  letter-spacing: 1px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--silver-dim);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--teal);
  padding-left: 5px;
}

.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-form input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  border-radius: 8px;
  color: white;
  font-family: var(--font-primary);
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--teal);
}

.newsletter-form button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: var(--gradient-oceanic);
  border: none;
  border-radius: 4px;
  padding: 0 20px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.creaa-link {
  color: var(--teal);
  font-weight: 600;
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--teal);
  transform: translateY(-5px);
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none; /* simple burger menu approach if needed later */
  }
}
