/* ===================================
   Konnect Support - Global Styles
   Minimalist Black/White Theme
   =================================== */

/* CSS Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --accent-primary: #1a73e8;
    --accent-secondary: #1967d2;
    --accent-hover: #185abc;
    --border-color: #dadce0;
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-md: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --shadow-lg: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --transition: all 0.2s ease;

    /* Info Box Colors */
    --info-bg: #e3f2fd;
    --info-border: #2196f3;
    --warning-bg: #fff3e0;
    --warning-border: #ff9800;
    --success-bg: #e8f5e9;
    --success-border: #4caf50;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #202124;
    --bg-secondary: #292a2d;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --text-light: #80868b;
    --border-color: #3c4043;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.3), 0 1px 3px 1px rgba(0,0,0,0.15);
    --shadow-md: 0 1px 3px 0 rgba(0,0,0,0.3), 0 4px 8px 3px rgba(0,0,0,0.15);
    --shadow-lg: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);

    /* Info Box Dark Colors */
    --info-bg: rgba(33, 150, 243, 0.15);
    --info-border: #64b5f6;
    --warning-bg: rgba(255, 152, 0, 0.15);
    --warning-border: #ffb74d;
    --success-bg: rgba(76, 175, 80, 0.15);
    --success-border: #81c784;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: clamp(15px, 1.1vw, 16px);
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.container {
    max-width: min(1200px, 100% - 2rem);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

/* Header & Navigation */
.header {
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: clamp(28px, 5vw, 32px);
    width: auto;
    margin-right: clamp(8px, 2vw, 10px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* Hero Section */
.hero {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: clamp(2rem, 6vw, 4rem) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-weight: 400;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
    color: var(--text-secondary);
    font-weight: 400;
}

/* Search Bar */
.search-container {
    max-width: min(650px, 100%);
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: clamp(0.75rem, 2.5vw, 0.875rem) clamp(2.5rem, 6vw, 3.5rem) clamp(0.75rem, 2.5vw, 0.875rem) clamp(1rem, 3vw, 1rem);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    box-shadow: none;
    transition: all 0.2s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(32,33,36,0.28);
    transform: scale(1.01);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: 50%;
    width: clamp(36px, 6vw, 40px);
    height: clamp(36px, 6vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    pointer-events: auto;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: rgba(0,0,0,0.04);
}

.search-btn svg {
    flex-shrink: 0;
    pointer-events: none;
}

/* Search Results Dropdown */
#searchResults {
    animation: slideDown 0.2s ease-out;
}

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

#searchResults::-webkit-scrollbar {
    width: 8px;
}

#searchResults::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

#searchResults::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

#searchResults::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Sections */
.quick-links,
.faq-preview,
.cta {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.card {
    background-color: var(--bg-primary);
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-align: left;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

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

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.card-icon {
    font-size: clamp(1.75rem, 3vw, 2rem);
    margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
    color: var(--text-secondary);
}

.card-title {
    color: var(--text-primary);
    margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
}

.card-description {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 0.95rem);
}

/* Browse Topics */
.browse-topics {
    margin-top: 4rem;
    text-align: center;
}

.browse-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1rem);
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.topic-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.4rem, 2vw, 0.5rem);
    padding: clamp(0.5rem, 2vw, 0.625rem) clamp(0.75rem, 3vw, 1rem);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: clamp(0.8rem, 2.5vw, 0.875rem);
    font-weight: 400;
    transition: var(--transition);
    box-shadow: none;
    min-height: 44px;
}

.topic-link:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--text-secondary);
    transform: none;
    box-shadow: none;
}

.topic-link svg {
    flex-shrink: 0;
}

.topic-link:hover svg {
    stroke: white;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-primary);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.4s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-secondary);
    padding-left: 1.75rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-no-results {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
}

/* Call to Action */
.cta {
    background-color: var(--bg-primary);
    text-align: center;
    margin-bottom: 0;
}

.cta-title {
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(60,64,67,0.3), 0 2px 6px 2px rgba(60,64,67,0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(60,64,67,0.3);
}

.btn-secondary {
    background-color: var(--accent-secondary);
    color: white;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #3fd4b0;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(60,64,67,0.2);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.3);
}

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

/* Footer */
.footer {
    background-color: var(--bg-primary);
    padding: 2.5rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.social-icons a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px) scale(1.1);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.app-badge {
    display: inline-block;
    transition: var(--transition);
}

.app-badge:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.app-badge img {
    display: block;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-right {
    text-align: right;
}

.theme-toggle {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-toggle:hover svg {
    stroke: white;
}

.theme-toggle svg {
    transition: var(--transition);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    transform: translateY(-2px);
}

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

.form-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
    border-color: #e74c3c;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-success.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

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

    .nav-menu li {
        padding: 1rem 0;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .search-container {
        flex-direction: row;
    }

    .search-input {
        font-size: 0.95rem;
        padding-right: 3.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.75rem;
    }

    .browse-topics {
        margin-top: 3rem;
    }

    .browse-title {
        font-size: 1.15rem;
    }

    .topics-list {
        gap: 0.75rem;
    }

    .topic-link {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }

    .faq-list {
        padding: 0 10px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .app-buttons {
        justify-content: center;
        align-items: center;
    }

    .app-badge img {
        height: 40px !important;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
}

/* Large Phones - 6.8-6.9 inch displays (480px to 768px) */
@media (max-width: 767px) and (min-width: 481px) {
    .search-input {
        padding-right: 3.5rem !important;
    }
    
    .search-btn {
        right: 0.625rem;
        width: 40px;
        height: 40px;
        z-index: 20;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.75rem 3rem 0.75rem 1rem !important;
    }

    .search-btn {
        width: 40px;
        height: 40px;
        right: 0.5rem;
        z-index: 20;
    }

    .quick-links,
    .faq-preview,
    .cta {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .browse-topics {
        margin-top: 2.5rem;
    }

    .browse-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .topics-list {
        gap: 0.6rem;
    }

    .topic-link {
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
        gap: 0.4rem;
    }

    .topic-link svg {
        width: 14px;
        height: 14px;
    }

    .faq-list {
        padding: 0;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }

    .cta {
        padding: 2.5rem 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 0 1rem;
        margin-top: 1.25rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .app-buttons {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .app-badge img {
        height: 38px !important;
    }

    .social-icons {
        gap: 0.75rem;
    }

    .social-icons svg {
        width: 20px;
        height: 20px;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .search-container {
        flex-direction: row;
    }

    .search-input {
        width: 100%;
        padding-right: 1rem !important;
    }

    .search-btn {
        display: none;
    }

    .topic-link {
        font-size: 0.8rem;
        padding: 0.55rem 0.8rem;
    }

    .app-badge img {
        height: 35px !important;
    }
}