/*******************************************************
 * GLOBAL VARIABLES
 *******************************************************/
 :root {
    --primary-color: #6c5ce7;
    --hover-color: #a29bfe;
    --bg-dark: #1a1a1a;
    --card-bg: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --card-shadow: 0 4px 20px rgba(108, 92, 231, 0.15);
    --input-bg: #2d2d2d;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
  }
  
  * {
    /* margin: 0; */
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    height: 100%;
    margin: 0;
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-dark) radial-gradient(circle at center, rgba(108, 92, 231, 0.3), rgba(162, 155, 254, 0.15), transparent 70%);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
  }

  main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  /*******************************************************
   * NAVIGATION
   *******************************************************/
  nav {
    background: rgba(37, 37, 37, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo img {
    height: 40px;
  }
  
  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all var(--transition-speed);
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
  }

  .auth-button {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all var(--transition-speed);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
  }

  .auth-button:hover,
  .auth-button.active {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
  }
  
  /*******************************************************
   * HERO SECTION
   *******************************************************/
   .hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(
      90deg,
      rgba(108, 92, 231, 0.4),
      rgba(162, 155, 254, 0.2)
    );
    background-size: 200% 200%;
    animation: gradient-move 8s linear infinite; 
  }
  
  @keyframes gradient-move {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }
  
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
  }
  
  .cta-button {
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--hover-color)
    );
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed);
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
  }
  
  /*******************************************************
   * FEATURES & BENEFITS
   *******************************************************/
  .features {
    padding: 5rem;
  }
  
  .features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 0.5em;
  }
  
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
  }
  
  .feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.2);
  }
  
  /*******************************************************
   * SPLIT DASHBOARD LAYOUT
   *******************************************************/
   .dashboard-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.8;
    text-align: center;
}

   .split-dashboard {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
    width: 90%;
  
    /* Subtle glow background */
    background: rgba(108, 92, 231, 0.05); 
    box-shadow: 0 0 180px rgba(108, 92, 231, 0.1);
  }
  
  
  /* ==================== LEFT COLUMN: extension-info ==================== */
  .extension-info {
    flex: 1 1 50%;
    background: var(--card-bg);
    padding: 2rem;
    border-right: 1px solid var(--border-color);
  }
  
  .extension-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--hover-color));
    -webkit-background-clip: text;
  }
  
  .extension-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .plan-card {
    background: rgba(37, 37, 37, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-speed), 
                box-shadow var(--transition-speed);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  
  .plan-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.2);
  }
  
  .plan-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .plan-header i {
    font-size: 1.7rem;
    color: var(--primary-color);
  }
  
  .plan-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
  }
  
  .price {
    margin-left: auto;
    font-size: 1rem;
    color: var(--hover-color);
    font-weight: 600;
    background: rgba(108, 92, 231, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
  }
  
  .price span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 2px;
  }
  
  .popular-tag {
    font-size: 0.7rem;
    color: #fff;
    background: var(--primary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
  }
  
  .plan-features {
    margin-bottom: 1rem;
  }
  
  .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin: 0.4rem 0;
  }
  
  .feature-item i {
    color: var(--hover-color);
  }
  
  .feature-item.highlight i {
    color: var(--primary-color);
    animation: sparkle 1.5s infinite ease-in-out;
  }
  
  @keyframes sparkle {
    0%, 100% {
      transform: scale(1);
      color: var(--primary-color);
    }
    50% {
      transform: scale(1.3);
      color: var(--hover-color);
    }
  }
  
  .upgrade-btn {
    display: inline-block;
    margin-top: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--hover-color));
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed);
  }
  
  .upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
  }
  
  .plan-footer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.5;
  }
  
  /* ==================== RIGHT COLUMN: extension-dashboard ==================== */
  .extension-dashboard {
    flex: 1 1 50%;
    padding: 2rem;
    background: var(--card-bg);
    position: relative; 
    border-radius: 0; 
  }
  
  .extension-dashboard::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 160%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
    background: radial-gradient(
      circle at center,
      rgba(108, 92, 231, 0.3) 0%,
      rgba(162, 155, 254, 0.15) 60%,
      transparent 100%
    );
    z-index: -1;
  }
  
  .extension-dashboard h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1; 
  }
  
  /*******************************************************
   * DASHBOARD CONTENT
   *******************************************************/
  .dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    position: relative;
    z-index: 1; 
  }
  
  .dash-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-weight: 500;
  }
  
  .dash-btn i {
    font-size: 1rem;
  }
  
  .dash-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }
  
  .auto-fetch-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .toggle-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider.round {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
  }
  
  .slider.round:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.4s;
  }
  
  .switch input:checked + .slider.round {
    background-color: var(--primary-color);
  }
  
  .switch input:checked + .slider.round:before {
    transform: translateX(18px);
  }
  
  .dashboard-section {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
  }
  
  .dashboard-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
  }
  
  /*******************************************************
   * DATA ROWS (Emails & Phone Numbers)
   *******************************************************/
  .data-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: box-shadow var(--transition-speed);
  }
  
  .data-row:hover {
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.15);
  }
  
  .data-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
  }
  
  .icon-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color var(--transition-speed);
  }
  
  .icon-button:hover {
    color: var(--primary-color);
  }
  
  .data-text {
    font-size: 1rem;
    color: var(--text-primary);
  }
  
  .data-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .toggle-button {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color var(--transition-speed), color var(--transition-speed);
  }
  
  .toggle-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }
  
  .toggle-button.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }
  
  /*******************************************************
   * FOOTER
   *******************************************************/
   footer {
    margin-top: 4em;
    flex-shrink: 0;
    width: 100%;
    background: linear-gradient(
      to bottom,
      var(--bg-dark),
      var(--card-bg)
    );
    padding: 2rem;
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    position: relative;
    overflow: hidden;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary-color),
      transparent
    );
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-primary-links,
  .footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  
  .footer-legal-links {
    gap: 1.5rem;
    padding-top: 0.5rem;
  }
  
  .footer-primary-links a,
  .footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
  }
  
  .footer-primary-links a::after,
  .footer-legal-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
  }
  
  .footer-primary-links a:hover,
  .footer-legal-links a:hover {
    color: var(--primary-color);
  }
  
  .footer-primary-links a:hover::after,
  .footer-legal-links a:hover::after {
    width: 100%;
  }
  
  .footer-bottom {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
  }
  
  footer:hover::before {
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .footer-primary-links,
    .footer-legal-links {
      flex-direction: column;
      gap: 1rem;
    }
  
    .footer-legal-links {
      padding-top: 1rem;
    }
  
    .footer-content {
      gap: 2rem;
    }
  }
  
  .feature-divider {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid var(--border-color);
  }
  
  .feature-list {
    list-style: none;     
    padding: 0;
    margin: 0;
    text-align: left;    
  }
  
  .feature-list li {
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
  }
  
  .feature-list li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1rem;      
  }

  .section-label {
    display: block;
    background: var(--hover-color);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin: 0 auto;
    text-transform: uppercase;
    text-align: center;
    width: fit-content;
  }
  .section-subheading {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;           
    max-width: 700px;           
    margin: 0.5rem auto 2rem;   
    line-height: 1.6;
  }
  
  .hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 2rem;
  }
  
  .hero-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-speed);
  }
  
  .hero-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.3);
  }
  
  .hero-feature-card i {
    font-size: 2rem;
    color: var(--hover-color);
    margin-bottom: 1rem;
  }
  
  .hero-feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .hero-feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .hero-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin: 3rem 0 2rem;
    text-align: center;
  }

  /* Enhanced Animation Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  60% {
    transform: translateY(-5px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px) scale(0.98);
  }
  60% {
    transform: translateX(5px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Animation classes with improved easing */
.animate {
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.animate.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate.fade-in-scale {
  animation: fadeInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate.fade-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Refined delay utilities */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }