/* ========================================
   Cloudflare Design System - Variables
   ======================================== */
:root {
  /* Cloudflare Brand Colors */
  --cf-orange: #f6821f;
  --cf-orange-light: #fbad41;
  --cf-blue: #0051c3;
  --cf-navy: #172b4d;
  --cf-gray-dark: #1f2937;
  --cf-gray-medium: #6b7280;
  --cf-gray-light: #f3f4f6;
  --cf-white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #f6821f 0%, #fbad41 100%);
  --gradient-blue: linear-gradient(135deg, #0051c3 0%, #3b82f6 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* 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);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Global Reset & Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--cf-gray-dark);
  background-color: var(--cf-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ========================================
   Top Banner
   ======================================== */
.top-banner {
  background: linear-gradient(135deg, #0051c3 0%, #3b82f6 100%);
  color: var(--cf-white);
  padding: var(--spacing-sm) 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 2px solid var(--cf-orange);
  position: relative;
  overflow: hidden;
}

.top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.top-banner .container {
  position: relative;
  z-index: 1;
}

/* ========================================
   Navigation Bar
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  padding: var(--spacing-sm) 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo-wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cf-navy);
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--cf-gray-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cf-orange);
}

.btn-nav {
  padding: 0.5rem 1rem;
  background: var(--cf-orange);
  color: var(--cf-white) !important;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.btn-nav:hover {
  background: #e5751b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: var(--spacing-xxl) 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, #e5e7eb 1px, transparent 1px),
    linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--cf-navy);
}

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

.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cf-gray-medium);
  margin-bottom: var(--spacing-md);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--cf-gray-medium);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg) 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cf-orange);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--cf-gray-medium);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
}

.btn-primary, .btn-secondary {
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

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

.btn-primary:hover {
  background: #e5751b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--cf-white);
  color: var(--cf-gray-dark);
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: var(--cf-orange);
  color: var(--cf-orange);
}

.hero-right {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  color: var(--cf-white);
  box-shadow: var(--shadow-xl);
}

.net-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cf-orange);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.net-stat {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.net-stat:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.net-stat span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

.net-stat small {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   About Section
   ======================================== */
.about {
  padding: var(--spacing-xxl) 0;
  background: var(--cf-gray-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xxl);
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cf-orange);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cf-navy);
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cf-gray-medium);
  margin-bottom: var(--spacing-md);
}

.about-text strong {
  color: var(--cf-gray-dark);
  font-weight: 600;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.tag {
  padding: 0.5rem 1rem;
  background: var(--cf-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cf-gray-dark);
  transition: all 0.2s;
}

.tag:hover {
  border-color: var(--cf-orange);
  color: var(--cf-orange);
  transform: translateY(-2px);
}

.about-card {
  background: var(--cf-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.about-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cf-white);
  margin-bottom: var(--spacing-md);
}

.about-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cf-navy);
  margin-bottom: var(--spacing-xs);
}

.about-role {
  font-size: 0.95rem;
  color: var(--cf-gray-medium);
  margin-bottom: var(--spacing-xs);
}

.about-company {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cf-gray-dark);
}

.cf-dot {
  width: 6px;
  height: 6px;
  background: var(--cf-orange);
  border-radius: 50%;
}

/* Career Timeline */
.career-timeline {
  background: var(--cf-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.timeline-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid #f3f4f6;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item.active .timeline-logo {
  background: var(--gradient-primary);
}

.timeline-logo {
  width: 48px;
  height: 48px;
  background: var(--cf-gray-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--cf-white);
  flex-shrink: 0;
}

.cf-logo {
  background: var(--gradient-primary);
}

.oracle-logo {
  background: linear-gradient(135deg, #c74634 0%, #e74234 100%);
}

.sap-logo {
  background: linear-gradient(135deg, #0066b2 0%, #008fd3 100%);
}

.timeline-company {
  font-weight: 600;
  color: var(--cf-navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-size: 0.85rem;
  color: var(--cf-gray-medium);
  margin-bottom: 0.25rem;
}

.timeline-period {
  font-size: 0.75rem;
  color: var(--cf-gray-medium);
}

/* Interests */
.interests {
  background: var(--cf-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.interests-label {
  font-weight: 600;
  color: var(--cf-navy);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.interests-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.interest-pill {
  padding: 0.4rem 0.875rem;
  background: var(--cf-gray-light);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--cf-gray-dark);
  font-weight: 500;
}

/* ========================================
   Network Banner
   ======================================== */
.network-banner {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: var(--cf-white);
}

.banner-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.banner-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.banner-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.banner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.b-stat {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.b-stat span {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

.b-stat small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: var(--spacing-xxl) 0;
  background: var(--cf-navy);
  color: var(--cf-white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.footer-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.footer-role {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-xs);
}

.footer-company {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cf-orange);
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-copy a {
  color: var(--cf-orange);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
  .hero-inner,
  .about-grid,
  .banner-inner {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-right {
    order: -1;
  }
  
  .nav-links {
    gap: var(--spacing-sm);
  }
  
  .hero-stats {
    flex-wrap: wrap;
  }
  
  .stat-divider {
    display: none;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .top-banner {
    font-size: 0.75rem;
    padding: var(--spacing-xs) 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a:not(.btn-nav) {
    display: none;
  }
  
  .banner-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}
