@import "tailwindcss";

@layer base {
  :root {
      /* Cyan-Pulse Color System */
      --primary: #00A0A9;
      --on-primary: #ffffff;
      --primary-container: #00BDC8;
      --on-primary-container: #fff;
      
      --secondary: #9500cb;
      --secondary-container: #b90afc;
      
      --surface: #f3fbfb;
      --surface-variant: #dce4e4;
      --on-surface: #151d1e;
      --on-surface-variant: #3a494b;
      
      --background: #f3fbfb;
      --on-background: #151d1e;
      
      --outline: #6a7a7b;
      --outline-variant: #b9cacb;
      
      --error: #ba1a1a;
      
      /* Global Mappings */
      --text-main: var(--on-surface);
      --text-muted: var(--on-surface-variant);
      --bg-light: var(--background);
      --border-color: var(--outline-variant);
      --card-bg: #ffffff;
      
      /* Elevation & Shapes */
      --radius-lg: 24px;
      --radius-md: 12px;
      --radius-sm: 4px;
      
      --card-shadow: 0px 2px 4px rgba(0,0,0,0.05);
      --card-hover-shadow: 0px 10px 30px rgba(0,0,0,0.05);
      --neon-glow: 0 0 15px rgba(0, 242, 255, 0.2);
      
      --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

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

  /* Typography Scales */
  h1, .display-lg {
      font-size: 48px;
      font-weight: 700;
      line-height: 56px;
      letter-spacing: -0.02em;
  }
  
  h2, .headline-lg {
      font-size: 32px;
      font-weight: 600;
      line-height: 40px;
      letter-spacing: -0.01em;
  }

  h3, .headline-md {
      font-size: 24px;
      font-weight: 600;
      line-height: 32px;
  }

  p, .body-lg {
      font-size: 18px;
      font-weight: 400;
      line-height: 28px;
  }

  .body-md {
      font-size: 16px;
      font-weight: 400;
      line-height: 24px;
  }

  .label-md {
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
  }
}

@layer components {
  .container {
      width: 100%;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 48px;
  }

  /* Share Section & Buttons */
  .share-section {
      padding: 48px 0;
      text-align: center;
      background: var(--surface);
      border-top: 1px solid var(--border-color);
      margin-top: auto;
  }
  .share-title {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 24px;
      color: var(--text-muted);
  }
  .share-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
  }
  .share-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-decoration: none;
      transition: var(--transition);
      box-shadow: var(--card-shadow);
  }
  .share-btn:hover { 
      transform: translateY(-4px); 
      box-shadow: var(--card-hover-shadow);
      filter: brightness(1.1);
  }
  .share-btn i { font-size: 18px; }
  
  /* Brand Colors */
  .twitter { background: #000; }
  .facebook { background: #1877F2; }
  .linkedin { background: #0077b5; }
  .whatsapp { background: #25D366; }
  .telegram { background: #0088cc; }
  .instagram { background: #E4405F; }
  .email { background: #64748b; }
  .copy-link { background: var(--primary); }

  /* Advertise Placeholders */
  .ad-placeholder {
      background: none;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin: 24px 0;
      position: relative;
      overflow: hidden;
  }
  .ad-placeholder::before {
      content: none;
      position: absolute;
      top: 8px;
      left: 16px;
      font-size: 10px;
      opacity: 0.5;
  }
  .ad-banner { height: 90px; width: 100%; }
  .ad-text { height: 60px; width: 100%; }

  /* Navigation */
  .home-btn {
      position: fixed;
      top: 24px;
      left: 24px;
      width: 48px;
      height: 48px;
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-main);
      box-shadow: var(--card-shadow);
      z-index: 1000;
      transition: var(--transition);
  }
  .home-btn:hover {
      transform: scale(1.1);
      color: var(--primary-container);
      border-color: var(--primary-container);
      box-shadow: var(--neon-glow);
  }

  /* Header */
  .header {
      text-align: center;
      margin-bottom: 80px;
      padding-top: 48px;
  }
  .header h1 {
      margin-bottom: 16px;
      color: var(--text-main);
  }
  .header p {
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto;
  }

  /* Global Footer Styles */
  footer, .footer {
      background-color: var(--on-surface);
      color: #fff;
      padding: 80px 0 32px;
  }
  .footer-container {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 48px;
  }
  .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 48px;
      margin-bottom: 48px;
  }
  .footer-brand h2 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 16px;
  }
  .footer-links h4 {
      font-size: 14px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 24px;
      color: var(--outline-variant);
  }
  .footer-links a {
      display: block;
      color: var(--surface-variant);
      text-decoration: none;
      margin-bottom: 12px;
      font-size: 16px;
      transition: var(--transition);
  }
  .footer-links a:hover { color: var(--primary-container); }
  .copyright {
      text-align: center;
      padding-top: 32px;
      border-top: 1px solid var(--on-surface-variant);
      color: var(--outline);
      font-size: 14px;
  }
}
