/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --white: #ffffff;
    --black: #000000;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius);
}

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

.logo-au {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--gray-50);
    padding: 0.75rem 0;
    margin-top: 70px;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-600);
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list li:last-child {
    color: var(--gray-900);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Intro Section */
.intro-section {
    padding: 4rem 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-content p {
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* Tool Section */
.tool-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.tool-section.tool-hero {
    padding: calc(70px + 3rem) 0 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.tool-section.tool-hero h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.tool-section.tool-hero .section-intro {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.tool-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-intro {
    text-align: center;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.tool-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.tool-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#text-input {
    width: 100%;
    min-height: 350px;
    padding: 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}

#text-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#text-input::placeholder {
    color: var(--gray-400);
}

.tool-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stats-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.stats-panel h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
}

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

.stat-card {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-name {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.density-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.density-section h4 {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.keyword-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.keyword-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.keyword-word {
    color: var(--gray-700);
    font-weight: 500;
}

.keyword-count {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

.keyword-bar {
    flex-grow: 1;
    height: 4px;
    background: var(--gray-200);
    margin: 0 0.75rem;
    border-radius: 2px;
    overflow: hidden;
}

.keyword-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.placeholder-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    font-style: italic;
}

/* Guide Section */
.guide-section {
    padding: 4rem 0;
    background: var(--white);
}

.guide-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 2.5rem;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-steps {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.guide-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
}

.step-content h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.guide-faq {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.guide-faq h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.feature-card h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Guidelines Section */
.guidelines-section {
    padding: 4rem 0;
    background: var(--white);
}

.guidelines-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.guidelines-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.guidelines-table th,
.guidelines-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.guidelines-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
}

.guidelines-table td {
    color: var(--gray-600);
}

.guidelines-table tbody tr:hover {
    background: var(--gray-50);
}

/* Latest Articles Section */
.latest-articles {
    padding: 4rem 0;
    background: var(--gray-50);
}

.latest-articles h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.article-content h3 a {
    color: var(--gray-900);
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-content > p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.articles-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    text-align: left;
    background: var(--white);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--gray-500);
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer.open {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* SEO Section */
.seo-section {
    padding: 4rem 0;
    background: var(--white);
}

.seo-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1rem;
}

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

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content (for inner pages) */
.page-content {
    padding: 4rem 0;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
}

.page-content h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin: 1.5rem 0 0.75rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.page-content ul,
.page-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.page-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* Blog Index */
.blog-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.blog-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 4rem 0;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-card-content h2 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-content h2 a {
    color: var(--gray-900);
    text-decoration: none;
}

.blog-card-content h2 a:hover {
    color: var(--primary);
}

.blog-card-content > p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Blog Post */
.blog-post {
    padding: 4rem 0;
}

.blog-post .container {
    max-width: 800px;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-post-header .article-category {
    margin-bottom: 1rem;
}

.blog-post-header h1 {
    font-size: 2.25rem;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.blog-post-header .article-meta {
    justify-content: center;
}

.blog-post-content {
    font-size: 1.0625rem;
}

.blog-post-content h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
}

.blog-post-content h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin: 2rem 0 0.75rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.blog-post-content ul {
    list-style: disc;
}

.blog-post-content ol {
    list-style: decimal;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.blog-post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.blog-post-content blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-post-content blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--gray-700);
}

.blog-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}

.blog-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.blog-cta p {
    margin-bottom: 1.25rem;
    opacity: 0.95;
    color: var(--white);
}

.blog-cta .btn {
    background: var(--white);
    color: var(--primary);
}

.blog-cta .btn:hover {
    background: var(--gray-100);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* About Page */
.about-section {
    padding: 4rem 0;
}

.about-section:nth-child(even) {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
}

.about-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.about-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tool-container {
        grid-template-columns: 1fr;
    }

    .stats-panel {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .hero {
        padding: 3rem 0;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        margin: 0 auto;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .blog-post-header h1 {
        font-size: 1.75rem;
    }
}

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    #text-input {
        min-height: 250px;
    }

    .tool-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .breadcrumb-list {
        font-size: 0.8125rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero-subtitle,
.hero-cta {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-subtitle {
    animation-delay: 0.1s;
}

.hero-cta {
    animation-delay: 0.2s;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Print Styles */
@media print {
    .header,
    .breadcrumbs,
    .tool-section,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    .container {
        max-width: 100%;
    }
}
