/* Font Faces */
@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta-semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Averta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafbfc;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 251, 252, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease;
}

.logo img {
    width: 28px;
    height: 28px; 
    padding-top: 15px;
    padding-right: 5px;
    object-fit: contain;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #151515;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #1a1a1a;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-nav li {
    margin-bottom: 32px;
}

.mobile-nav a {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mobile-nav a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #6b64e7 0%, #7e5ce9 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(72px, 12vw, 128px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.04em;
    line-height: 0.85;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 32px;
    border-radius: 20.5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(16px);
}

.cta-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.cta-secondary {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-secondary:hover {
    color: white;
    transform: translateX(2px);
}

/* Content Pages */
.content-page {
    padding-top: 120px;
    min-height: 100vh;
    background: #fafbfc;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-title {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 56px;
    text-align: center;
    letter-spacing: -0.02em;
}

.content-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.content-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.content-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.content-card p {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 48px 24px 32px;
    margin-top: 80px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-copyright {
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 64px;
    }
    
    .hero-tagline {
        font-size: 18px;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-primary,
    .cta-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .content-card {
        padding: 32px 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 36px;
    }
}

.contact-form {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.contact-form:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Averta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    background: #fafbfc;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #6b64e7;
    background: white;
    box-shadow: 0 0 0 3px rgba(107, 100, 231, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #6b64e7 0%, #7e5ce9 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Averta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(107, 100, 231, 0.3);
}

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

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.contact-method {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6b64e7 0%, #7e5ce9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 20px;
}

.contact-method h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.contact-method p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.contact-method a {
    color: #6b64e7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method a:hover {
    color: #7e5ce9;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 32px 24px;
    }
    
    .contact-method {
        padding: 24px 20px;
    }
}

/* Professional notification styles */
.notification {
    position: fixed;
    top: 100px;
    right: 24px;
    max-width: 400px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(16px);
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2000;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.notification-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.notification.success .notification-icon {
    background: #10b981;
}

.notification.error .notification-icon {
    background: #ef4444;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.notification-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

.notification-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .notification {
        left: 16px;
        right: 16px;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}

.reminders-showcase {
            background: #f8f9fa;
            padding: 60px 20px;
        }

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

        .reminders-showcase h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: #333;
        }

        .reminder-examples {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .reminder-category {
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.2s ease;
        }

        .reminder-category:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        }

        .reminder-category h3 {
            color: #2563eb;
            font-size: 1.25rem;
            margin-bottom: 16px;
            border-bottom: 2px solid #e5e7eb;
            padding-bottom: 8px;
        }

        .reminder-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 12px 0;
            border-bottom: 1px solid #f3f4f6;
        }

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

        .reminder-item strong {
            color: #1f2937;
            font-weight: 600;
        }

        .reminder-item span {
            color: #6b7280;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .reminders-showcase h2 {
                font-size: 2rem;
            }
            
            .reminder-examples {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .reminder-category {
                padding: 20px;
            }
        }

    .filters-card .grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 16px;
    }
    .filters-card .col-3   { grid-column: span 3; }
    .filters-card .col-4   { grid-column: span 4; }
    .filters-card .col-6   { grid-column: span 6; }
    .filters-card .col-12  { grid-column: span 12; }
    @media (max-width: 860px) {
      .filters-card .col-3, .filters-card .col-4, .filters-card .col-6 { grid-column: span 12; }
    }
    .filters-actions {
      display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    }
    .btn {
      background: linear-gradient(135deg, #6b64e7 0%, #7e5ce9 100%);
      color: white; border: none; padding: 12px 20px; border-radius: 12px;
      font-size: 15px; font-weight: 600; cursor: pointer;
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(107,100,231,.3); }
    .btn.secondary {
      background: white; color: #1a1a1a; border: 1px solid rgba(0,0,0,.08);
    }
    .helper {
      font-size: 12px; color: #777; margin-top: 6px;
    }
    .inline-note {
      font-size: 13px; color: #666;
    }

      /* Auth gate modal */
  .auth-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    display: none; z-index: 9999; align-items: center; justify-content: center;
  }
  .auth-card {
    background: #fff; color:#111; width: 100%; max-width: 420px;
    border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    padding: 20px;
  }
  .auth-card h2 { margin: 0 0 12px; }
  .auth-card p { margin: 0 0 16px; color:#444; }
  .auth-row { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
  .auth-row label { font-size: 14px; color:#222; }
  .auth-row input {
    width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:10px; font-size:15px;
  }
  .auth-actions { display:flex; gap:10px; margin-top:8px; align-items:center; }
  .auth-btn {
    background:#111; color:#fff; border:0; border-radius:10px; padding:10px 14px; cursor:pointer;
  }
  .auth-btn.secondary { background:#e5e7eb; color:#111; }
  .auth-error { color:#ef4444; font-size: 14px; min-height: 18px; margin-top: 6px; }
  .signed-in-hint { display:none; font-size:13px; color:#666; margin: 8px 0 0; }
  .link-button { background:none; border:0; padding:0; color:#2563eb; cursor:pointer; font: inherit; }
  /* Hide protected area until authed (as a safety belt if JS runs late) */
  .protected-hidden { visibility:hidden; }

          .preset-group {
            grid-column: 1 / -1;
            margin-bottom: 16px;
            padding: 16px;
            background: #f8fafc;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }
        
        .preset-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 8px;
            margin-top: 12px;
        }
        
        .preset-btn {
            padding: 8px 12px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            background: white;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .preset-btn:hover {
            background: #f3f4f6;
            border-color: #9ca3af;
        }
        
        .preset-btn.active {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }
        
        .label-description {
            font-size: 12px;
            color: #6b7280;
            margin-bottom: 8px;
            font-weight: 400;
        }
        
        #filterError {
            color: #ef4444;
            font-size: 14px;
            margin-top: 12px;
            display: none;
        }
        
        @media (max-width: 640px) {
            .preset-buttons {
                grid-template-columns: 1fr 1fr;
            }
        }