/* Card Components Collection Styles */

/* CSS Custom Properties for Theme Support */
:root {
  /* Light Mode Colors */
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #e8c81a;
  
  /* Background Colors */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  
  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --text-muted: #7f8c8d;
  --text-light: #9aa0a6;
  
  /* Border Colors */
  --border-color: #e8eaed;
  --border-light: #f1f3f5;
  --border-dark: #dadce0;
  
  /* Shadow Colors */
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  
  /* Google Brand Colors */
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc04;
  --google-green: #34a853;
}

/* Dark Mode Colors */
[data-theme="dark"] {
  /* Background Colors */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-gradient: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  
  /* Text Colors */
  --text-primary: #e8eaed;
  --text-secondary: #bdc1c6;
  --text-muted: #9aa0a6;
  --text-light: #80868b;
  
  /* Border Colors */
  --border-color: #2d2d2d;
  --border-light: #3c4043;
  --border-dark: #5f6368;
  
  /* Shadow Colors */
  --shadow-light: rgba(0, 0, 0, 0.2);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --shadow-dark: rgba(0, 0, 0, 0.4);
}

/* Material Icons Support */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

/* Theme Transition Support */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-gradient);
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  margin-bottom: 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px var(--shadow-medium);
  transition: background 0.3s ease, border-color 0.3s ease;

  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
  }
}

.header-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.25px;
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: color 0.3s ease;
}

.header-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
  line-height: 24px;
  transition: color 0.3s ease;
}

/* Google-Style Dark Mode Toggle */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-mode-toggle:hover {
  background: var(--border-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px var(--shadow-light);
}

.toggle-label {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.toggle-label .material-icons {
  font-size: 20px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-dark);
  border-radius: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: var(--bg-secondary);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px var(--shadow-light);
}

.toggle-input:checked + .toggle-slider {
  background: var(--google-blue);
}

.toggle-input:checked + .toggle-slider::before {
  transform: translateX(24px);
  background: white;
}

.toggle-input:focus + .toggle-slider {
  outline: 2px solid var(--google-blue);
  outline-offset: 2px;
}

/* Icon state changes */
[data-theme="light"] .light-icon {
  color: var(--google-yellow);
}

[data-theme="light"] .dark-icon {
  color: var(--text-muted);
}

[data-theme="dark"] .light-icon {
  color: var(--text-muted);
}

[data-theme="dark"] .dark-icon {
  color: var(--google-blue);
}

/* Breadcrumb Navigation - Demo Interface Only */
.breadcrumb {
  background: var(--bg-primary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 8px 0 !important;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.breadcrumb ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

.breadcrumb a {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--google-blue) !important;
}

.breadcrumb span {
  color: var(--text-secondary) !important;
  transition: color 0.3s ease;
}

/* Intro Section - Demo Interface Only */
.intro-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px var(--shadow-light);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.intro-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.intro-description strong {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 1.5rem 0;
}

.tag {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag-blue {
  background: #e3f2fd;
  color: #1976d2;
}

[data-theme="dark"] .tag-blue {
  background: rgba(25, 118, 210, 0.2);
  color: #90caf9;
}

.tag-green {
  background: #e8f5e8;
  color: #2e7d32;
}

[data-theme="dark"] .tag-green {
  background: rgba(46, 125, 50, 0.2);
  color: #a5d6a7;
}

.tag-orange {
  background: #fff3e0;
  color: #f57c00;
}

[data-theme="dark"] .tag-orange {
  background: rgba(245, 124, 0, 0.2);
  color: #ffb74d;
}

.tag-pink {
  background: #fce4ec;
  color: #c2185b;
}

[data-theme="dark"] .tag-pink {
  background: rgba(194, 24, 91, 0.2);
  color: #f48fb1;
}

/* Main Content - Demo Interface Only */
.main {
  padding: 32px 0 64px 0;
  background: var(--bg-primary);
  transition: background 0.3s ease;
}

.card-section {
  margin-bottom: 64px;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 3px var(--shadow-light), 0 1px 2px var(--shadow-medium);
  border: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.section-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 32px;
  position: relative;
  padding-left: 0;
  letter-spacing: -0.2px;
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  transition: color 0.3s ease, border-color 0.3s ease;

  &::before {
    display: none;
  }
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* Basic Card Styles */
.card {
  background: white;
  border-radius: 16px;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);

  &:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 12px 24px rgba(0, 0, 0, 0.1),
      0 4px 8px rgba(0, 0, 0, 0.05);

    .card-image img {
      transform: scale(1.05);
    }
  }

  /* Animation delays for staggered effect */
  &:nth-child(2) { animation-delay: 0.1s; }
  &:nth-child(3) { animation-delay: 0.2s; }
  &:nth-child(4) { animation-delay: 0.3s; }
  &:nth-child(5) { animation-delay: 0.4s; }
  &:nth-child(6) { animation-delay: 0.5s; }

  /* Focus state for accessibility */
  &:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
  }

  /* Card entry animation */
  animation: slideInUp 0.6s ease-out;
}

/* Card Components */
.card-image {
  position: relative;
  overflow: hidden;
  height: 200px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
}

.card-header {
  padding: 1.5rem 1.5rem 0;
  position: relative;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-content {
  padding: 1rem 1.5rem 1.5rem;
}

.card-text {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.card-actions {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  border-top: 1px solid #f1f3f5;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Card Icon */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  margin-bottom: 1rem;
  color: white;
  font-size: 24px;

  .material-icons {
    font-size: 24px;
  }
}

/* Card Badge */
.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Card Meta */
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #7f8c8d;
  font-size: 0.875rem;

  .material-icons {
    font-size: 16px;
  }
}

.meta-text {
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;

  /* Focus state for accessibility */
  &:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
  }

  /* Primary button variant */
  &.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    }
  }

  /* Text button variant */
  &.btn-text {
    background: transparent;
    color: #7f8c8d;
    border: 1px solid #e9ecef;

    &:hover {
      background: #f8f9fa;
      color: #5a6c7d;
    }
  }

  /* Icon button variant */
  &.btn-icon {
    background: transparent;
    color: #7f8c8d;
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;

    &:hover {
      background: #f8f9fa;
      color: #5a6c7d;
    }

    .material-icons {
      font-size: 18px;
    }
  }
}

/* Animation Enhancements */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .header-title {
    font-size: 2rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-header,
  .card-content,
  .card-actions {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .card-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }
  
  .header-title {
    font-size: 1.75rem;
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .card-header,
  .card-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-actions {
    padding: 0 1rem 1.25rem;
    justify-content: center;
  }
}

/* Advanced Card Styles */

/* Profile Card */
.card-profile {
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;

  .profile-header {
    margin-bottom: 1.5rem;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
  }

  .profile-role {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .profile-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;

    .stat {
      display: flex;
      flex-direction: column;
      align-items: center;

      &-number {
        font-size: 1.5rem;
        font-weight: 700;
        color: #2c3e50;
        line-height: 1;
      }

      &-label {
        font-size: 0.75rem;
        color: #7f8c8d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
    }
  }

  .profile-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
  }
}

/* Product Card */
.card-product {
  overflow: visible;

  .product-image {
    position: relative;
    height: 0;
    padding-bottom: 100%; /* This creates a square aspect ratio */
    overflow: hidden;
    border-radius: 16px 16px 0 0; /* Match the card's border-radius on top corners only */

    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;

    &.sale {
      background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    }
  }

  .product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #e74c3c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;

    &:hover {
      background: white;
      transform: scale(1.1);
    }
  }

  .product-content {
    padding: 1.5rem;
  }

  .product-category {
    color: #7f8c8d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
  }

  .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;

    .stars {
      display: flex;
      gap: 2px;

      .star {
        font-size: 16px;
        color: #ddd;

        &.filled {
          color: #f39c12;
        }
      }
    }

    .rating-text {
      font-size: 0.875rem;
      color: #7f8c8d;
    }
  }

  .product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;

    .price-current {
      font-size: 1.5rem;
      font-weight: 700;
      color: #2c3e50;
    }

    .price-original {
      font-size: 1rem;
      color: #bdc3c7;
      text-decoration: line-through;
    }
  }

  .product-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;

    .btn-primary {
      flex: 1;
    }
  }
}

/* Dashboard Stats Card */
.card-stats {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;

  .stats-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
  }

  .stats-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .stats-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .stats-period {
    font-size: 0.875rem;
    opacity: 0.8;
  }

  .stats-content {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .stats-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
  }

  .stats-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;

    &.positive {
      color: #2ecc71;
    }

    &.negative {
      color: #e74c3c;
    }
  }

  .stats-chart {
    padding: 1rem 1.5rem 1.5rem;

    .mini-chart {
      display: flex;
      align-items: end;
      gap: 4px;
      height: 40px;

      .chart-bar {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        flex: 1;
        min-height: 4px;
        transition: all 0.3s ease;

        &:hover {
          background: rgba(255, 255, 255, 0.5);
        }
      }
    }
  }
}

/* Social Media Card */
.card-social {
  padding: 0;

  .social-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
  }

  .social-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }

  .social-meta {
    flex: 1;

    .social-name {
      font-size: 1rem;
      font-weight: 600;
      color: #2c3e50;
      margin-bottom: 0.25rem;
    }

    .social-time {
      display: flex;
      align-items: center;
      gap: 0.25rem;
      color: #7f8c8d;
      font-size: 0.875rem;

      .material-icons {
        font-size: 14px;
      }
    }
  }

  .social-menu {
    margin-left: auto;
  }

  .social-content {
    padding: 0 1.5rem 1rem;

    .social-text {
      color: #2c3e50;
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .social-image {
      border-radius: 12px;
      overflow: hidden;
      margin-top: 1rem;

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

  .social-actions {
    display: flex;
    justify-content: space-around;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f3f5;

    .social-action {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: none;
      border: none;
      color: #7f8c8d;
      font-size: 0.875rem;
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 8px;
      transition: all 0.2s ease;

      &:hover {
        background: #f8f9fa;
        color: #667eea;
      }

      .material-icons {
        font-size: 18px;
      }
    }
  }
}

/* Pricing Card */
.card-pricing {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  overflow: visible; /* Allow badge to show outside card boundaries */
}

.card-pricing.featured {
  border: 2px solid #667eea;
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #667eea;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: #7f8c8d;
  margin-left: 0.25rem;
}

.pricing-description {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: #2c3e50;
  font-size: 0.9rem;
}

.feature .material-icons {
  color: #27ae60;
  font-size: 20px;
}

.pricing-actions {
  margin-top: auto;
}

.full-width {
  width: 100%;
}

.pricing-trial {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #7f8c8d;
}

/* Article/Blog Card */
.card-article {
  overflow: hidden;
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(102, 126, 234, 0.9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #7f8c8d;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-excerpt {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

.author-role {
  color: #7f8c8d;
  font-size: 0.8rem;
}

.article-actions {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f3f5;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Responsive adjustments for advanced cards */
@media (max-width: 768px) {
  .card-pricing.featured {
    transform: none;
    margin: 1rem 0;
  }
  
  .profile-stats {
    gap: 1.5rem;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .product-actions .btn-primary {
    width: 100%;
  }
  
  .article-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .social-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* Animated Cards Styles */

/* Card Flip Animation */
.card.card-flip {
  box-shadow: none; /* Remove box-shadow from flip cards */
}

.card.card-flip:hover {
  box-shadow: none; /* Remove box-shadow from flip cards on hover */
}

.card-flip {
  background: transparent;
  border: none;
  perspective: 1000px;
  transform-style: preserve-3d;
  padding: 20px; /* Add padding for expanded hover area */
}

.card-flip:hover .card-flip-inner {
  transform: rotateY(180deg);
}

.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 16px;
  margin: auto; /* Center within padded container */
}

.card-flip-front,
.card-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: white;
  border-radius: 16px;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: box-shadow 0.9s ease;
}

.card-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: none; /* Start with no shadow */
  transition: box-shadow 0.3s ease; /* Fast transition when leaving hover */
}

.card-flip:hover .card-flip-back {
  box-shadow: 
    0 12px 24px rgba(102, 126, 234, 0.4),
    0 4px 8px rgba(102, 126, 234, 0.2);
  transition: box-shadow 0.3s ease 2s; /* Much longer delay - shadow appears 2s after hover */
}

.flip-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 36px;
}

.flip-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.flip-subtitle {
  color: #7f8c8d;
  font-size: 1rem;
}

.flip-back-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.flip-back-text {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Hover Lift Animation */
.card-hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-lift:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.1);
}

.lift-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 28px;
  transition: transform 0.3s ease;
}

.card-hover-lift:hover .lift-icon {
  transform: translateY(-4px) rotate(5deg);
}

/* Glow Animation */
.card-glow {
  position: relative;
  overflow: visible;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: glow-pulse 2s infinite;
}

.card-glow:hover::before {
  opacity: 1;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.glow-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 28px;
  animation: icon-glow 2s infinite;
}

@keyframes icon-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(243, 156, 18, 0.3); }
  50% { box-shadow: 0 0 30px rgba(243, 156, 18, 0.6); }
}

/* 3D Tilt Animation */
.card-tilt {
  transform-style: preserve-3d;
  transform-origin: center center;
  /* Remove transition to allow JavaScript to control transforms smoothly */
}

.card-tilt .tilt-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 28px;
  transform-style: preserve-3d;
  /* Remove transition to allow JavaScript to control transforms smoothly */
}

/* Slide Animation */
.card-slide {
  overflow: hidden;
  position: relative;
}

.slide-content-wrapper {
  position: relative;
  height: 100%;
}

.slide-main-content {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-slide:hover .slide-main-content {
  transform: translateX(-100%);
}

.card-slide:hover .slide-overlay {
  transform: translateX(-100%);
}

.slide-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 28px;
}

.slide-overlay-content h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.slide-overlay-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Morphing Animation */
.card-morph {
  overflow: hidden;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-morph:hover {
  border-radius: 8px;
  transform: scale(1.02);
}

.morph-content {
  transition: all 0.4s ease;
}

.morph-expanded {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(102, 126, 234, 0.95);
  color: white;
  padding: 2rem 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-morph:hover .morph-expanded {
  transform: translateY(-100%);
}

.morph-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 28px;
  transition: transform 0.3s ease;
}

.card-morph:hover .morph-icon {
  transform: rotate(180deg);
}

.morph-expanded h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.morph-expanded p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

.morph-actions {
  display: flex;
  gap: 0.75rem;
}

/* Particle Animation */
.card-particles {
  position: relative;
  overflow: visible;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(102, 126, 234, 0.6);
  border-radius: 50%;
  animation: float 3s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.particles-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 28px;
  position: relative;
  z-index: 2;
}

/* Reveal Animation */
.card-reveal {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 400px;
}

.reveal-front,
.reveal-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-back {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  transform: translateY(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.card-reveal.revealed .reveal-front {
  transform: translateY(-100%);
}

.card-reveal.revealed .reveal-back {
  transform: translateY(0);
}

.reveal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.reveal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.reveal-back-content {
  text-align: center;
  max-width: 280px;
}

.reveal-back-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.reveal-back-content p {
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.reveal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Code View Button - Demo Interface Only */
.code-view-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  z-index: 10;
  opacity: 1; /* Always visible */
  transform: translateY(0); /* No transform */
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
}

.code-view-btn:hover {
  background: var(--border-light);
  border-color: var(--border-dark);
  color: var(--text-secondary);
}

.code-view-btn:focus {
  outline: 2px solid rgba(148, 163, 184, 0.4);
  outline-offset: 1px;
}

.code-view-btn .material-icons {
  font-size: 14px;
}

/* Remove the hover trigger - button is always visible */

/* Remove the CSS-only tooltip - we'll use JavaScript tooltips instead */
/* Dynamic tooltip styles - Demo Interface Only */
.dynamic-tooltip {
  position: fixed;
  background: var(--text-primary);
  color: var(--bg-secondary);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border-color);
}

.dynamic-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dynamic-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--text-primary);
}

/* When tooltip appears below the button */
.dynamic-tooltip.below::after {
  top: auto;
  bottom: 100%;
  border-top: none;
  border-bottom: 4px solid rgba(44, 62, 80, 0.95);
}

/* Modal Styles - Demo Interface Only */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 1000px;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-dark);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.3s ease;
}

.modal-close {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.3s ease;
}

.modal-close:hover {
  background: var(--border-light);
}

.modal-tabs {
  display: flex;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tab-button {
  background: var(--border-light);
  border: none;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  margin-right: 2px;
}

.tab-button:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.tab-button.active {
  border-bottom-color: #e8c81a;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: bold;
}

.modal-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  background: var(--bg-secondary);
  transition: background 0.3s ease;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
}

.copy-button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px var(--shadow-light);
}

.copy-button:hover {
  background: var(--google-blue);
  border-color: var(--google-blue);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.2);
}

.copy-button .material-icons {
  font-size: 16px;
}

.copy-button.copied {
  background: #34a853;
}

.copy-button.copied::after {
  content: 'Copied!';
  margin-left: 4px;
}

pre[class*=language-] {
  margin: 0 0 .5em 0;
  flex: 1;
  overflow: auto;
  background: #2d2d2d !important;
  min-height: 300px;
  max-width: 100%;
  height: 100%;
}

pre code {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 24px !important;
  display: block;
  color: #f8f8f2 !important;
  background: #2d2d2d !important;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  border: none;
  outline: none;
  border-radius: 8px;
  margin: 0;
}
pre[class*=language-] {
  margin: 0 0 .5em 0 !important;
}

/* Fix for Prism.js styles to prevent horizontal overflow */
.token.string,
.token.attr-value {
  word-break: break-all;
  overflow-wrap: break-word;
}

.token.comment {
  word-wrap: break-word;
}

/* ==============================
   Form Card Components - Advanced Google Material Design
   ============================== */

/* Google Form Card Headers - 2024 Material Design Standards */
.google-signin-header {
  text-align: center;
  padding: 3rem 2rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-bottom: 1px solid #e8eaed;
  border-radius: 16px 16px 0 0;
}

.google-signin-header .google-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.google-signin-header .google-g-logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.google-signin-header .google-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.signin-text h3 {
  margin: 0 0 12px 0;
  font-size: 1.75rem;
  font-weight: 400;
  color: #202124;
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.signin-text p {
  margin: 0;
  font-size: 1rem;
  color: #5f6368;
  font-weight: 400;
  line-height: 1.5;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.google-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.google-g-logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.google-service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4285F4 0%, #34A853 25%, #FBBC04 50%, #EA4335 100%);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
  position: relative;
  overflow: hidden;
}

.service-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  border-radius: inherit;
}

.google-contacts-icon,
.google-account-icon {
  color: white;
  font-size: 28px !important;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.service-info h3 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 500;
  color: #202124;
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.service-info p {
  margin: 4px 0 0 0;
  font-size: 0.875rem;
  color: #5f6368;
  font-weight: 400;
  line-height: 1.4;
}

/* Dark mode styles for Google headers */
[data-theme="dark"] .signin-text h3 {
  color: #e8eaed;
}

[data-theme="dark"] .signin-text p {
  color: #9aa0a6;
}

[data-theme="dark"] .service-info h3 {
  color: #e8eaed;
}

[data-theme="dark"] .service-info p {
  color: #9aa0a6;
}

/* Google Form Base Styles - Material Design 3.0 */
.google-form {
  width: 100%;
  padding: 8px 0;
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Labels - Google Style */
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #5f6368;
  margin-bottom: 8px;
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Form input placeholders */
.form-input::placeholder,
.form-textarea::placeholder {
  color: #9aa0a6 !important;
  opacity: 1 !important;
  font-size: 16px;
  font-weight: 400;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  color: #bdc1c6 !important;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dadce0;
  border-radius: 8px; /* Updated to Google's current 8px radius */
  font-size: 16px;
  line-height: 1.5;
  color: #3c4043;
  background: #fff;
  transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  font-weight: 400;
}

/* Enhanced Focus States - No Movement */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
  background: #fff;
}



/* Enhanced Select Styling - Google Material Design */
.form-select {
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235f6368'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 20px;
  padding-right: 44px;
  cursor: pointer;
  
  /* Remove default browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  /* Ensure proper text display */
  color: #3c4043;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Browser-specific fixes */
.form-select::-ms-expand {
  display: none;
}

/* Ensure options are properly styled */
.form-select option {
  color: #3c4043;
  background: #fff;
  padding: 12px 16px;
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-select option[value=""] {
  color: #9aa0a6;
  font-style: normal;
}

.form-select option:disabled {
  color: #9aa0a6;
  font-style: normal;
}

.form-select:focus {
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a73e8'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 20px;
}

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

/* Error States - Google Material Design */
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: #ea4335;
  box-shadow: 0 0 0 2px rgba(234, 67, 53, 0.2);
  background: #fff;
}

.form-group.error .form-label {
  color: #ea4335;
}

.form-error {
  color: #ea4335;
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
}

/* Form Options with Modern Layout */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

/* Modern Checkbox Styling */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #3c4043;
  gap: 8px;
  font-weight: 400;
  transition: color 0.2s ease;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.checkbox-label:hover {
  color: #1a73e8;
}

.form-checkbox {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #5f6368;
  border-radius: 2px;
  position: relative;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.checkbox-custom::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") no-repeat center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-checkbox:checked + .checkbox-custom {
  background: #1a73e8;
  border-color: #1a73e8;
}

.form-checkbox:checked + .checkbox-custom::before {
  transform: translate(-50%, -50%) scale(1);
}

.checkbox-custom:hover {
  border-color: #1a73e8;
}

/* Enhanced Link Styling */
.forgot-link {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: all 0.2s ease;
}

.forgot-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a73e8;
  transition: width 0.3s ease;
}

.forgot-link:hover::after {
  width: 100%;
}

.forgot-link:hover {
  color: #1557b0;
  transform: translateY(-1px);
}

/* Enhanced Form Actions */
.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
  padding-top: 0;
}

/* Enhanced Settings Styles */
.settings-section {
  margin-bottom: 32px;
  padding: 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dadce0;
  transition: all 0.2s ease;
  overflow: hidden;
}

.settings-section:hover {
  border-color: #bdc1c6;
}

.settings-section:last-of-type {
  margin-bottom: 24px;
}

.settings-title {
  font-size: 16px;
  font-weight: 500;
  color: #3c4043;
  margin: 0;
  padding: 20px 24px 16px 24px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-bottom: 1px solid #e8eaed;
  background: #f8f9fa;
}


.setting-item {
  margin-bottom: 0;
  padding: 20px 24px;
  border-radius: 0;
  background: white;
  border: none;
  border-bottom: 1px solid #e8eaed;
  transition: all 0.2s ease;
}

.setting-item:hover {
  background: #f8f9fa;
}

.setting-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

/* Modern Toggle Switch */
.toggle-setting {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  gap: 16px;
}

.toggle-content {
  flex: 1;
}

.toggle-input {
  display: none;
}

.toggle-slider {
  width: 36px;
  height: 20px;
  background: #dadce0;
  border-radius: 10px;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-top: 2px;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.toggle-input:checked + .toggle-slider {
  background: #1a73e8;
}

.toggle-input:checked + .toggle-slider:hover {
  background: #1557b0;
}

.toggle-input:checked + .toggle-slider::before {
  transform: translateX(16px);
}

.toggle-slider:hover {
  background: #bdc1c6;
}

/* Enhanced Button Styles for Forms - Google Material Design 3.0 */
.btn-primary {
  background: #1a73e8;
  border: none;
  color: white;
  padding: 10px 24px;
  border-radius: 20px; /* Google's pill-shaped buttons */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-transform: none;
  letter-spacing: 0.25px;
  position: relative;
  overflow: hidden;
  min-width: 64px;
  height: 40px; /* Standard Google button height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: #1557b0;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
  transform: translateY(-1px);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  background: #1557b0;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
  transform: translateY(0);
}

.btn-text {
  background: transparent;
  border: none;
  color: #1a73e8;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-transform: none;
  letter-spacing: 0.25px;
  position: relative;
  overflow: hidden;
  min-width: 64px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-text:hover {
  background: rgba(26, 115, 232, 0.04);
  color: #1557b0;
}

/* Loading Spinner for Google-style buttons */
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-primary:active {
  background: #1557b0;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
}

.btn-text {
  background: transparent;
  border: 1px solid #dadce0;
  color: #1a73e8;
  padding: 9px 23px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.1s ease;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-width: 64px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-text:hover {
  background: rgba(26, 115, 232, 0.04);
  border-color: #dadce0;
  color: #1a73e8;
}

.setting-label {
  font-size: 16px;
  font-weight: 400;
  color: #3c4043;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}

.setting-description {
  font-size: 14px;
  color: #5f6368;
  margin: 4px 0 0 0;
  line-height: 1.4;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==============================
   Data Display Card Components - Google Analytics Style
   ============================== */

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
}

.stats-grid .stat-item {
  text-align: center;
  padding: 20px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e8eaed;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.stats-grid .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4285f4, #34a853, #fbbc04, #ea4335);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stats-grid .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.stats-grid .stat-item:hover::before {
  opacity: 1;
}

.stats-grid .stat-value {
  font-size: 32px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 8px;
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.1;
  display: block;
}

.stats-grid .stat-label {
  font-size: 13px;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  font-weight: 500;
  display: block;
}

.stats-grid .stat-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.stats-grid .stat-change.positive {
  color: #137333;
  background: rgba(19, 115, 51, 0.1);
}

.stats-grid .stat-change.negative {
  color: #d93025;
  background: rgba(217, 48, 37, 0.1);
}

.stats-grid .stat-change .material-icons {
  font-size: 16px;
}

/* Responsive adjustments for stats grid */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stats-grid .stat-item {
    padding: 16px 12px;
    min-height: 100px;
  }
  
  .stats-grid .stat-value {
    font-size: 24px;
  }
  
  .stats-grid .stat-label {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stats-grid .stat-item {
    padding: 20px 16px;
    min-height: auto;
  }
  
  .stats-grid .stat-value {
    font-size: 28px;
  }
  
  .stats-grid .stat-change {
    font-size: 12px;
  }
}

.stat-change .material-icons {
  font-size: 16px;
}

/* Data Table */
.data-table {
  width: 100%;
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 2px solid #e8eaed;
  margin-bottom: 8px;
}

.table-header .table-cell {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f4;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.page-title {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 2px;
}

.page-url {
  font-size: 12px;
  color: #5f6368;
}

.metric-value {
  font-size: 16px;
  font-weight: 600;
  color: #202124;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e8eaed;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #1a73e8;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Table Footer */
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f3f4;
}

.table-info {
  font-size: 12px;
  color: #5f6368;
}

/* Metrics List */
.metrics-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon.cpu {
  background: rgba(26, 115, 232, 0.1);
  color: #1a73e8;
}

.metric-icon.memory {
  background: rgba(19, 115, 51, 0.1);
  color: #137333;
}

.metric-icon.storage {
  background: rgba(245, 124, 0, 0.1);
  color: #f57c00;
}

.metric-icon.network {
  background: rgba(142, 36, 170, 0.1);
  color: #8e24aa;
}

.metric-details {
  flex: 1;
}

.metric-name {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 8px;
}

.metric-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-progress .progress-bar {
  flex: 1;
  height: 6px;
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #5f6368;
  min-width: 32px;
  text-align: right;
}

/* Progress Fill Variants */
.cpu-fill {
  background: #1a73e8;
}

.memory-fill {
  background: #137333;
}

.storage-fill {
  background: #f57c00;
}

.network-fill {
  background: #8e24aa;
}

/* ==============================
   Chart & Graph Card Components - Google Charts Style
   ============================== */

/* Chart Container */
.chart-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Donut Chart */
.donut-chart {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-value {
  font-size: 24px;
  font-weight: 600;
  color: #202124;
  font-family: 'Google Sans', sans-serif;
}

.donut-label {
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
}

/* Chart Legend */
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #202124;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Bar Chart */
.bar-chart {
  width: 100%;
}

.chart-axis {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.axis-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.axis-label {
  font-size: 12px;
  font-weight: 500;
  color: #5f6368;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.bar-container {
  flex: 1;
  height: 24px;
  background: #f1f3f4;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.bar {
  height: 100%;
  background: linear-gradient(90deg, #1a73e8, #4285f4);
  border-radius: 12px;
  position: relative;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.bar-value {
  font-size: 11px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

/* Line Chart */
.line-chart {
  width: 100%;
}

.line-svg {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #e8eaed;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 20px;
}

.chart-labels span {
  font-size: 11px;
  color: #5f6368;
  text-align: center;
}

.chart-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

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

.stat-number {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #202124;
  font-family: 'Google Sans', sans-serif;
}

.stat-text {
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
}

/* Chart Animations */
.donut-svg circle:last-child {
  animation: donutProgress 2s ease-out;
}

@keyframes donutProgress {
  from {
    stroke-dashoffset: 314;
  }
  to {
    stroke-dashoffset: 55;
  }
}

.bar {
  animation: barGrow 1.5s ease-out;
}

@keyframes barGrow {
  from {
    width: 0;
  }
}

/* ==============================
   Live Demo Cards - Advanced Interactive Components
   ============================== */

/* Demo Badge */
.demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(45deg, #4285f4, #34a853);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 10;
  animation: pulse 2s infinite;
}

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

/* AI Assistant Card */
.ai-assistant-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  border: 2px solid #e8eaed;
  min-height: 400px;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ai-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4285f4, #1a73e8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.ai-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #4285f4;
  border-radius: 50%;
  animation: aiPulse 2s infinite;
  opacity: 0.6;
}

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

.ai-info h3 {
  margin: 0;
  font-size: 18px;
  color: #202124;
  font-weight: 500;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa0a6;
}

.status-dot.active {
  background: #34a853;
  animation: statusBlink 1.5s infinite;
}

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

.ai-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.voice-btn, .settings-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f3f4;
  color: #5f6368;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-btn:hover, .settings-btn:hover {
  background: #e8eaed;
  color: #202124;
}

.voice-btn.active {
  background: #ea4335;
  color: white;
  animation: voicePulse 1s infinite;
}

@keyframes voicePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Chat Interface */
.chat-container {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 8px;
}

.chat-container::-webkit-scrollbar {
  width: 4px;
}

.chat-container::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 2px;
}

.chat-container::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 2px;
}

.chat-message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8eaed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  font-size: 16px;
  flex-shrink: 0;
}

.ai-avatar-small {
  background: linear-gradient(135deg, #4285f4, #1a73e8);
  color: white;
}

.message-content {
  flex: 1;
  background: white;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid #e8eaed;
  position: relative;
}

.chat-message.ai .message-content {
  background: #f8f9fa;
  border-color: #dadce0;
}

.message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #202124;
}

.message-time {
  font-size: 11px;
  color: #9aa0a6;
  margin-top: 4px;
  display: block;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #9aa0a6;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
}

/* Chat Input */
.chat-input-container {
  border-top: 1px solid #e8eaed;
  padding-top: 16px;
}

.chat-input {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.chat-input input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  
  /* Ensure input is fully interactive */
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  
  /* Ensure proper text input behavior */
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
  
  /* Prevent any interference */
  position: relative;
  z-index: 1;
  background: white;
  color: #3c4043;
}

.chat-input input:focus {
  border-color: #4285f4;
}

.send-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #4285f4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.send-btn:hover {
  background: #1a73e8;
}

.quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-btn {
  padding: 6px 12px;
  border: 1px solid #dadce0;
  border-radius: 16px;
  background: white;
  font-size: 12px;
  color: #5f6368;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-btn:hover {
  background: #f8f9fa;
  border-color: #4285f4;
  color: #4285f4;
}

/* Collaboration Card */
.collaboration-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff3e0 100%);
  border: 2px solid #e8eaed;
  min-height: 400px;
}

/* GitHub Integration Demo Styles */
.github-integration-demo {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  border: 2px solid #1a73e8;
  min-height: 500px;
}

.github-actions-demo {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.refresh-btn {
  background: #f1f3f4;
  border: 1px solid #dadce0;
  color: #5f6368;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background: #e8eaed;
  color: #202124;
}

.refresh-btn.loading .material-icons {
  animation: spin 1s linear infinite;
}

/* Repository Overview */
.repo-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border: 1px solid #e8eaed;
}

.repo-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex-direction: column;
  padding: 8px;
}

.repo-stat .material-icons {
  font-size: 20px;
  color: #1a73e8;
  margin-bottom: 4px;
}

.repo-stat .stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.repo-stat .stat-number {
  font-size: 18px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 2px;
}

.repo-stat .stat-label {
  font-size: 11px;
  color: #5f6368;
  font-weight: 500;
}

/* Commits Section */
.commits-section {
  margin-bottom: 20px;
}

.commits-list {
  max-height: 150px;
  overflow-y: auto;
}

.commit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
}

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

.commit-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f4;
}

.commit-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commit-avatar .material-icons {
  color: #5f6368;
  font-size: 16px;
}

.commit-content {
  flex: 1;
}

.commit-content p {
  margin: 0;
  font-size: 13px;
  color: #202124;
  line-height: 1.3;
  font-weight: 500;
}

.commit-time {
  font-size: 11px;
  color: #5f6368;
  margin-top: 2px;
  display: block;
}

.commit-sha {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 8px;
}

/* Languages Section */
.languages-section {
  margin-bottom: 20px;
}

.languages-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.language-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.language-name {
  flex: 1;
  font-size: 13px;
  color: #202124;
  font-weight: 500;
}

.language-percentage {
  font-size: 12px;
  color: #5f6368;
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

.language-bar {
  width: 100%;
  height: 4px;
  background: #f1f3f4;
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}

.language-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease-out;
}

/* GitHub Interaction Buttons */
.github-interaction {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
  flex-wrap: wrap;
}

.star-repo-btn, .watch-repo-btn, .view-repo-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
  text-decoration: none;
  color: inherit;
}

.star-repo-btn {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  color: #24292f;
}

.star-repo-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #afb8c1;
}

.star-repo-btn.starred {
  background: #fff3cd;
  border-color: #f1c40f;
  color: #856404;
}

.star-repo-btn.starred .material-icons {
  color: #f1c40f;
}

.watch-repo-btn {
  background: #f1f3f4;
  border: 1px solid #dadce0;
  color: #5f6368;
}

.watch-repo-btn:hover:not(:disabled) {
  background: #e8eaed;
  color: #202124;
}

.view-repo-btn {
  background: #1a73e8;
  border: 1px solid #1a73e8;
  color: white;
}

.view-repo-btn:hover {
  background: #1557b0;
  border-color: #1557b0;
  color: white;
}

.star-repo-btn:disabled, .watch-repo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive GitHub interaction buttons */
@media (max-width: 768px) {
  .github-interaction {
    flex-direction: column;
    gap: 8px;
  }
  
  .star-repo-btn, .watch-repo-btn, .view-repo-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .github-interaction {
    gap: 6px;
  }
  
  .star-repo-btn, .watch-repo-btn, .view-repo-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Loading States */
.loading {
  opacity: 0.7;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.4; }
}

/* AI Assistant highlighting */
.card.ai-highlighted {
  animation: aiHighlight 3s ease-in-out;
  position: relative;
  z-index: 10;
}

@keyframes aiHighlight {
  0%, 100% { 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3), 0 4px 12px rgba(66, 133, 244, 0.2);
    transform: scale(1.02);
  }
}

.dark-mode-toggle {
  animation: none !important;
}

.dark-mode-toggle[style*="pulse"] {
  animation: pulse 1s ease-in-out 3 !important;
}

/* Error States */
.error {
  color: #ea4335;
  font-style: italic;
}

.error-message {
  background: #fce8e6;
  color: #d93025;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f28b82;
  margin: 8px 0;
  font-size: 13px;
}

/* Success States */
.success-message {
  background: #e6f4ea;
  color: #137333;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #81c995;
  margin: 8px 0;
  font-size: 13px;
}

.collab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-info h3 {
  margin: 0;
  font-size: 18px;
  color: #202124;
  font-weight: 500;
}

.project-info p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #5f6368;
}

.user-avatars {
  display: flex;
  gap: -8px;
}

.user-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  margin-left: -8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.user-avatar:first-child {
  margin-left: 0;
}

.user-avatar:hover {
  transform: scale(1.1);
  z-index: 10;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border: 2px solid white;
  border-radius: 50%;
  background: #9aa0a6;
}

.user-avatar.online .status-indicator {
  background: #34a853;
}

.user-avatar.editing .status-indicator {
  background: #fbbc04;
}

.editing-pulse {
  animation: editingPulse 1s infinite !important;
}

@keyframes editingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Activity Feed */
.activity-feed {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f4;
}

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

.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.activity-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-content {
  flex: 1;
}

.activity-content p {
  margin: 0;
  font-size: 13px;
  color: #202124;
  line-height: 1.3;
}

.activity-time {
  font-size: 11px;
  color: #9aa0a6;
  margin-top: 2px;
  display: block;
}

.activity-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  font-size: 16px;
}

.live-edit {
  background: #e8f0fe;
  color: #4285f4;
  animation: liveEdit 2s infinite;
}

@keyframes liveEdit {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Collaboration Stats */
.collab-stats {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

.collab-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.stat-icon {
  font-size: 20px;
}

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

.stat-number {
  font-size: 16px;
  font-weight: 600;
  color: #202124;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: #5f6368;
  margin-top: 2px;
}

/* Responsive Adjustments for Demo Cards */
@media (max-width: 768px) {
  .ai-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .ai-controls {
    margin-left: 0;
  }
  
  .collab-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .user-avatars {
    align-self: flex-end;
  }
  
  .quick-actions {
    justify-content: center;
  }
  
  .collab-stats {
    flex-direction: column;
    gap: 12px;
  }
}

/* Responsive Charts */
@media (max-width: 768px) {
  .chart-container {
    gap: 16px;
  }
  
  .donut-chart {
    width: 100px;
    height: 100px;
  }
  
  .donut-value {
    font-size: 20px;
  }
  
  .axis-item {
    gap: 8px;
  }
  
  .axis-label {
    width: 24px;
    font-size: 11px;
  }
  
  .bar-container {
    height: 20px;
  }
  
  .bar-value {
    font-size: 10px;
    padding-right: 8px;
  }
  
  .chart-labels {
    padding: 0 10px;
  }
  
  .chart-labels span {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .chart-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .legend-item {
    font-size: 13px;
  }
  
  .stat-number {
    font-size: 16px;
  }
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .setting-description {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  
  .modal-container {
    max-width: 100%;
    max-height: 90vh;
    min-height: 70vh;
  }
  
  .modal-header {
    padding: 16px 20px;
  }
  
  .modal-title {
    font-size: 1.25rem;
  }
  
  .tab-button {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .copy-button {
    top: 12px;
    right: 12px;
    padding: 6px 8px;
    font-size: 11px;
  }
  
  pre code {
    font-size: 13px;
    padding: 16px !important;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 5px;
  }
  
  .modal-container {
    max-height: 95vh;
    min-height: 80vh;
  }
  
  .modal-header {
    padding: 12px 16px;
  }
  
  .modal-title {
    font-size: 1.1rem;
  }
  
  .tab-button {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  .copy-button {
    top: 8px;
    right: 8px;
    padding: 5px 7px;
    font-size: 10px;
  }
  
  pre code {
    font-size: 12px;
    padding: 12px !important;
  }
}

/* ==============================
   Footer Styles - Demo Interface Only
   ============================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
  padding: 80px 0 40px 0;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
  }

  .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 64px;
  }

  .footer-info {
    max-width: 600px;

    .footer-title {
      font-size: 32px;
      font-weight: 300;
      color: var(--text-primary);
      margin-bottom: 16px;
      font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      line-height: 1.25;
      letter-spacing: -0.5px;
      transition: color 0.3s ease;

      .brand-highlight {
        color: #1a73e8;
        font-weight: 400;
        position: relative;

        &:last-of-type {
          color: #fbbc04;
        }
      }
    }

    .footer-subtitle {
      font-size: 16px;
      color: var(--text-muted);
      margin-bottom: 20px;
      font-weight: 400;
      line-height: 1.5;
      letter-spacing: 0.1px;
      transition: color 0.3s ease;
    }

    .footer-description {
      font-size: 15px;
      color: var(--text-light);
      line-height: 1.6;
      margin: 0;
      font-weight: 400;
      transition: color 0.3s ease;
    }
  }

  .footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;

    .socials-label {
      font-size: 14px;
      color: #5f6368;
      margin-bottom: 24px;
      font-weight: 500;
      letter-spacing: 0.25px;
      text-transform: uppercase;
    }

    /* Interactive Brand Icons - Enhanced Google Style */
    .icon-grid {
      display: flex;
      gap: 20px;
      justify-content: flex-end;
      flex-wrap: wrap;

      .icon {
        position: relative;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #f8f9fa;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 22px;
        color: #5f6368;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
        text-decoration: none;
        z-index: 0;
        border: 1px solid #dadce0;

        &::before {
          content: "";
          position: absolute;
          inset: -12px;
          border-radius: 50%;
          background: var(--glow, #999);
          opacity: 0;
          transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          filter: blur(16px);
          z-index: -1;
        }

        &:hover {
          transform: translateY(-4px) scale(1.08);
          box-shadow: 0 4px 8px rgba(60, 64, 67, 0.3), 0 8px 16px 6px rgba(60, 64, 67, 0.15);
          color: white;
          background-color: var(--glow);
          border-color: var(--glow);

          &::before {
            opacity: 0.25;
          }
        }

        &:active {
          transform: translateY(-2px) scale(1.05);
        }

        /* Enhanced Brand Colors with Google's Color Philosophy */
        &.linkedin { --glow: #0a66c2; }
        &.twitter { --glow: #1da1f2; }
        &.github { --glow: #24292e; }
        &.codepen { --glow: #000000; }
        &.portfolio { --glow: #fbbc04; }
      }
    }
  }

  .footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #f1f3f4;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 200px;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, #dadce0 50%, transparent 100%);
    }

    p {
      font-size: 14px;
      color: #9aa0a6;
      margin: 0;
      font-weight: 400;
      letter-spacing: 0.25px;
    }
  }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .footer {
    padding: 64px 0 32px 0;
    margin-top: 64px;
  }
  
  .footer-content {
    gap: 48px;
    margin-bottom: 48px;
  }
  
  .footer-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 0 24px 0;
    margin-top: 48px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .footer-info {
    max-width: 100%;
  }
  
  .footer-title {
    font-size: 24px;
    letter-spacing: -0.3px;
  }
  
  .footer-subtitle {
    font-size: 15px;
  }
  
  .footer-socials {
    align-items: center;
    text-align: center;
  }
  
  .footer .icon-grid {
    justify-content: center;
    gap: 16px;
  }
  
  .footer .icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
  
  .footer-bottom {
    padding-top: 32px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px 0;
    margin-top: 40px;
  }
  
  .footer-content {
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .footer-title {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .footer-subtitle {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .footer-description {
    font-size: 14px;
  }
  
  .footer .icon-grid {
    gap: 12px;
  }
  
  .footer .icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  
  .footer-bottom {
    padding-top: 24px;
  }
  
  .footer-bottom p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Additional Form Enhancements */
.form-section {
  margin-bottom: 40px;
}

.form-section:last-child {
  margin-bottom: 24px;
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
  .floating-input-group {
    margin-bottom: 20px;
  }
  
  .floating-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .toggle-setting {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .toggle-slider {
    margin-left: 0;
    align-self: flex-end;
  }
  
  .settings-section {
    padding: 16px;
    margin-bottom: 24px;
  }
  
  .setting-item {
    padding: 12px;
  }
}

/* Focus Management for Accessibility */
.floating-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.toggle-slider:focus-within {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.checkbox-input:focus + .checkbox-custom {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Loading States */
.btn-primary.loading {
  position: relative;
  color: transparent;
}

.btn-primary.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Success States */
.form-success {
  padding: 16px;
  background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
  border: 1px solid #34a853;
  border-radius: 8px;
  color: #137333;
  font-size: 14px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-success::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: #34a853;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Enhanced Error States */
.floating-input.error {
  border-color: #ea4335;
  background: rgba(234, 67, 53, 0.02);
}

.floating-input.error:focus {
  box-shadow: 0 0 0 2px rgba(234, 67, 53, 0.2);
}

.floating-label.error {
  color: #ea4335;
}

.error-message {
  color: #ea4335;
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.error-message::before {
  content: '⚠';
  font-size: 14px;
}

/* Social Authentication Styles */
.social-divider {
  display: flex;
  align-items: center;
  margin: 32px 0 24px 0;
  gap: 16px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #dadce0 50%, transparent 100%);
}

.divider-text {
  color: #5f6368;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  padding: 0 8px;
  background: white;
}

.social-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: white;
  color: #3c4043;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Google Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
  transition: left 0.5s ease;
}

.social-btn:hover {
  background: #f8f9fa;
  border-color: #c1c7cd;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:hover::before {
  left: 100%;
}

.social-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.social-btn:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.social-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.social-btn:hover .social-icon {
  transform: scale(1.1);
}

/* Individual Social Button Styles */
.google-btn:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  border-color: #4285f4;
}

.linkedin-btn:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  border-color: #0a66c2;
}

.github-btn:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  border-color: #24292e;
}

/* Responsive Social Buttons */
@media (min-width: 480px) {
  .social-auth-buttons {
    flex-direction: row;
    gap: 8px;
  }
  
  .social-btn {
    flex: 1;
    min-width: 0;
  }
  
  .social-btn span {
    display: none;
  }
  
  .social-btn {
    justify-content: center;
    padding: 12px 8px;
  }
}

/* Loading states for social buttons */
.social-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.social-btn.loading .social-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

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