/* css/styles.css - Elite Agency Architecture */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #030303;
  --bg-surface: #0a0a0a;
  --bg-surface-hover: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --accent-color: #10B981;
  --accent-rgb: 16, 185, 129;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: ''; position: fixed;
  top: -50vw; left: -50vw;
  width: 200vw; height: 200vw;
  background-image: 
    repeating-conic-gradient(from 0deg, transparent 0deg, transparent 10deg, rgba(16, 185, 129, 0.05) 14deg, transparent 18deg),
    repeating-radial-gradient(circle at center, transparent 0, transparent 30px, rgba(16, 185, 129, 0.04) 35px, transparent 40px);
  z-index: 0; pointer-events: none;
  animation: rotateSpace 120s linear infinite;
  opacity: 1;
}

main, section, footer { background: transparent !important; }
main { position: relative; z-index: 1; }

@keyframes rotateSpace {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseRadar {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 0.6; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 5.5rem; letter-spacing: -0.03em; font-weight: 600; margin-bottom: 1rem; line-height: 1.05; }
h2 { font-size: 3rem; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--text-primary); }
p { font-size: 1.1rem; color: var(--text-secondary); }

.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-secondary); }
.text-gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-hero {
  background: linear-gradient(135deg, var(--accent-color) 0%, #34d399 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.leading-loose { line-height: 1.8; }
.fw-600 { font-weight: 600; }
.text-1-3rem { font-size: 1.3rem; }
.card-border-green {
  border-color: rgba(var(--accent-rgb), 0.4) !important;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.05) !important;
}
.port-img-card { height: 220px; border-radius: 8px; margin-bottom: 1.5rem; }
.port-img-card-green { border-color: rgba(var(--accent-rgb), 0.4) !important; }

/* Layout Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.section { padding: 10rem 0; border-top: 1px solid var(--border); position: relative; }
.hero-section { padding: 14rem 0 8rem; min-height: 90vh; display: flex; align-items: center; border-top: none; position: relative; }
.hero-section::before {
    content: ''; position: absolute; width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 60%);
    top: -400px; left: 50%; transform: translateX(-50%); z-index: 0; pointer-events: none;
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* Utility Classes */
.max-w-600 { max-width: 600px; }
.max-w-650 { max-width: 650px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }
.mb-10 { margin-bottom: 5rem; }
.mb-16 { margin-bottom: 8rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 6rem; }
.mt-16 { margin-top: 8rem; }
.mt-24 { margin-top: 12rem; }
.mt-32 { margin-top: 16rem; }
.border-l-4 { border-left-width: 4px !important; }
.pt-0 { padding-top: 0 !important; }
.pt-4 { padding-top: 2rem; }
.pt-8 { padding-top: 4rem !important; }
.pt-12 { padding-top: 6rem; }
.pt-16 { padding-top: 8rem; }
.pt-24 { padding-top: 12rem; }
.pt-28 { padding-top: 14rem; }
.pt-32 { padding-top: 16rem; }
.pb-0 { padding-bottom: 0 !important; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-8 { padding-bottom: 4rem; }
.pb-12 { padding-bottom: 6rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-16 { padding: 4rem 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.flex-wrap { flex-wrap: wrap; }
.text-left { text-align: left; }
.border-none { border: none !important; }
.border-l-accent { border-left: 4px solid var(--accent-color); }
.dir-rtl { direction: rtl; }
.dir-ltr { direction: ltr; }
.text-accent { color: var(--accent-color); }
.text-sm { font-size: 0.85rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: 2.5rem; }
.text-5xl { font-size: 3.5rem; }
.font-medium { font-weight: 500; }
.lowercase { text-transform: lowercase; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 1px; }
.opacity-50 { opacity: 0.5; }
.grayscale { filter: grayscale(100%); }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.w-full { width: 100%; }
.bg-transparent { background: transparent !important; }
.list-none { list-style: none; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.py-3 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.obj-top { object-position: top; }
.badge-tag { border: 1px solid var(--border); padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.85rem; color: var(--text-primary); }
.pricing-val { font-size: 1.75rem; color: var(--text-primary); font-weight: 500; }
.pricing-sub { font-size: 0.95rem; margin-top: 0.25rem; }
.h-500 { height: 500px; }
.min-h-50vh { min-height: 50vh; }
.min-h-60vh { min-height: 60vh; }
.btn-large { font-size: 1.1rem; padding: 1.25rem 3rem; }

/* Header & Nav */
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.25rem; color: var(--text-primary); letter-spacing: -0.03em; }
.nav-links { 
  display: flex; gap: 1.5rem; list-style: none; font-size: 0.9rem; font-weight: 500; align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.08), 0 0 40px rgba(16, 185, 129, 0.04), inset 0 0 12px rgba(16, 185, 129, 0.03);
}
.nav-links a { position: relative; padding: 0.4rem 0.75rem; border-radius: 999px; transition: all 0.2s ease; }
.nav-links a.active { color: var(--text-primary); background: rgba(16, 185, 129, 0.12); }
.nav-links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; font-size: 0.95rem; font-weight: 500;
  border-radius: 8px; transition: all 0.2s ease; cursor: pointer; letter-spacing: -0.01em;
}
.btn-primary { background: var(--text-primary); color: #000; box-shadow: 0 0 15px rgba(255,255,255,0.1); }
.btn-primary:hover { background: #E4E4E7; transform: translateY(-2px); box-shadow: 0 0 25px rgba(255,255,255,0.2); }
.btn-outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn-outline:hover { background: var(--bg-surface-hover); border-color: var(--text-primary); }

/* Form Elements */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-primary); font-size: 0.95rem; font-weight: 500; }
.form-input, .form-textarea {
    width: 100%; padding: 1rem; background: rgba(255,255,255,0.03);
    border: 1px solid var(--border); border-radius: 6px;
    color: var(--text-primary); font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent-color); }
.form-textarea { resize: vertical; min-height: 120px; }
#successMessage { display: none; }

/* Authority Cards (shadcn pure minimal style) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.grid-2-loose { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: center; }
.grid-2-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.shad-card {
  background: rgba(10, 10, 10, 0.7); border: 1px solid var(--border); border-radius: 12px;
  padding: 2.5rem; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.shad-card::before {
    content:''; position: absolute; top:0; left:0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0; transition: opacity 0.3s;
}
.shad-card:hover { 
  border-color: var(--border-strong); transform: translateY(-4px); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
}
.shad-card:hover::before { opacity: 1; }

.shad-card i { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.5rem; display: block; }
.shad-card h3 { margin-bottom: 1rem; color: var(--text-primary); }
.shad-card p { font-size: 1.05rem; }
.shad-card ul { list-style: none; margin-top: 1.5rem; }
.shad-card ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }

/* Metrics Glass Panels */
.glass-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: 16px; padding: 4rem;
}
.metric-block h4 { font-size: 4rem; color: var(--text-primary); letter-spacing: -0.05em; margin-bottom: 0.5rem;}
.metric-block p { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;}

/* Linear-style Rows (For pricing/features/FAQs) */
.list-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid var(--border);
}
.list-row:first-child { border-top: 1px solid var(--border); }
.list-row h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }

/* Portfolio Image specific */
.port-img-wrapper {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.6); height: 500px; width: 100%;
}
.port-img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); filter: grayscale(80%); transform: scale(1.02); }
.port-img-wrapper:hover img { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }

/* Massive UI Placeholder */
.ui-placeholder {
    width: 100%; border-radius: 12px; border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Massive CTA */
.cta-massive { text-align: center; padding: 12rem 0; }
.cta-massive h2 { font-size: 6rem; margin-bottom: 3rem; }

/* Status Dot Component */
.status-badge {
    margin-bottom: 2.5rem; display: inline-flex; align-items: center; 
    border: 1px solid var(--border-strong); padding: 0.4rem 1.25rem; 
    border-radius: 999px; font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-primary);
    background: rgba(255,255,255,0.03);
}
.status-dot {
    display:inline-block; width:8px; height:8px; background:var(--accent-color); 
    border-radius:50%; margin-right:8px; box-shadow: 0 0 8px var(--accent-color);
}
.status-dot-sm { margin: 0; width: 6px; height: 6px; }

/* Footer */
.footer-main {
  border-top: 1px solid var(--border); padding: 6rem 0 3rem; text-align: left; font-size: 0.95rem; background: rgba(3, 3, 3, 0.85);
}
.footer-main a:hover { color: var(--text-primary); }

/* Responsive Adjustments */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .grid-2-loose { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2-form { grid-template-columns: 1fr; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  .container { padding: 0 1.25rem; }
  .section { padding: 5rem 0; }
  .hero-section { padding: 10rem 0 4rem; min-height: unset; }
  .hero-section::before { width: 600px; height: 600px; top: -200px; }
  .list-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-massive { padding: 6rem 0; }
  .cta-massive h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
  
  /* Nav island → mobile dropdown */
  .nav-links { 
    position: absolute; top: 100%; left: 0; width: 100%; 
    background: rgba(3, 3, 3, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    flex-direction: column; 
    padding: 1.5rem 2rem; 
    gap: 0.25rem;
    display: none; 
    align-items: stretch;
  }
  .nav-links a { 
    padding: 0.75rem 1rem; 
    border-radius: 8px; 
    font-size: 1rem; 
  }
  .nav-links.show { display: flex; }
  .mobile-menu-btn { display: block; }
  .nav-actions { display: none; }

  /* Cards & panels */
  .glass-panel { padding: 2rem 1.5rem; }
  .metric-block h4 { font-size: 2.5rem; }
  .shad-card { padding: 1.75rem; }
  .port-img-wrapper { height: 280px !important; }
  
  /* Pricing cards */
  .pricing-val { font-size: 1.5rem; }
  
  /* Buttons */
  .btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
  .btn-large { padding: 1rem 2rem; font-size: 1rem; }
  .flex.gap-4.justify-center { flex-direction: column; align-items: center; }
  .flex.gap-4.justify-center .btn { width: 100%; max-width: 320px; }
  
  /* Footer */
  .footer-main { padding: 3rem 0 2rem; }
  .footer-main .grid-3 { gap: 2rem; }
  .footer-main .flex.justify-between { flex-direction: column; gap: 1rem; text-align: center; }
  
  /* Text */
  .text-xl { font-size: 1.05rem; }
  .text-5xl { font-size: 2.5rem; }
  .text-4xl { font-size: 2rem; }
  .text-3xl { font-size: 1.5rem; }
  .mb-16 { margin-bottom: 4rem; }
  .mb-20 { margin-bottom: 5rem; }
  .pt-28 { padding-top: 10rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .hero-section { padding: 8rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
  .metric-block h4 { font-size: 2rem; }
  .cta-massive h2 { font-size: 2rem; }
  .shad-card { padding: 1.5rem; }
  .port-img-wrapper { height: 220px !important; }
  .glass-panel { padding: 1.5rem 1rem; }
}