/* Base styles and CSS variables */
:root {
    --primary-color: #6366f1;
    --primary-color-rgb: 99, 102, 241;
    --primary-dark: #4f46e5;
    --secondary-color: #f97316;
    --secondary-color-rgb: 249, 115, 22;
    --text-color: #27272a;
    --text-light: #71717a;
    --bg-color: #ffffff;
    --bg-light: #f4f4f5;
    --card-bg: #ffffff;
    --border-color: #e4e4e7;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
    --container-max: 1280px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Dark mode theme */
.dark-mode {
    --primary-color: #818cf8;
    --primary-color-rgb: 129, 140, 248;
    --primary-dark: #6366f1;
    --secondary-color: #fb923c;
    --secondary-color-rgb: 251, 146, 60;
    --text-color: #f4f4f5;
    --text-light: #a1a1aa;
    --bg-color: #18181b;
    --bg-light: #27272a;
    --card-bg: #27272a;
    --border-color: #3f3f46;
}

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button {
    cursor: pointer;
    font-family: inherit;
}

input,
select,
textarea,
button {
    font: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header styles */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav a.active,
nav a:hover {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

.sun-icon,
.dark-mode .moon-icon {
    display: block;
}

.moon-icon,
.dark-mode .sun-icon {
    display: none;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #d5d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), #7c3aed);
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

/* Animated Background Elements */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.blob-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 2;
    overflow: hidden;
}

.blob-animation::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: blob-move 15s infinite alternate ease-in-out;
    filter: blur(15px);
}

.blob-animation::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(176, 154, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 73% 27% 59% 41% / 57% 43% 57% 43%;
    animation: blob-move-2 20s infinite alternate-reverse ease-in-out;
    filter: blur(15px);
}

@keyframes blob-move {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    50% {
        transform: translate(10%, 5%) scale(1.1) rotate(180deg);
        border-radius: 73% 27% 59% 41% / 57% 43% 57% 43%;
    }

    100% {
        transform: translate(-5%, -10%) scale(0.95) rotate(360deg);
        border-radius: 30% 70% 33% 67% / 31% 30% 70% 69%;
    }
}

@keyframes blob-move-2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 73% 27% 59% 41% / 57% 43% 57% 43%;
    }

    50% {
        transform: translate(-10%, 10%) scale(1.15) rotate(-180deg);
        border-radius: 30% 70% 33% 67% / 31% 30% 70% 69%;
    }

    100% {
        transform: translate(10%, -15%) scale(0.9) rotate(-360deg);
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

/* Particles Animation */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 4%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 4%),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 2%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%),
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 2%),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%),
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 2%),
        radial-gradient(circle at 20% 60%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%);
    animation: particles-float 60s infinite linear;
}

@keyframes particles-float {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 20% 10%;
    }

    50% {
        background-position: 10% 20%;
    }

    75% {
        background-position: -10% 10%;
    }

    100% {
        background-position: 0% 0%;
    }
}

/* Floating Letters Animation */
.floating-letters {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.floating-letters span {
    position: absolute;
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    user-select: none;
    transform-origin: center;
    animation: float-up 20s linear infinite;
}

.floating-letters span:nth-child(1) {
    left: 10%;
    top: 100%;
    animation-delay: 0s;
    font-family: 'Times New Roman', serif;
    font-size: 4rem;
}

.floating-letters span:nth-child(2) {
    left: 25%;
    top: 100%;
    animation-delay: 3s;
    font-family: Arial, sans-serif;
    font-size: 3.5rem;
}

.floating-letters span:nth-child(3) {
    left: 40%;
    top: 100%;
    animation-delay: 6s;
    font-family: 'Courier New', monospace;
    font-size: 5rem;
}

.floating-letters span:nth-child(4) {
    left: 55%;
    top: 100%;
    animation-delay: 4s;
    font-family: 'Arial Unicode MS', sans-serif;
    font-size: 4.5rem;
}

.floating-letters span:nth-child(5) {
    left: 70%;
    top: 100%;
    animation-delay: 7s;
    font-family: 'SimSun', sans-serif;
    font-size: 3rem;
}

.floating-letters span:nth-child(6) {
    left: 85%;
    top: 100%;
    animation-delay: 2s;
    font-family: 'Latha', sans-serif;
    font-size: 3.7rem;
}

.floating-letters span:nth-child(7) {
    left: 15%;
    top: 100%;
    animation-delay: 8s;
    font-family: 'Georgia', serif;
    font-size: 4.2rem;
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Animated Gradient */
.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(99, 102, 241, 0.5) 0%,
            rgba(79, 70, 229, 0.4) 25%,
            rgba(67, 56, 202, 0.3) 50%,
            rgba(124, 58, 237, 0.5) 75%,
            rgba(139, 92, 246, 0.4) 100%);
    background-size: 400% 400%;
    z-index: 1;
    animation: gradient-shift 15s ease infinite;
    mix-blend-mode: overlay;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animation classes */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 0.8s forwards 0.2s;
}

.animate-text-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 0.8s forwards 0.5s;
}

@keyframes fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controls panel section */
.controls-panel {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 65px;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    transition: var(--transition);
}

.control-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.search-container,
.language-switch {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.search-container label,
.language-switch label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

select {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Font pair display section */
.font-pair-display {
    padding: 3rem 0;
}

.pair-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.font-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition);
}

.font-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.font-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.75rem;
}

.preview-box {
    width: 100%;
    height: 200px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    position: relative;
    overflow: auto;
}

.preview-box textarea {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    resize: none;
    color: var(--text-color);
    outline: none;
}

.heading-preview textarea {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
}

.body-preview textarea {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.card-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.control-group label {
    width: 120px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.control-group input[type="range"] {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.control-group span {
    width: 40px;
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-light);
}

.align-control {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.align-btn {
    flex: 1;
    padding: 0.375rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    transition: var(--transition);
}

.align-btn:hover {
    background-color: var(--border-color);
}

.align-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.copy-btn {
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.copy-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.font-link {
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
}

.font-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.action-btn {
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Ad section */
.ad-section {
    padding: 2rem 0;
    background-color: var(--bg-light);
}

.ad-container {
    max-width: 800px;
    margin: 0 auto;
}

.ad-banner {
    width: 100%;
    min-height: 100px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--card-bg);
}

.ad-banner p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.placeholder-ad {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

/* Trending section */
.trending-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    display: block;
    z-index: 1;
}

.trending-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.trending-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.trending-section .container {
    position: relative;
    z-index: 1;
}

.trending-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.trending-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    min-height: 100px;
    position: relative;
    z-index: 2;
}

.trending-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: var(--card-bg);
}

.trending-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.trending-card .card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trending-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-badge[data-tag="trending"] {
    background-color: #fee2e2;
    color: #ef4444;
}

.tag-badge[data-tag="elegant"] {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.tag-badge[data-tag="modern"] {
    background-color: #dbeafe;
    color: #3b82f6;
}

.tag-badge[data-tag="web-friendly"] {
    background-color: #dcfce7;
    color: #16a34a;
}

.tag-badge[data-tag="indian"] {
    background-color: #fef3c7;
    color: #d97706;
}

.tag-badge[data-tag="script"] {
    background-color: #f5d0fe;
    color: #c026d3;
}

.tag-badge[data-tag="contrast"] {
    background-color: #fae8ff;
    color: #a855f7;
}

.tag-badge[data-tag="multilingual"] {
    background-color: #ffedd5;
    color: #f97316;
}

.tag-badge[data-tag="clean"] {
    background-color: #f3f4f6;
    color: #4b5563;
}

.tag-badge[data-tag="versatile"] {
    background-color: #d1fae5;
    color: #10b981;
}

.trending-preview {
    padding: 1.5rem;
    background-color: var(--card-bg);
}

.trending-heading {
    margin-bottom: 0.75rem;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trending-heading::after {
    content: attr(data-font);
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-left: 0.5rem;
    white-space: nowrap;
}

.trending-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.trending-body::after {
    content: attr(data-font);
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-top: 0.75rem;
    width: fit-content;
}

.font-pair-name {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.font-pair-name .font-plus {
    margin: 0 0.75rem;
    color: var(--text-light);
    font-weight: 300;
}

.font-name-badge {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--bg-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.trending-card .card-footer {
    padding: 1.25rem 1.5rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.use-trending-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.use-trending-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.use-trending-btn::after {
    content: '→';
    transition: transform 0.2s ease;
}

.use-trending-btn:hover::after {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }

    .trending-section h2 {
        font-size: 2rem;
    }

    .trending-heading {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .trending-section h2 {
        font-size: 1.75rem;
    }

    .trending-preview {
        padding: 1.25rem;
    }

    .trending-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trending-heading::after {
        margin-left: 0;
    }

    .font-pair-name {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .font-pair-name .font-plus {
        margin: 0;
    }
}

/* Tips section */
.tips-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.tips-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tip-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tip-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tip-card p {
    color: var(--text-color);
    font-size: 0.9375rem;
}

.affiliate-section {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.affiliate-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.affiliate-box {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.affiliate-box p {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.affiliate-link {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.affiliate-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Favorites section */
.favorites-section {
    padding: 4rem 0;
}

.favorites-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.empty-favorites {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--text-light);
    margin-bottom: 2rem;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.favorites-controls {
    display: flex;
    justify-content: center;
}

/* Footer */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #2b2d42 0%, #121420 100%);
    color: #f8f9facc;
    padding: 0;
    margin-top: 5rem;
    overflow: hidden;
}

.footer-wave-container {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 C320,100 420,0 740,50 C1060,100 1380,20 1440,30 L1440,120 L0,120 Z" fill="%232b2d42"/></svg>') repeat-x;
    background-size: 1440px 120px;
    animation: wave-animation 20s linear infinite;
}

.footer-wave-2 {
    bottom: 0;
    opacity: 0.6;
    animation: wave-animation 15s linear infinite;
    animation-delay: -5s;
}

.footer-wave-3 {
    bottom: 0;
    opacity: 0.4;
    animation: wave-animation 30s linear infinite;
    animation-delay: -2s;
}

@keyframes wave-animation {
    0% {
        background-position: 0 bottom;
    }

    100% {
        background-position: 1440px bottom;
    }
}

.footer-content-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    animation: logo-shimmer 3s ease-in-out infinite;
}

@keyframes logo-shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer-tagline {
    color: #f8f9fa99;
    font-size: 1rem;
    max-width: 300px;
}

.powered-by {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.powered-by a {
    background: linear-gradient(to right, #f97316, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.powered-by a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #f97316, #ec4899);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.powered-by a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #f8f9fa;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Icon positioning for Font Awesome */
.social-icon .fab {
    position: relative;
    z-index: 2;
}

.social-icon .fa-facebook-f {
    /* Facebook icon is narrower so needs minor adjustment */
    margin-left: 2px;
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
    transform: scale(0);
}

/* Custom colored backgrounds for each social platform */
.social-icon[aria-label="Facebook"]::before {
    background: linear-gradient(45deg, #3b5998, #0078ff);
}

.social-icon[aria-label="Instagram"]::before {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-icon[aria-label="GitHub"]::before {
    background: linear-gradient(45deg, #333333, #5c5c5c);
}

.social-icon[aria-label="WhatsApp"]::before {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-icon:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-hover {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icon:hover .social-hover {
    transform: scale(1.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-modern {
    font-size: 0.9rem;
    opacity: 0.8;
}

.developer-credit {
    font-size: 0.9rem;
    opacity: 0.8;
}

.heart-pulse {
    display: inline-block;
    animation: heart-beat 1.3s ease infinite;
}

@keyframes heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.3);
    }
}

.developer-name {
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.developer-name::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #4f46e5, #7c3aed);
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-content-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

/* Remove old footer styles */
footer {
    margin-top: 0;
}

.footer-content {
    display: none;
}

.copyright {
    display: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .pair-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .controls-grid {
        grid-template-columns: 1fr;
    }

    .controls-panel {
        position: static;
    }

    .tips-grid,
    .trending-grid,
    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .font-controls {
        grid-template-columns: 1fr;
    }

    .control-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .control-group input[type="range"] {
        width: 100%;
    }

    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .copy-btn {
        width: 100%;
    }
}

/* Error message for debugging */
.error-message {
    padding: 1.5rem;
    background-color: #fee2e2;
    color: #b91c1c;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
}

/* About This Tool Section */
.about-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(var(--primary-color-rgb), 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    z-index: 1;
    display: block;
    visibility: visible;
    margin: 2rem 0;
}

.about-wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.about-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%236366f1" fill-opacity="0.1" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: -1;
}

.about-wave-2 {
    top: -50px;
    height: 75px;
    animation: wave-animation 12s linear infinite alternate;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23f97316" fill-opacity="0.1" d="M0,160L48,170.7C96,181,192,203,288,213.3C384,224,480,224,576,213.3C672,203,768,181,864,186.7C960,192,1056,224,1152,213.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-header .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* About Intro */
.about-intro {
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    color: rgba(var(--primary-color-rgb), 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.about-intro-text {
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-intro-text:last-child {
    margin-bottom: 0;
}

/* About Features */
.about-features {
    margin-bottom: 5rem;
}

.features-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.about-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.about-card h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Audience Section */
.about-audience {
    margin-bottom: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--secondary-color-rgb), 0.05) 100%);
    border-radius: var(--radius-lg);
    position: relative;
}

.audience-content h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.audience-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(var(--primary-color-rgb), 0.2);
}

.audience-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.audience-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Cases Section */
.about-use-cases {
    margin-bottom: 4rem;
}

.about-use-cases h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.use-case-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--primary-color-rgb), 0.1) 100%);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.use-case-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
    transition: var(--transition);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.use-case-card h4 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

/* About Conclusion */
.about-conclusion {
    text-align: center;
    margin-bottom: 3rem;
}

.about-conclusion p {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    color: var(--text-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--secondary-color-rgb), 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--secondary-color);
}

/* CTA Section */
.about-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--secondary-color-rgb), 0.05) 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.about-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-cta .cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-cta .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
}

.about-cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.about-cta .cta-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .about-header h2 {
        font-size: 2.25rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .audience-cards {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .use-case-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .about-audience {
        padding: 2rem 1.5rem;
    }

    .about-cta {
        padding: 2rem 1.5rem;
    }

    .about-cta h3 {
        font-size: 1.75rem;
    }

    .about-conclusion p {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 4rem 0;
    }

    .about-header h2 {
        font-size: 1.75rem;
    }

    .about-header .section-subtitle {
        font-size: 1.1rem;
    }

    .about-intro {
        padding: 1.5rem;
    }

    .about-intro-text {
        font-size: 1rem;
    }

    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-card h3 {
        font-size: 1.1rem;
    }

    .audience-cards {
        grid-template-columns: 1fr;
    }

    .use-case-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-conclusion p {
        font-size: 1rem;
        padding: 1rem;
    }

    .about-cta h3 {
        font-size: 1.5rem;
    }

    .about-cta p {
        font-size: 1rem;
    }

    .about-cta .cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}