﻿/* ============================================
   Birdly Agency - 2025 Design System
   Futuristic SaaS Style with Glassmorphism
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand Colors - Teal/Blue/Purple Palette */
  --color-primary: #06b6d4; /* Cyan/Teal */
  --color-primary-dark: #0891b2;
  --color-primary-light: #22d3ee;
  --color-secondary: #8b5cf6; /* Purple */
  --color-secondary-light: #a78bfa;
  --color-accent: #3b82f6; /* Blue */
  
  /* Neutrals */
  --color-bg: #ffffff;
  --color-bg-soft: #f1f5f9;
  --color-bg-elevated: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.2) 0%, transparent 60%),
                    radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  
  /* Spacing Scale (8pt grid) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(6, 182, 212, 0.15);
  --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container */
  --container-width: min(1200px, 92vw);
  --container-padding: clamp(1rem, 4vw, 2rem);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

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

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

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

a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--light {
  background-color: var(--color-bg-soft);
}

.section--dark {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-bg);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.site-header__logo {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.site-nav__link {
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.site-nav__link:hover {
  color: var(--color-primary);
}

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .site-nav__toggle {
    display: block;
  }
  
  .site-nav__list {
    position: fixed;
    top: 70px;
  left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--color-border);
  }
  
  .site-nav__list.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: white;
}

.btn--secondary {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid transparent;
}

.btn--ghost:hover {
  background: var(--gradient-soft);
  border-color: var(--color-primary-light);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  padding: var(--space-4xl) 0;
  overflow: hidden;
  background: var(--color-bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-soft);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.hero__title {
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glass);
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 968px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__cta {
    justify-content: center;
  }
  
  .hero__image {
    order: -1;
  }
}

/* ============================================
   Cards (Glassmorphism Style)
   ============================================ */

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glass);
  border-color: var(--color-primary-light);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   Grid Layouts
   ============================================ */

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   Services Section
   ============================================ */

.services-overview {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__subtitle {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--color-text-muted);
}

/* ============================================
   Process Steps
   ============================================ */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}

.process__item {
  position: relative;
  text-align: center;
  padding: var(--space-xl);
}

.process__item::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}

.process__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.process__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.testimonial {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.testimonial__quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial__info {
  flex: 1;
}

.testimonial__name {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================
   Stats / Metrics
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat {
  padding: var(--space-lg);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw + 1rem, 3.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat__label {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section__title {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-section__text {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

.cta-section__button {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}

.cta-section__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 255, 255, 0.3);
  color: var(--color-primary-dark);
}

/* ============================================
   Forms
   ============================================ */

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.site-footer__brand {
  max-width: 300px;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.site-footer__description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.site-footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-md);
}

.site-footer__list {
  list-style: none;
}

.site-footer__item {
  margin-bottom: var(--space-sm);
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.site-footer__link:hover {
  color: var(--color-primary-light);
}

.site-footer__contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}

.site-footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ============================================
   Team Section
   ============================================ */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.team-member {
  text-align: center;
  padding: var(--space-lg);
}

.team-member__avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--color-primary-light);
  box-shadow: var(--shadow-lg);
}

.team-member__name {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.team-member__role {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.team-member__bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .hero {
    padding: var(--space-3xl) 0;
  }
  
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .process {
    grid-template-columns: 1fr;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
  }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}
