        :root {
            --bg-dark: #0f172a;
            --card-bg: #1e293b;
            --primary: #f59e0b; /* Amber/Gold */
            --secondary: #d97706;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: 'Segoe UI', system-ui, sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
        }

        /* --- NAVIGATION --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 40px;
            background: rgba(30, 41, 59, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #334155;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 800;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links a {
            background: transparent;
            border: 1px solid #334155;
            color: var(--text-muted);
            padding: 8px 16px;
            border-radius: 8px;
            margin-left: 10px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            font-size: 0.9rem;
        }

        .nav-links a:hover { background: #334155; color: white; border-color: var(--primary); }
        .nav-links a.active { background: var(--primary); color: white; border: none; }

        @media (max-width: 600px) {
            .navbar { flex-direction: column; gap: 15px; padding: 15px 20px; }
            .nav-links { width: 100%; display: flex; justify-content: center; gap: 10px; }
            .nav-links a { margin: 0; flex: 1; text-align: center; }
        }

        /* --- MAIN LAYOUT --- */
        .main-container {
            display: grid;
            grid-template-columns: 1fr 1fr; 
            gap: 2rem;
            max-width: 1000px;
            margin: 40px auto;
            padding: 0 20px;
        }

        @media (max-width: 800px) {
            .main-container { grid-template-columns: 1fr; }
        }

        /* --- LEFT COLUMN: INPUT --- */
        .input-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid #334155;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            height: fit-content;
            /* Sticky on Desktop */
            position: sticky;
            top: 100px;
        }
        
        /* Mobile Fix: Disable sticky on small screens so it doesn't block view */
        @media (max-width: 800px) {
            .input-card { position: static; } 
        }

        textarea {
            width: 100%;
            background: #0f172a;
            border: 2px solid #334155;
            border-radius: 12px;
            padding: 15px;
            color: white;
            font-size: 1.1rem;
            height: 120px;
            box-sizing: border-box;
            outline: none;
            margin: 15px 0;
            resize: none;
            transition: border-color 0.3s;
        }
        textarea:focus { border-color: var(--primary); }

        /* --- NEW: INFO CARDS (How it helps) --- */
        .info-card {
            display: flex; gap: 15px; margin-top: 15px;
            background: rgba(255,255,255,0.03); padding: 15px; border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .info-icon { 
            font-size: 1.5rem; background: #334155; width: 40px; height: 40px; 
            display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; 
        }
        .info-content h4 { margin: 0 0 5px 0; font-size: 0.95rem; color: #fff; }
        .info-content p { margin: 0; font-size: 0.85rem; color: #94a3b8; line-height: 1.4; }

        /* --- RIGHT COLUMN: FONTS LIST --- */
        .fonts-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .font-card {
            background: #252e42;
            padding: 15px 20px;
            border-radius: 12px;
            border: 1px solid #334155;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }

        .font-card:hover {
            background: #334155;
            transform: translateX(5px);
            border-color: var(--primary);
        }

        .font-preview {
            font-size: 1.1rem;
            color: white;
            word-break: break-word;
            margin-right: 15px;
        }

        .copy-btn {
            background: rgba(245, 158, 11, 0.1);
            color: var(--primary);
            border: 1px solid var(--primary);
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: bold;
            white-space: nowrap;
        }

        /* Toast Notification */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: bold;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            z-index: 1000;
        }
        .toast.show { opacity: 1; }

 /* Desktop Links */
        /* --- NAVBAR LINKS FIX --- */
        .nav-menu {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        /* Targeted specifically to make text visible */
        .nav-menu a {
            color: #e2e8f0 !important; /* Forces bright color */
            text-decoration: none;     /* Removes underline */
            font-size: 0.95rem;
            font-weight: 600;
            transition: all 0.3s;
            padding: 8px 12px;
            border-radius: 8px;
            opacity: 0.9;
        }

        .nav-menu a:hover {
            color: #ffffff !important; /* Pure white on hover */
            background: rgba(255, 255, 255, 0.1);
            opacity: 1;
            transform: translateY(-1px);
        }

     /* --- HAMBURGER ICON --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000; /* CRITICAL: Forces icon ABOVE the menu overlay */
    position: relative; 
    width: 30px;
    height: 20px;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
    border-radius: 3px;
}

/* --- MOBILE MENU FIX --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    /* 1. Hide Middle Bar */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    /* 2. Rotate Top Bar (X) */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #ec4899; /* Turns Pink when open */
    }

    /* 3. Rotate Bottom Bar (X) */
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #ec4899; /* Turns Pink when open */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98); /* Dark solid background */
        width: 100%;
        height: 100vh; /* Full screen height */
        text-align: center;
        transition: 0.3s ease-in-out;
        padding-top: 100px; /* Pushes links down below the X */
        z-index: 1500; /* Lower than hamburger (2000) */
        box-shadow: none;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: block;
        padding: 20px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        color: white !important;
    }
}

/* --- FOOTER STYLES --- */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle top line */
    background-color: rgba(15, 23, 42, 0.4); /* Slight background tint */
}

footer p {
    color: #94a3b8; /* Muted text color */
    font-size: 0.9rem;
    margin: 0 0 15px 0; /* Space between copyright and links */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px; /* Space between each link */
    flex-wrap: wrap; /* Allows links to wrap on very small screens */
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white; /* Brighten on hover */
    text-decoration: underline;
}

/* Mobile Tweak: Stack links closer if needed */
@media (max-width: 600px) {
    .footer-links {
        gap: 15px;
        font-size: 0.85rem;
    }
}

/* ================= FONT SEO ================= */

.font-seo-section {
  margin: 80px 0 60px;
  padding: 0 20px;
}

.font-seo-box {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 40px 36px;
}

.font-viral-heading {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(to right, #8b5cf6, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-seo-box h2 {
  font-size: 26px;
  margin-top: 32px;
  margin-bottom: 14px;
}

.font-seo-box h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.font-seo-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #d1d5db;
}

/* --- ANIMATED GOLDEN HEADING --- */
.font-viral-heading {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 40px 0 20px 0;
    line-height: 1.2;
    min-height: 3.4rem; /* Prevents page jumping when font size changes slightly */
    
    /* Golden Gradient */
    background: linear-gradient(to right, #f59e0b, #fbbf24, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    letter-spacing: -1px;
    transition: opacity 0.3s ease; /* Smooth fade effect */
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .font-viral-heading {
        font-size: 2rem;
        min-height: 2.4rem;
    }
}
/* ================= FAQ SECTION ================= */

.faq-section {
  max-width: 900px;
  margin: 120px auto 80px;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #ffffff;
}

/* FAQ ITEM */
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* QUESTION */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* PLUS ICON */
.faq-question .icon {
  font-size: 26px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: #d1d5db;
  line-height: 1.6;
  font-size: 16px;
}

/* OPEN STATE */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .icon {
  transform: rotate(45deg); /* + becomes × */
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 600px) {
  .seo-container {
    padding: 28px 22px;
  }

  .seo-container h2 {
    font-size: 24px;
  }

  .faq-title {
    font-size: 26px;
  }

  .faq-question {
    font-size: 16px;
    padding: 18px 20px;
  }

  .faq-answer p {
    font-size: 15px;
  }
}
