    html {
      scroll-behavior: smooth;
    }

    :root {
      --primary: #4a6cf7;
      --secondary: #6f42c1;
      --accent: #36D1DC;
      --dark: #1d2140;
      --light: #f8f9fa;
      --success: #28C76F;
      --gradient-primary: linear-gradient(135deg, #4a6cf7 0%, #6f42c1 100%);
      --gradient-secondary: linear-gradient(135deg, #FF6584 0%, #FF8E53 100%);
      --gradient-accent: linear-gradient(135deg, #36D1DC 0%, #5B86E5 100%);
      --gradient-dark: linear-gradient(135deg, #1d2140 0%, #3A3570 100%);
      --card-bg: rgba(255, 255, 255, 0.95);
      --text-dark: #2D2B55;
      --text-light: #6C6B8A;
      --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background: linear-gradient(135deg, #f5f7ff 0%, #eef1f9 100%);
      color: var(--text-dark);
      line-height: 1.6;
      min-height: 100vh;
      overflow-x: hidden;
    }

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

    /* --- Header Styles --- */
    header {
      background: var(--card-bg);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 15px;
      text-decoration: none;
      transition: var(--transition);
    }

    .logo:hover {
      transform: translateY(-2px);
    }

    .logo img {
      height: 60px;
      width: 60px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow: var(--shadow-md);
      border: 3px solid white;
    }

    .logo span {
      font-size: 28px;
      font-weight: 800;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      list-style: none;
    }

    .nav-links li {
      margin-left: 30px;
      position: relative;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
      transition: var(--transition);
      padding: 8px 0;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--gradient-primary);
      transition: var(--transition);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

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

    .auth-buttons {
      display: flex;
      align-items: center;
    }

    .auth-buttons button {
      padding: 12px 24px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      margin-left: 10px;
      transition: var(--transition);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: var(--shadow-sm);
    }

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

    .login-btn:hover {
      background: rgba(108, 99, 255, 0.1);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .register-btn {
      background: var(--gradient-primary);
      color: white;
      box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    }

    .register-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
      background: linear-gradient(135deg, #5B56E0 0%, #2BC7D6 100%);
    }

    .user-menu {
      display: flex;
      align-items: center;
      color: var(--success);
      white-space: nowrap;
      font-size: 14px;
    }

    .user-menu .btn {
      padding: 12px 24px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      margin-left: 10px;
      transition: var(--transition);
      display: inline-block;
      border: none;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      box-shadow: var(--shadow-sm);
    }

    .user-menu .btn:hover {
      text-decoration: none;
      opacity: 0.9;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .user-menu .btn-profile {
      background: transparent;
      color: var(--primary) !important;
      border: 2px solid var(--primary);
    }

    .user-menu .btn-profile:hover {
      background: rgba(108, 99, 255, 0.1);
    }

    .user-menu .btn-logout {
      background: var(--gradient-secondary);
      color: white;
    }

    .navbar-left {
      display: flex;
      align-items: center;
      gap: 50px;
    }

    .user-menu .username {
      display: inline-block;
      max-width: 120px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: bottom;
      margin-right: 5px;
      font-weight: 600;
    }

    /* --- Hero Section --- */
    .hero {
      padding: 100px 0;
      text-align: center;
      background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 90%, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      background-size: 50px 50px, 30px 30px, 70px 70px, 40px 40px, 60px 60px, cover;
      position: relative;
      overflow: hidden;
      animation: complexDotMove 25s infinite linear;
    }

    @keyframes complexDotMove {
      0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
      }

      25% {
        background-position: 12px 12px, -8px 8px, 18px -15px, 10px 10px, -15px 15px, 0 0;
      }

      50% {
        background-position: 25px 25px, -15px 15px, 35px -35px, 20px 20px, -30px 30px, 0 0;
      }

      75% {
        background-position: 37px 12px, -23px 8px, 53px -18px, 30px 10px, -45px 15px, 0 0;
      }

      100% {
        background-position: 50px 50px, -30px 30px, 70px -70px, 40px 40px, -60px 60px, 0 0;
      }
    }

    .hero::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E") repeat-x;
      animation: wave 15s linear infinite;
      z-index: 1;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 80px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E") repeat-x;
      animation: wave 20s linear infinite reverse;
      z-index: 1;
    }

    @keyframes wave {
      0% {
        background-position-x: 0;
      }

      100% {
        background-position-x: 1200px;
      }
    }

    .hero .container {
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 24px;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      font-weight: 800;
      animation: fadeInUp 0.8s ease-out forwards;
      opacity: 0;
    }

    .hero p {
      font-size: 1.25rem;
      color: rgba(255, 255, 255, 0.9);
      max-width: 700px;
      margin: 0 auto 50px;
      line-height: 1.7;
      animation: fadeInUp 0.8s ease-out 0.3s forwards;
      opacity: 0;
    }

    .cta-button {
      padding: 18px 40px;
      background: var(--gradient-secondary);
      color: white;
      border: none;
      border-radius: 50px;
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
      text-transform: uppercase;
      letter-spacing: 1px;
      animation: fadeInUp 0.8s ease-out 0.6s forwards;
      opacity: 0;
    }

    .cta-button:hover {
      background: #ff5252;
      transform: translateY(-3px);
      box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    }

    /* --- Services Section --- */
    .services {
      padding: 85px 0;
      background: var(--light);
      position: relative;
    }

    .services::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 300px;
      background: linear-gradient(to bottom, #f5f7ff, transparent);
      z-index: 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 80px;
      position: relative;
      z-index: 2;
    }

    .section-title h2 {
      font-size: 2.5rem;
      color: var(--text-dark);
      margin-bottom: 20px;
      font-weight: 800;
      position: relative;
      display: inline-block;
    }

    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--gradient-primary);
      border-radius: 2px;
    }

    .section-title p {
      color: var(--text-light);
      max-width: 600px;
      margin: 30px auto 0;
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
      position: relative;
      z-index: 2;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: 20px;
      box-shadow: var(--shadow-md);
      padding: 33px 30px;
      text-align: center;
      transition: var(--transition);
      border: 1px solid rgba(255, 255, 255, 0.8);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }

    /* Card Glow Effect */
    .service-card::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 150%;
      height: 150%;
      background: var(--gradient-primary);
      filter: blur(60px);
      opacity: 0;
      transition: opacity 0.4s ease-in-out;
      z-index: -1;
    }

    .service-card:hover::after {
      opacity: 0.3;
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
    }

    .service-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 30px;
      background: var(--gradient-primary);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      color: white;
      box-shadow: 0 8px 25px rgba(74, 108, 247, 0.3);
      transition: var(--transition);
    }

    .service-card:hover .service-icon {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 15px 30px rgba(108, 99, 255, 0.3);
    }

    .service-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      color: var(--text-dark);
      font-weight: 700;
    }

    .service-card p {
      color: var(--text-light);
      margin-bottom: 25px;
      line-height: 1.6;
      font-size: 0.95rem;
    }

    .price-display {
      margin-bottom: 25px;
      text-align: center;
    }

    .discount-badge {
      display: inline-block;
      background: var(--gradient-secondary);
      color: white;
      padding: 6px 15px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 700;
      margin-bottom: 15px;
      box-shadow: 0 4px 10px rgba(255, 101, 132, 0.3);
    }

    .price-line {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 15px;
    }

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

    .current-price {
      background: var(--success);
      color: black;
      padding: 6px 10px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1.4rem;
      box-shadow: 0 5px 15px rgba(40, 199, 111, 0.3);
    }

    .service-button {
      background: var(--gradient-primary);
      color: white;
      border: none;
      padding: 14px 35px;
      border-radius: 50px;
      cursor: pointer;
      font-weight: 600;
      transition: var(--transition);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
      position: relative;
      overflow: hidden;
    }

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

    .service-button:hover::before {
      left: 100%;
    }

    .service-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
    }


    .service-icon img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      border-radius: 50%;
    }

    .chatgpt-icon,
    .gemini-icon,
    .notion-icon,
    .canva-icon,
    .capcut-icon,
    .netflix-icon,
    .perplexity-icon,
    .adobe-icon,
    .microsoft-icon,
    .youtube-icon,
    .amazon-icon,
    .suno-icon {
      width: 90px;
      height: 90px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      /* New properties for the glow effect */
      border: 8px solid rgba(74, 108, 247, 0.2);
      box-shadow: 0 0 40px 8px rgba(74, 108, 247, 0.3);
      transition: var(--transition);
    }

    .chatgpt-icon img,
    .gemini-icon img,
    .notion-icon img,
    .canva-icon img,
    .capcut-icon img,
    .netflix-icon img,
    .perplexity-icon img,
    .adobe-icon img,
    .microsoft-icon img,
    .youtube-icon img,
    .amazon-icon img,
    .suno-icon img {
      width: 60px;
      height: 60px;
      object-fit: contain;
    }

    .coming-soon-btn {
      background: #e0e0e0;
      color: #a0a0a0;
      cursor: not-allowed;
    }

    .coming-soon-btn:hover {
      background: #e0e0e0;
      transform: none;
      box-shadow: none;
    }

    /* --- Features Section --- */
    .features {
      padding: 90px 0;
      background: var(--gradient-dark);
      position: relative;
      overflow: hidden;
    }

    .features::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 101, 132, 0.1) 0%, transparent 50%);
      z-index: 0;
    }

    .features h2 {
      color: white;
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 80px;
      font-weight: 800;
      position: relative;
      z-index: 2;
    }

    .features h2::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--gradient-primary);
      border-radius: 2px;
    }

    .features-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      position: relative;
      z-index: 2;
    }

    .feature-item {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 40px 30px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: var(--transition);
      flex: 0 1 350px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .feature-item:hover {
      transform: translateY(-10px);
      background: rgba(255, 255, 255, 0.15);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .feature-icon {
      font-size: 48px;
      margin-bottom: 25px;
      display: block;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    }

    .feature-item h3 {
      color: white;
      font-size: 1.5rem;
      margin-bottom: 20px;
      font-weight: 700;
    }

    .feature-item p {
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.6;
      font-size: 0.95rem;
    }

    /* --- Alternative Payments Section --- */
    .alternative-payments-section {
      padding: 100px 0 40px;
      background: var(--light);
      position: relative;
    }

    .alternative-payment-box {
      background: var(--card-bg);
      border-radius: 20px;
      padding: 5px 50px 0.5px;
      text-align: center;
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      max-width: 700px;
      /* <-- This value has been changed */
      margin: 0 auto;
    }

    .alternative-payment-box h4 {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 20px;
      font-weight: 800;
    }

    .alternative-payment-box p {
      color: var(--text-light);
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 30px;
    }

    .alternative-payment-box p:first-of-type {
      color: var(--primary);
      font-weight: 600;
      font-size: 1.2rem;
    }

    .payment-details-list {
      list-style: none;
      padding: 0;
      margin: 0 auto 30px auto;
      text-align: left;
      display: inline-block;
    }

    .payment-details-list li {
      margin-bottom: 15px;
      font-size: 1rem;
      font-weight: 500;
      color: var(--text-dark);
      padding-left: 25px;
      position: relative;
    }

    .payment-details-list li::before {
      content: '•';
      color: var(--primary);
      font-weight: bold;
      font-size: 1.5rem;
      position: absolute;
      left: 0;
      top: -5px;
    }

    .payment-details-list strong {
      color: var(--text-dark);
      min-width: 100px;
      display: inline-block;
    }

    .telegram-button {
      display: inline-block;
      background: linear-gradient(135deg, #787BF2, #4F68F6);
      /* New gradient */
      color: white;
      text-decoration: none;
      padding: 16px 35px;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
      box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 35px;
      position: relative;
      overflow: hidden;
      border: none;
      /* Add this to remove any default border */
    }

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

    .telegram-button:hover::before {
      left: 100%;
    }

    .telegram-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
    }

    /* --- Footer --- */
    footer {
      background: var(--dark);
      color: #fff;
      padding: 80px 0 30px;
      /* <--- Changed to 20px */
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
    }

    .footer-column {
      flex: 1;
      min-width: 250px;
      margin-bottom: 30px;
    }

    .footer-column h3 {
      font-size: 1.2rem;
      margin-bottom: 25px;
      font-weight: 700;
      position: relative;
      padding-bottom: 15px;
    }

    .footer-column h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--gradient-primary);
      border-radius: 2px;
    }

    .footer-column p {
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .footer-column ul {
      list-style: none;
    }

    .footer-column ul li {
      margin-bottom: 12px;
    }

    .footer-column a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: var(--transition);
      position: relative;
      padding-left: 0;
    }

    .footer-column a::before {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--gradient-primary);
      transition: var(--transition);
    }

    .footer-column a:hover {
      color: white;
      padding-left: 15px;
    }

    .footer-column a:hover::before {
      width: 10px;
    }

    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      margin-top: 30px;
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.9rem;
    }

    /* --- Modal Styles --- */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(5px);
      animation: modalFadeIn 0.3s ease-out;
      padding: 20px;
    }

    .modal-content {
      background: var(--card-bg);
      border-radius: 20px;
      width: 100%;
      max-width: 420px;
      /* <--- Updated value */
      overflow-y: auto;
      max-height: 90vh;
      position: relative;
      box-shadow: var(--shadow-lg);
      transform: translateY(-20px);
      animation: modalSlideIn 0.3s ease-out;
      /* Custom Scrollbar for Firefox */
      scrollbar-width: thin;
      scrollbar-color: #a8a8a8 #f1f1f1;
    }

    /* Custom Scrollbar for Webkit Browsers */
    .modal-content::-webkit-scrollbar {
      width: 8px;
    }

    .modal-content::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
    }

    .modal-content::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 10px;
    }

    .modal-content::-webkit-scrollbar-thumb:hover {
      background: #a8a8a8;
    }


    .modal-header {
      background: linear-gradient(135deg, #787BF2, #4F68F6);
      /* New gradient */
      padding: 30px 30px 20px;
      text-align: center;
      color: white;
      position: sticky;
      top: 0;
      z-index: 10;
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
    }

    .modal-header::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    }

    .modal-header h2 {
      font-size: 1.8rem;
      margin-bottom: 8px;
      font-weight: 700;
    }

    .modal-header p {
      opacity: 0.9;
      font-size: 0.95rem;
    }

    .close-modal {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 24px;
      cursor: pointer;
      color: rgba(255, 255, 255, 0.8);
      transition: var(--transition);
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
    }

    .close-modal:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }

    .modal-body {
      padding: 20px;
    }

    .modal-tabs {
      display: flex;
      margin-bottom: 30px;
      background: #f8f9fa;
      border-radius: 12px;
      padding: 4px;
    }

    .modal-tab {
      flex: 1;
      padding: 12px 20px;
      cursor: pointer;
      text-align: center;
      border-radius: 8px;
      font-weight: 600;
      transition: var(--transition);
      color: var(--text-light);
    }

    .modal-tab.active {
      background: white;
      color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

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

    #updateProfileForm .form-group {
      margin-bottom: 18px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text-dark);
      font-size: 0.9rem;
    }

    .form-group input {
      width: 100%;
      padding: 15px 20px;
      border: 2px solid #e2e8f0;
      border-radius: 12px;
      font-size: 1rem;
      transition: var(--transition);
      background: #fafbfc;
    }

    .form-group input:focus {
      outline: none;
      border-color: var(--primary);
      background: white;
      box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
      transform: translateY(-2px);
    }

    .form-group input::placeholder {
      color: #a0a0a0;
    }

    .password-container {
      position: relative;
      width: 100%;
    }

    .password-container input {
      padding-right: 50px;
    }

    .toggle-password {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .toggle-password svg {
      width: 20px;
      height: 20px;
      color: #999;
      transition: var(--transition);
    }

    .toggle-password:hover svg {
      color: var(--primary);
    }

    .form-submit {
      width: 100%;
      padding: 16px;
      background: var(--gradient-primary);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      margin-top: 10px;
      transition: var(--transition);
      box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
      position: relative;
      overflow: hidden;
    }

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

    .form-submit:hover::before {
      left: 100%;
    }

    .form-submit:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    }

    .form-submit:active {
      transform: translateY(0);
    }

    .forgot-password {
      text-align: center;
      margin-top: 20px;
    }

    .forgot-password a {
      color: var(--primary);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: var(--transition);
    }

    .forgot-password a:hover {
      color: var(--secondary);
    }

    .verification-inputs {
      display: flex;
      justify-content: space-between;
      margin: 30px 0;
      gap: 8px;
      /* Adjusted for smaller modal */
    }

    .verification-inputs input {
      width: 45px;
      height: 45px;
      text-align: center;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-dark);
      background: #fdfdff;
      border: 1px solid #1c2687ff;
      border-radius: 10px;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
      transition: var(--transition);
    }

    .verification-inputs input:focus {
      outline: none;
      border-color: var(--primary);
      background: #fff;
      transform: scale(1.05);
      box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.15);
    }

    .verification-description {
      text-align: center;
      color: var(--text-light);
      font-size: 0.9rem;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .resend-code {
      text-align: center;
      margin-top: 20px;
    }

    .resend-code a {
      color: #999;
      text-decoration: none;
      font-size: 0.85rem;
      transition: var(--transition);
    }

    .resend-code a:hover {
      color: var(--primary);
    }

    .resend-link-btn {
      display: inline-block;
      text-decoration: none;
      color: var(--primary);
      background-color: transparent;
      font-weight: 500;
      font-size: 0.9rem;
      padding: 8px 16px;
      border-radius: 50px;
      border: 2px solid var(--primary);
      transition: var(--transition);
    }

    .resend-link-btn:hover {
      background-color: rgba(74, 108, 247, 0.1);
      transform: translateY(-1px);
    }

    .error-message {
      color: #ff3860;
      font-size: 0.85rem;
      margin-top: 8px;
      padding: 8px 12px;
      background: #fff5f5;
      border-radius: 6px;
      border-left: 3px solid #ff3860;
      display: none;
    }

    .error-message.show {
      display: block;
      animation: errorSlideIn 0.3s ease-out;
    }

    .success-message {
      color: #23d160;
      font-size: 0.85rem;
      margin-top: 8px;
      padding: 8px 12px;
      background: #f0fdf4;
      border-radius: 6px;
      border-left: 3px solid #23d160;
      display: none;
    }

    .success-message.show {
      display: block;
      animation: errorSlideIn 0.3s ease-out;
    }

    /* --- Feedback Section Styles --- */
    .rating-group {
      text-align: center;
      margin-bottom: 30px;
    }

    .rating-group label {
      text-align: center;
      width: 100%;
    }

    .star-rating {
      display: flex;
      flex-direction: row-reverse;
      justify-content: center;
      font-size: 2.5em;
      padding: 0 .2em;
    }

    .star-rating input {
      display: none;
    }

    .star-rating label {
      color: #ccc;
      cursor: pointer;
      transition: color 0.2s;
    }

    .star-rating input:checked~label,
    .star-rating:not(:checked)>label:hover,
    .star-rating:not(:checked)>label:hover~label {
      color: #f5b301;
    }

    .form-group textarea {
      width: 100%;
      padding: 15px 20px;
      border: 2px solid #e1e8ed;
      border-radius: 12px;
      font-size: 16px;
      transition: all 0.3s;
      background: #fafbfc;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      resize: vertical;
    }

    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      background: white;
      box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    }

    .back-btn {
      display: inline-block;
      text-decoration: none;
      color: white;
      background-color: var(--primary);
      font-weight: 500;
      font-size: 0.9rem;
      padding: 8px 16px;
      border-radius: 50px;
      border: none;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }

    .back-btn:hover {
      opacity: 0.9;
      transform: translateY(-1px);
      box-shadow: var(--shadow-md);
    }


    @keyframes errorSlideIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes modalFadeIn {
      from {
        opacity: 0;
        backdrop-filter: blur(0px);
      }

      to {
        opacity: 1;
        backdrop-filter: blur(5px);
      }
    }

    @keyframes modalSlideIn {
      from {
        transform: translateY(-50px);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    /* Keyframes for animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .profile-info {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 25px;
      text-align: center;
    }

    .profile-info p {
      margin: 8px 0;
      color: var(--text-light);
    }

    .profile-info .email {
      font-weight: 700;
      color: var(--primary);
      font-size: 1.1rem;
    }

    .plan-selector {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin: 25px 0;
      border: 2px solid #e1e8ed;
      border-radius: 12px;
      padding: 20px;
    }

    .plan-option {
      display: flex;
      align-items: center;
      padding: 15px;
      border-radius: 8px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: var(--transition);
      background-color: #f8f9fa;
    }

    .plan-option.selected {
      border-color: var(--primary);
      background-color: #eff6ff;
      box-shadow: 0 4px 10px rgba(108, 99, 255, 0.1);
    }

    .plan-option input[type="radio"] {
      margin-right: 15px;
      width: 20px;
      height: 20px;
    }

    .plan-details {
      flex-grow: 1;
    }

    .plan-details .title {
      font-weight: 600;
      color: var(--text-dark);
    }

    .plan-details .price {
      font-weight: 700;
      color: var(--primary);
      font-size: 1.1rem;
    }

    .plan-details .save-badge {
      background: var(--success);
      color: white;
      font-size: 0.75rem;
      padding: 3px 8px;
      border-radius: 12px;
      margin-left: 8px;
      font-weight: 600;
    }

    .purchase-modal-icon {
      width: 80px;
      height: 80px;
      border-radius: 16px;
      object-fit: contain;
      margin: 0 auto 15px auto;
      display: block;
      border: 2px solid #eee;
      padding: 5px;
      background-color: white;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* Styles for Scroll Animations */
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* --- Mobile Navigation Styles (Revised) --- */
    .mobile-nav-toggle {
      display: none;
      /* Hidden on desktop */
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 2000;
      padding: 10px;
    }

    .hamburger {
      display: block;
      position: relative;
      width: 25px;
      height: 3px;
      background: var(--dark);
      transition: all 0.2s ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
      content: '';
      position: absolute;
      width: 25px;
      height: 3px;
      background: var(--dark);
      transition: all 0.2s ease-in-out;
      left: 0;
    }

    .hamburger::before {
      top: -8px;
    }

    .hamburger::after {
      bottom: -8px;
    }

    .mobile-nav-links {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* Polished background with a subtle gradient */
      background: linear-gradient(135deg, rgba(29, 33, 64, 0.97), rgba(42, 38, 83, 0.97));
      backdrop-filter: blur(10px);
      z-index: 1500;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .mobile-nav-links ul {
      list-style: none;
      padding: 0;
      text-align: center;
    }

    .mobile-nav-links li {
      margin: 12px 0;
      /* Further reduced spacing from 18px */
    }

    .mobile-nav-links a {
      color: white;
      text-decoration: none;
      font-size: 1.2rem;
      /* Further reduced font size from 1.5rem */
      font-weight: 600;
      transition: color 0.3s, transform 0.3s;
      display: inline-block;
      /* Added for hover effect */
    }

    .mobile-nav-links a:hover {
      color: var(--primary);
      transform: scale(1.1);
      /* Added a subtle zoom on hover */
    }

    /* --- State when mobile menu is open --- */
    body.mobile-nav-open .hamburger {
      background: transparent;
      /* Middle line disappears */
    }

    body.mobile-nav-open .hamburger::before {
      transform: rotate(45deg) translate(5px, 6px);
      background: white;
      /* Changed icon color to be visible on dark background */
    }

    body.mobile-nav-open .hamburger::after {
      transform: rotate(-45deg) translate(5px, -6px);
      background: white;
      /* Changed icon color to be visible on dark background */
    }

    /* --- Responsive --- */
    @media (max-width: 1024px) {
      .nav-links {
        display: none;
        /* Hide desktop links */
      }

      .mobile-nav-toggle {
        display: block;
        /* Show hamburger button */
      }

      .navbar {
        /* Ensure items are properly spaced on one line on tablets */
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
      }

      body.mobile-nav-open {
        overflow: hidden;
        /* Prevent scrolling when menu is open */
      }

      .mobile-nav-links.active {
        display: flex;
        /* Show the mobile nav when active */
      }

      .hero h1 {
        font-size: 2.8rem;
      }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.2rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .modal-content {
        max-width: 380px;
        margin: 20px;
      }

      .verification-inputs input {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
      }

      .container {
        padding: 0 20px;
      }

      .section-title h2,
      .features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
      }

      .services,
      .features {
        padding: 80px 0;
      }

      .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
      }

      .auth-buttons {
        width: 100%;
        justify-content: center;
      }

      .user-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 0.85rem;
      }

      .user-menu .btn {
        padding: 10px 20px;
      }

      .hero {
        padding: 100px 0 80px;
      }

      .hero p {
        font-size: 1rem;
      }

      .cta-button {
        padding: 15px 0px;
        font-size: 1rem;
      }

      .service-card,
      .feature-item {
        padding: 30px 20px;
      }

      .alternative-payment-box {
        padding: 30px 20px;
      }

      .alternative-payment-box h4 {
        font-size: 1.8rem;
      }

      .alternative-payment-box p {
        font-size: 1rem;
      }

      .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-column {
        max-width: 100%;
      }

      .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
      }

      .footer-column a:hover {
        padding-left: 0;
      }

      .modal-content {
        width: 90%;
        margin: 0;
      }

      .modal-body {
        padding: 20px;
      }
    }

    @media (max-width: 480px) {
      .logo span {
        font-size: 1.5rem;
      }

      .logo img {
        height: 45px;
        width: 45px;
      }

      .hero h1 {
        font-size: 1.8rem;
      }

      .section-title h2,
      .features h2 {
        font-size: 1.8rem;
      }

      .auth-buttons button {
        padding: 10px 18px;
        font-size: 0.85rem;
      }

      .service-card h3,
      .feature-item h3 {
        font-size: 1.3rem;
      }

      .payment-details-list {
        text-align: center;
      }

      .payment-details-list li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding-left: 0;
      }

      .payment-details-list li::before {
        display: none;
      }

      .payment-details-list strong {
        min-width: unset;
      }

      .modal-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
      }

      .form-group input {
        padding: 12px 15px;
      }

      .form-submit {
        padding: 14px;
      }

      .current-price {
        font-size: 1.2rem;
        padding: 6px 15px;
      }
    }

    /* --- Price Table Modal Styles --- */
    #paymentModal .modal-content {
      background: #ffffff;
      box-shadow: var(--shadow-lg);
    }

    #price-filters {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
      padding: 15px;
      background-color: #f7f7f9;
      border-radius: 12px;
    }

    #price-filters input,
    #price-filters select {
      flex: 1;
      padding: 12px 15px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-size: 1rem;
      transition: var(--transition);
      background: #ffffff;
    }

    #price-filters input:focus,
    #price-filters select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
    }

    .price-table-container {
      max-height: 55vh;
      overflow-y: auto;
      overflow-x: auto;
      /* Add this line to allow horizontal scrolling */
    }

    #price-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    #price-table th,
    #price-table td {
      padding: 16px;
      border-bottom: 1px solid #f0f0f2;
    }

    #price-table thead {
      position: sticky;
      top: 0;
      background: #ffffff;
      z-index: 1;
    }

    #price-table th {
      font-weight: 500;
      color: var(--text-light);
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    #price-table tbody tr {
      transition: background-color 0.2s ease-in-out;
    }

    #price-table tbody tr:last-child td {
      border-bottom: none;
    }

    #price-table tbody tr:hover {
      background-color: #f7f7f9;
    }

    #price-table td {
      color: #ff0000;
      /* Updated color for price text */
      font-size: 1rem;
    }

    #price-table td:first-child {
      font-weight: 600;
      color: var(--text-dark);
    }

    /* ADD these new styles for the table header */
    #price-table thead tr {
      background-color: #F0F3FF;
    }

    #price-table thead th {
      color: #6f00ff;
      /* Updated text color for table header */
    }

    #price-table thead th:first-child {
      border-left: 4px solid var(--primary);
      border-top-left-radius: 8px;
    }

    #price-table thead th:last-child {
      border-top-right-radius: 8px;
    }

    /* ADD these new styles for the custom scrollbar */
    .price-table-container::-webkit-scrollbar {
      width: 8px;
    }

    .price-table-container::-webkit-scrollbar-track {
      background: #f0f0f2;
      border-radius: 10px;
    }

    .price-table-container::-webkit-scrollbar-thumb {
      background-color: var(--primary);
      border-radius: 10px;
      border: 2px solid #f0f0f2;
    }

    .price-table-container::-webkit-scrollbar-thumb:hover {
      background-color: #4a6cf7;
    }

    /* ADD this new rule for the 'Plan Type' column */
    #price-table td:nth-child(2) {
      color: var(--accent);
      /* Using the accent color variable */
      font-weight: 500;
    }

    /* ADD this new rule for the price columns */
    #price-table td:nth-child(n+3) {
      font-weight: 700;
      /* Bolder text */
      color: #F15172;
      /* Red color for prices */
    }

    /* --- Fix for Price Table on Mobile --- */
    @media (max-width: 480px) {

      #price-table th,
      #price-table td {
        padding: 12px 5px;
        /* Reduce padding */
        font-size: 0.75rem;
        /* Make font smaller */
      }

      #price-table th {
        white-space: nowrap;
        /* Prevent headers from wrapping to the next line */
      }
    }
    
    input[readonly] {
  background-color: #f0f0f0; /* Light grey background */
  cursor: not-allowed;      /* Show a 'not-allowed' cursor on hover */
  opacity: 0.8;             /* Slightly fade it out */
}