

/* ================= CSS VARIABLES & RESET ================= */
 :root {
/* Theme Colors - Green & White */
--primary-green: #047857;       /* Emerald 700 */
--accent-green: #10b981;        /* Emerald 500 */
--light-green: #d1fae5;         /* Emerald 100 */
--white: #ffffff;
--off-white: #f9fafb;
      
/* Text Colors */
--dark-text: #1f2937;
--gray-text: #6b7280;
      
/* Neutrals */
--light-gray: #f3f4f6;
--border-gray: #e5e7eb;
      
/* Transitions */
--transition: all 0.3s ease;
--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Overrides */
body.dark-mode {
--white: #111827;           /* Dark Gray 900 */
--off-white: #1f2937;       /* Dark Gray 800 */
--primary-green: #34d399;   /* Lighter Emerald for contrast */
--accent-green: #6ee7b7;
--light-green: #064e3b;     /* Dark Emerald bg */
--dark-text: #f9fafb;       /* White text */
--gray-text: #d1d5db;
--light-gray: #374151;
--border-gray: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
font-family: 'Outfit', sans-serif;
background-color: var(--off-white);
color: var(--dark-text);
display: flex;
flex-direction: column;
min-height: 100vh;
transition: background-color var(--transition), color var(--transition);
}

/* ================= USER PROVIDED NAVBAR CSS ================= */
/* Note: I have kept this exactly as requested but integrated the variables. */
    
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: var(--white);
      padding: 0.75rem 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      position: sticky;
      top: 0;
      z-index: 999;
      gap: 2rem;
      border-bottom: 1px solid var(--border-gray);
      transition: background-color var(--transition);
    }

    .navbar .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary-green);
      cursor: pointer;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    /* Search Container */
    .search-container {
      position: relative;
      flex: 1;
      max-width: 400px;
    }

    .search-input {
      width: 100%;
      padding: 0.6rem 1rem 0.6rem 2.5rem;
      border: 1px solid var(--border-gray);
      border-radius: 24px;
      background: var(--light-gray);
      color: var(--dark-text);
      font-size: 0.9rem;
      transition: all var(--transition);
    }

    .search-input:focus {
      outline: none;
      border-color: var(--accent-green);
      background: var(--white);
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    .search-btn {
      position: absolute;
      left: 0.8rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--gray-text);
      transition: color var(--transition);
    }

    .search-btn:hover {
      color: var(--accent-green);
    }

    .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--white);
      border: 1px solid var(--border-gray);
      border-top: none;
      border-radius: 0 0 12px 12px;
      max-height: 400px;
      overflow-y: auto;
      z-index: 1000;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .search-results.hidden {
      display: none;
    }

    .search-result-item {
      padding: 0.8rem 1rem;
      border-bottom: 1px solid var(--border-gray);
      cursor: pointer;
      transition: background-color var(--transition);
    }

    .search-result-item:hover {
      background-color: var(--light-green);
      color: var(--primary-green);
    }

    .search-result-item:last-child {
      border-bottom: none;
    }

    /* Navigation Links */
    .nav-links {
      display: flex;
      list-style: none;
      align-items: center;
      gap: 0.5rem;
      flex: 1;
      overflow-x: auto; /* Handle overflow on smaller screens */
      scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    .nav-links::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome */

    .nav-links li {
      position: relative;
      flex-shrink: 0;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--dark-text);
      font-weight: 500;
      padding: 0.5rem 0.8rem;
      transition: all var(--transition);
      border-radius: 6px;
      font-size: 0.95rem;
    }

    .nav-links a:hover {
      color: var(--accent-green);
      background-color: var(--light-green);
    }

    /* Dropdown Menu */
    .dropdown:hover .dropdown-menu {
      display: block;
      animation: fadeIn 0.2s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(5px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: var(--white);
      min-width: 200px;
      box-shadow: var(--shadow);
      border-radius: 8px;
      overflow: hidden;
      z-index: 999;
      margin-top: 0.5rem;
      border: 1px solid var(--border-gray);
    }

    .dropdown-menu li {
      margin: 0;
    }

    .dropdown-menu li a {
      display: block;
      padding: 0.6rem 1rem;
      color: var(--dark-text);
      font-weight: 400;
      border-radius: 0;
      font-size: 0.9rem;
    }

    .dropdown-menu li a:hover {
      background-color: var(--light-green);
      color: var(--primary-green);
    }

    /* Navbar Controls */
    .navbar-controls {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    /* Language Switcher */
    .language-switcher {
      position: relative;
    }

    .lang-btn {
      background: var(--light-gray);
      border: 1px solid var(--border-gray);
      color: var(--dark-text);
      padding: 0.5rem 0.8rem;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.85rem;
      transition: all var(--transition);
    }

    .lang-btn:hover {
      background: var(--accent-green);
      color: var(--white);
      border-color: var(--accent-green);
    }

    .lang-menu {
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--white);
      border: 1px solid var(--border-gray);
      border-radius: 8px;
      overflow: hidden;
      z-index: 1000;
      margin-top: 0.5rem;
      box-shadow: var(--shadow);
      min-width: 120px;
    }

    .lang-menu.hidden {
      display: none;
    }

    .lang-option {
      display: block;
      width: 100%;
      padding: 0.6rem 1rem;
      background: none;
      border: none;
      text-align: left;
      cursor: pointer;
      color: var(--dark-text);
      font-size: 0.9rem;
      transition: all var(--transition);
    }

    .lang-option:hover {
      background-color: var(--light-green);
      color: var(--primary-green);
    }

    /* Theme Toggle */
    .theme-toggle {
      background: var(--light-gray);
      border: 1px solid var(--border-gray);
      color: var(--dark-text);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition);
    }

    .theme-toggle:hover {
      background: var(--accent-green);
      color: var(--white);
      border-color: var(--accent-green);
    }

    .sun-icon,
    .moon-icon {
      transition: opacity var(--transition);
    }

    .sun-icon.hidden,
    .moon-icon.hidden {
      display: none;
    }

    /* Profile Menu */
    .profile-menu {
      position: relative;
    }

    .profile-btn {
      background: var(--light-gray);
      border: 1px solid var(--border-gray);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition);
    }

    .profile-btn:hover {
      background: var(--accent-green);
      border-color: var(--accent-green);
    }

    .profile-icon {
      width: 22px;
      height: 22px;
      stroke: var(--dark-text);
      fill: none;
      stroke-width: 1.8;
      transition: stroke var(--transition);
    }

    .profile-btn:hover .profile-icon {
      stroke: var(--white);
    }

    .profile-dropdown {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      background: var(--white);
      min-width: 220px;
      box-shadow: var(--shadow);
      border-radius: 10px;
      overflow: hidden;
      z-index: 1000;
      border: 1px solid var(--border-gray);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-5px);
      transition: all var(--transition);
    }

    .profile-dropdown::before {
      content: "";
      position: absolute;
      top: -10px;
      right: 0;
      width: 100%;
      height: 10px;
    }

    .profile-menu:hover .profile-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .profile-dropdown li {
      list-style: none;
    }

    .profile-dropdown a {
      display: block;
      padding: 0.9rem 1.2rem;
      text-decoration: none;
      color: var(--dark-text);
      font-weight: 500;
      transition: all var(--transition);
    }

    .profile-dropdown a:hover {
      background-color: var(--light-green);
      color: var(--primary-green);
    }

    /* ================= MAIN CONTENT STYLES ================= */
    
    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 4rem 2rem;
      background: linear-gradient(135deg, var(--off-white) 0%, var(--light-green) 100%);
      position: relative;
      overflow: hidden;
    }

    /* Decorative Background Elements */
    .bg-circle {
      position: absolute;
      border-radius: 50%;
      background: var(--primary-green);
      opacity: 0.05;
      z-index: 0;
    }

    .circle-1 { width: 400px; height: 400px; top: -100px; left: -100px; }
    .circle-2 { width: 300px; height: 300px; bottom: -50px; right: -50px; }

    .content-wrapper {
      position: relative;
      z-index: 1;
      max-width: 700px;
      animation: slideUp 0.8s ease-out;
    }

    @keyframes slideUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Illustration styling */
    .illustration-container {
      margin-bottom: 2rem;
      position: relative;
      display: inline-block;
    }
    
    .illustration-container img {
      width: 100%;
      max-width: 500px;
      height: auto;
      border-radius: 20px;
      box-shadow: var(--shadow);
      background-color: var(--white); /* Placeholder bg while loading */
    }

    h1 {
      font-size: 3.5rem;
      font-weight: 800;
      color: var(--primary-green);
      margin-bottom: 1rem;
      line-height: 1.2;
      letter-spacing: -1px;
    }

    p {
      font-size: 1.125rem;
      color: var(--gray-text);
      margin-bottom: 2.5rem;
      line-height: 1.6;
    }

    /* Notify Form */
    .notify-form {
      display: flex;
      gap: 0.5rem;
      background: var(--white);
      padding: 0.5rem;
      border-radius: 50px;
      box-shadow: var(--shadow);
      max-width: 450px;
      margin: 0 auto;
      border: 1px solid var(--border-gray);
    }

    .notify-input {
      flex: 1;
      border: none;
      outline: none;
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      color: var(--dark-text);
      background: transparent;
      font-family: inherit;
    }

    .notify-btn {
      background-color: var(--primary-green);
      color: var(--white);
      border: none;
      padding: 0.8rem 2rem;
      border-radius: 40px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s;
      white-space: nowrap;
    }

    .notify-btn:hover {
      background-color: var(--accent-green);
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background-color: var(--dark-text);
      color: var(--white);
      padding: 12px 24px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      opacity: 0;
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      z-index: 2000;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }

    /* Responsive Styles */
    @media (max-width: 1024px) {
      .nav-links {
        display: none; /* Hide complex nav links on tablets/mobile for this demo */
      }
      
      .search-container {
        display: none; /* Simplify header on small screens */
      }

      .navbar {
        justify-content: center;
      }
    }

    @media (max-width: 600px) {
      h1 { font-size: 2.5rem; }
      .illustration-container img { width: 100%; }
      .notify-form { flex-direction: column; border-radius: 12px; padding: 1rem; }
      .notify-btn { width: 100%; }
    }
