@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    /* Premium Light Theme (Glassmorphic Slate) */
    --bg-color: #f1f5f9;
    --text-color: #0f172a;
    --text-muted: #475569;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 255, 255, 0.6);
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.15);
    --secondary-color: #6366f1;
    --accent-color: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --border-color: #cbd5e1;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --shadow-hover: 0 16px 48px 0 rgba(31, 38, 135, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
    /* Premium Dark Theme (Deep Space Sapphire) */
    --bg-color: #080d16;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(19, 28, 49, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.3);
    --secondary-color: #818cf8;
    --accent-color: #34d399;
    --accent-glow: rgba(52, 211, 153, 0.3);
    --border-color: #1e293b;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-hover: 0 16px 48px 0 rgba(59, 130, 246, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient glow blobs */
body::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
body::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

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

.text-center { text-align: center; }

/* Navbar styles */
.navbar {
    background-color: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.logo img {
    height: 38px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(6deg) scale(1.05);
}

.logo span {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.05);
}

#theme-toggle {
    background: var(--card-border);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 0 12px var(--primary-glow);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: radial-gradient(120% 120% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-color);
}

.hero-social .social-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

/* Premium Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.search-bar {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 99px;
    padding: 4px;
    box-shadow: var(--shadow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-bar input {
    flex: 1;
    padding: 0.9rem 1.6rem;
    border: none;
    outline: none;
    font-size: 1.05rem;
    background: transparent;
    color: var(--text-color);
    font-family: inherit;
}

.search-bar input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.search-bar button {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.search-bar button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Dynamic Search Suggestions Panel */
.search-suggestions-drawer {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 1.5rem;
    z-index: 999;
    max-height: 450px;
    overflow-y: auto;
    text-align: left;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-suggestions-drawer.active {
    display: block;
}

.suggestion-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.suggestion-results-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: rgba(59, 130, 246, 0.08);
}

.suggestion-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.suggestion-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

.aggregated-answers-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.web-answer-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

.web-answer-card p {
    margin-bottom: 0.5rem;
}

.web-answer-source {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Category Filters */
.category-filters {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Main Content layout */
.main-content {
    flex: 1;
    padding: 4rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 99px;
    margin: 0.75rem auto 0;
}

/* Tools Grid Layout & Premium Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.tool-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.tool-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    background: rgba(59, 130, 246, 0.06);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(59, 130, 246, 0.12);
    color: var(--secondary-color);
}

.tool-card h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer Section */
.footer {
    background-color: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--card-border);
    padding: 5rem 0 1.5rem;
    margin-top: auto;
    position: relative;
    box-shadow: 0 -8px 32px 0 rgba(31, 38, 135, 0.02);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h4, .footer-links h4, .footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-color);
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.social-btn.tiktok:hover { background: #000000; border-color: #000; }
.social-btn.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); border-color: transparent; }
.social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }
.social-btn.pinterest:hover { background: #bd081c; border-color: #bd081c; }
.social-btn.reddit:hover { background: #ff4500; border-color: #ff4500; }
.social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-btn.quora:hover { background: #a82400; border-color: #a82400; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom strong {
    color: var(--text-color);
}

/* Tool Interface Overhaul & UI/UX Separation */
.tool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tool-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.tool-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tool-interface {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 850px;
    margin: 0 auto 4rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.tool-interface:focus-within {
    box-shadow: var(--shadow-hover);
}

/* Elegant Input Tabs */
.input-tabs {
    display: flex;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--card-bg);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

/* Elite Drag & Drop File Container */
.drop-zone {
    width: 100%;
    min-height: 220px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.02);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.drop-zone:hover, .drop-zone.drag-over {
    background: rgba(59, 130, 246, 0.06);
    border-color: var(--secondary-color);
    transform: scale(1.005);
    box-shadow: 0 0 20px var(--primary-glow);
}

.drop-zone i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.drop-zone:hover i {
    transform: translateY(-5px);
}

.drop-zone p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.drop-zone p span {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.file-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    width: 100%;
}

.file-preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.6rem;
    position: relative;
    box-shadow: var(--shadow);
    animation: fadeIn 0.3s ease;
}

.file-preview-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.file-preview-card .file-icon-placeholder {
    height: 90px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.file-preview-card .file-info {
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.file-preview-card .remove-file {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    transition: transform 0.2s ease;
}

.file-preview-card .remove-file:hover {
    transform: scale(1.1);
}

/* Beautiful Controls & Inputs */
.tool-options {
    margin: 2rem 0;
}

.tool-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.option-group input[type="number"],
.option-group input[type="text"],
.option-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.option-group input:focus, .option-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.btn-primary:disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Distinct Glowing Output Panel */
#output-section {
    margin-top: 3rem;
    border-top: 2px dashed var(--accent-color);
    padding-top: 2.5rem;
    animation: slideUp 0.4s ease;
}

.output-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.output-container-box {
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    box-shadow: 0 0 25px var(--accent-glow);
    overflow: hidden;
    background: var(--bg-color);
}

.output-container-box textarea {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Action outputs buttons */
.output-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

/* GDPR Consent Banner styles */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.cookie-banner.active {
    bottom: 20px;
}

.cookie-banner h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    transition: background-color 0.2s ease;
}

.btn-cookie-accept:hover {
    background: var(--secondary-color);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s ease;
}

.btn-cookie-decline:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-color);
}

/* 10-Second Transition Circular Glass Screen */
.delay-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 13, 22, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

.delay-overlay.active {
    display: flex;
}

/* Inline video ad container shown during conversion countdown */
.video-ad-container {
    margin: 1.5rem auto 1rem;
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    display: none;
}

.delay-overlay.active .video-ad-container {
    display: block;
}

.video-ad-container video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

.video-ad-container .ad-caption {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.78);
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.circular-loader-box {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-loader-svg {
    transform: rotate(-90deg);
    width: 150px;
    height: 150px;
}

.circular-loader-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.circular-loader-bar {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1s linear;
}

.timer-digits {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
}

.delay-overlay h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.delay-overlay p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}

/* Static compliance page styling */
.static-page-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    text-align: left;
}

.static-page-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.static-page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--primary-color);
}

.static-page-content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* SEO Content Guide */
.seo-content {
    max-width: 850px;
    margin: 5rem auto 0;
    text-align: left;
    line-height: 1.8;
}

.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 3.5rem 0 1.5rem;
}

.seo-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.seo-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.seo-content ul, .seo-content ol {
    margin-left: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.seo-content li {
    margin-bottom: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Global SEO Australia info block */
.global-seo-content {
    margin-top: 6rem;
    padding: 4rem;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
}

.global-seo-content h2 {
    font-family: var(--font-heading);
}

.global-seo-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.global-seo-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .container { width: 92%; }
    .hero h1 { font-size: 2.6rem; }
    .static-page-content { padding: 3rem; }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 0; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-color);
        gap: 1rem;
        z-index: 1001;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .category-filters {
        overflow-x: auto;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .category-filters::-webkit-scrollbar { display: none; }
    .filter-btn { flex: 0 0 auto; }
    .tools-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .tool-interface { padding: 1.5rem; }
    .static-page-content { padding: 1.5rem; border-radius: 12px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-social-grid { justify-content: center; }
    .cookie-banner { left: 10px; right: 10px; }
}
