/* ====================================================
   Page-Specific Styles - Extracted from Inline CSS
   YFO.gr - Your Future Online
   ==================================================== */

/* ---------------------------------------------------
   Resources Page Styles
   --------------------------------------------------- */
.resources-hero {
    padding: 140px 0 80px;
    text-align: center;
}

.resources-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.resources-hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

.resources-section {
    padding: 60px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: #5dcf61;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.resource-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 35px;
    transition: transform 0.3s, border-color 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.resource-card p {
    color: #d0d0d0;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.card-tag {
    background: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #e0e0e0;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.card-btn:hover {
    background: #4CAF50;
    color: #000;
}

.card-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.card-desc {
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    color: #4CAF50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 12px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1a4d2e, #0d2615);
    padding: 80px 20px;
    text-align: center;
    border-radius: 30px;
    max-width: 1000px;
    margin: 60px auto;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-section p {
    color: #e0e0e0;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #4CAF50;
    border: none;
    border-radius: 30px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

/* Tool Card (used in Resources Glossary section) */
.tool-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.tool-card:hover {
    border-color: #4CAF50;
    transform: translateY(-3px);
}

.tool-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tool-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.tool-card h4 a {
    color: #ffffff;
    text-decoration: none;
}

.tool-card h4 a:hover {
    color: #4CAF50;
}

.tool-card p {
    color: #d0d0d0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ---------------------------------------------------
   Tools Page Styles
   --------------------------------------------------- */
.tool-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 40px;
}

.tool-header {
    text-align: center;
    margin-bottom: 50px;
}

.tool-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.tool-header p {
    color: #888;
    font-size: 1.1rem;
}

/* Calculator Panel */
.calc-panel {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.95rem;
}

.form-control-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.range-slider {
    width: 100%;
    margin-top: 15px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.growth-pct {
    color: #8b5cf6;
    font-weight: bold;
}

/* Results Styles */
.result-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.result-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: 'Arapey', serif;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-top: 25px;
    padding: 25px;
}

.highlight-value {
    color: #8b5cf6;
    font-size: 36px;
}

.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
    margin-top: 30px;
}

.cta-box {
    background: linear-gradient(135deg, #1a1a1a, #252525);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    margin-bottom: 15px;
    color: #fff;
}

.cta-box p {
    color: #aaa;
    margin-bottom: 15px;
}

.cta-box .theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* ---------------------------------------------------
   Glossary Page Styles
   --------------------------------------------------- */
.glossary-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.glossary-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.glossary-hero p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    margin-bottom: 40px;
}

.glossary-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 10px 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.glossary-nav a:hover,
.glossary-nav a.active {
    background: #4CAF50;
    border-color: #4CAF50;
}

.glossary-section {
    padding: 40px 0;
}

.letter-heading {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.term-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.term-card:hover {
    border-color: #4CAF50;
}

.term-name {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.term-definition {
    color: #aaa;
    line-height: 1.7;
}

/* ---------------------------------------------------
   Case Studies Page Styles
   --------------------------------------------------- */
.case-study-hero {
    padding: 140px 0 80px;
    text-align: center;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.case-study-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.case-study-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-content {
    padding: 25px;
}

.case-study-tag {
    display: inline-block;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.case-study-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.case-study-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
}

/* ---------------------------------------------------
   Guides Page Styles
   --------------------------------------------------- */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.guide-content h2 {
    color: #fff;
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.guide-content h3 {
    color: #fff;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.guide-content p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.guide-content ul,
.guide-content ol {
    color: #aaa;
    margin-bottom: 20px;
    padding-left: 25px;
}

.guide-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-tip {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

.guide-tip strong {
    color: #4CAF50;
}

/* ---------------------------------------------------
   Privacy/Terms Page Styles
   --------------------------------------------------- */
.legal-content {
    max-width: 800px;
    margin: 140px auto 60px;
    padding: 0 20px;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #fff;
    margin: 40px 0 15px;
}

.legal-content p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    color: #aaa;
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* ---------------------------------------------------
   Author Page Styles
   --------------------------------------------------- */
.author-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4CAF50;
    margin-bottom: 20px;
}

.author-name {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.author-title {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.author-bio {
    max-width: 600px;
    margin: 0 auto;
    color: #aaa;
    line-height: 1.8;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: #4CAF50;
    border-color: #4CAF50;
}

/* ---------------------------------------------------
   Responsive Adjustments
   --------------------------------------------------- */
@media (max-width: 768px) {
    .tool-container {
        padding: 20px;
        margin: 100px 15px 40px;
    }

    .calc-panel {
        margin-bottom: 30px;
    }

    .resources-hero h1,
    .glossary-hero h1 {
        font-size: 2rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
    }

    .legal-content {
        margin: 100px auto 40px;
    }
}

/* ====================================================
   Additional Missing Page Styles
   ==================================================== */

/* ---------------------------------------------------
   Author Page Extended
   --------------------------------------------------- */
.author-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.expertise-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.expertise-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.author-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 30px 0;
    margin: 40px 0;
}

.author-stats .stat-item strong {
    font-size: 1.5rem;
    color: #4CAF50;
    display: block;
}

.author-stats .stat-item span {
    color: #888;
    font-size: 0.9rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.article-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.article-excerpt {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    color: #4CAF50;
    font-weight: 500;
    text-decoration: none;
}



/* ---------------------------------------------------
   Case Study Page Extended
   --------------------------------------------------- */
.case-study-badge {
    display: inline-block;
    background: rgba(233, 30, 99, 0.1);
    color: #E91E63;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.metric-value {
    font-size: 48px;
    font-weight: 700;
    color: #E91E63;
    line-height: 1;
}

.metric-value.blue {
    color: #2196F3;
}

.metric-value.green {
    color: #4CAF50;
}

.metric-value.orange {
    color: #FF9800;
}

.metric-value.purple {
    color: #8b5cf6;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.before-after-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.before-box,
.after-box {
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.before-box {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid rgba(244, 67, 54, 0.3);
}

.after-box {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.ba-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.before-box .ba-label {
    color: #F44336;
}

.after-box .ba-label {
    color: #4CAF50;
}

.ba-value {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
}

.ba-metric {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
}

.testimonial-section {
    background: rgba(76, 175, 80, 0.05);
    border-left: 4px solid #E91E63;
    padding: 40px;
    border-radius: 0 20px 20px 0;
    margin: 50px 0;
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E63, #2196F3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.testimonial-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.related-cases {
    padding: 60px 0;
    background: #0a0a0a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
    transition: transform 0.3s;
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: #E91E63;
}

.related-card h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.related-card p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .before-after-section {
        grid-template-columns: 1fr;
    }

    .ba-value {
        font-size: 40px;
    }

    .metric-value {
        font-size: 36px;
    }
}

/* ---------------------------------------------------
   Glossary Page Extended
   --------------------------------------------------- */
.az-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 40px;
    background: #111;
    padding: 15px;
    border-radius: 10px;
}

.az-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.az-link:hover {
    background: #333;
    color: #fff;
}

.term-group {
    margin-bottom: 60px;
}

.group-letter {
    font-size: 3rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
}

.term-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Urbanist', sans-serif;
}

.term-title dfn {
    font-style: normal;
    color: #4CAF50;
}

.term-def {
    color: #bbb;
    line-height: 1.6;
}

/* ---------------------------------------------------
   Generic Extensions
   --------------------------------------------------- */
.content-section {
    padding: 80px 0;
}

/* ---------------------------------------------------
   Author Page Helpers
   --------------------------------------------------- */
.author-section-label {
    font-size: 14px;
    color: var(--tertiary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-guides-title {
    margin-top: 80px;
}

.author-btn-container {
    text-align: center;
    margin-top: 40px;
}

/* ---------------------------------------------------
   Guide Page Helpers
   --------------------------------------------------- */
.guide-stat span {
    color: #ccc;
}

.last-updated {
    color: #666;
    font-size: 0.9em;
    margin: 10px 0;
}

.accordion-item-dark {
    background: #1a1a1a;
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-button-dark {
    background: #1a1a1a;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 25px;
    border: none;
    box-shadow: none !important;
    /* Force override bootstrap shadow */
}

.accordion-button-dark:not(.collapsed) {
    background: #1a1a1a;
    color: #4CAF50;
    box-shadow: none !important;
}

.accordion-body-dark {
    padding: 0 25px 25px;
    color: #ccc;
}

/* ---------------------------------------------------
   Case Study Page Helpers
   --------------------------------------------------- */
.case-study-intro {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

.case-study-hero-image-container {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.case-study-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.metrics-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.metrics-title {
    text-align: center;
    color: #fff;
    font-family: 'Arapey', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.solution-section {
    background: rgba(255, 255, 255, 0.02);
}

.solution-step-title {
    color: #E91E63;
    margin: 30px 0 15px;
}

.testimonial-section-wrapper {
    padding: 60px 0;
}

.cta-title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.related-title {
    color: #fff;
    font-family: 'Arapey', serif;
    font-size: 32px;
    margin-bottom: 30px;
}

.read-more-link {
    color: #E91E63;
    font-size: 14px;
}

.back-link-section {
    padding: 40px 0;
    text-align: center;
}

.back-link {
    color: #E91E63;
    font-size: 16px;
    text-decoration: none;
}

/* ---------------------------------------------------
   Glossary Page Helpers
   --------------------------------------------------- */
.glossary-hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.glossary-hero-inner {
    height: auto;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.glossary-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #999);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated-glossary {
    color: #666;
    font-size: 0.9em;
    margin: 10px 0;
}

.glossary-intro {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #aaa;
}

.search-box-wrap-glossary {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-input-glossary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.glossary-nav-section {
    padding: 40px 0 0;
}

.glossary-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.glossary-nav-link {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 14px;
}

.glossary-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.glossary-nav-link.active {
    background: #8b5cf6;
    color: #fff;
    border-color: #8b5cf6;
}

.glossary-hero-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------------------------------------------------
   Tools Hub Page Styles
   --------------------------------------------------- */
.tools-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.tools-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.tools-hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

.tools-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(52, 152, 219, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    color: #5dade2;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tools-section {
    padding: 80px 0;
    background: #000;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 35px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.tool-card h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.tool-card h3 a:hover {
    color: #5dade2;
}

.tool-card p {
    color: #d0d0d0;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tool-tag {
    background: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #e0e0e0;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.tool-btn:hover {
    background: #3498db;
    color: #000;
}

@media (max-width: 768px) {
    .tools-hero h1 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------
   Locations Hub Page Styles
   --------------------------------------------------- */
.locations-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.locations-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.locations-hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
}

.locations-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(155, 89, 182, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    color: #bb8fce;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.locations-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
}

.locations-section {
    padding: 60px 0;
}

.locations-section.alt-bg {
    background: #0a0a0a;
}

.section-header-loc {
    text-align: center;
    margin-bottom: 40px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-badge.google-ads {
    background: rgba(234, 67, 53, 0.15);
    color: #ea4335;
}

.service-badge.web-design {
    background: rgba(52, 152, 219, 0.15);
    color: #5dade2;
}

.service-badge.seo {
    background: rgba(46, 204, 113, 0.15);
    color: #58d68d;
}

.service-badge.social-media {
    background: rgba(155, 89, 182, 0.15);
    color: #bb8fce;
}

.section-header-loc h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-link {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.location-link:hover {
    transform: translateY(-3px);
    border-color: #666;
    color: #ffffff;
    background: linear-gradient(145deg, #222, #2a2a2a);
}

.locations-section.google-ads-sec .location-link:hover {
    border-color: #ea4335;
}

.locations-section.web-design-sec .location-link:hover {
    border-color: #5dade2;
}

.locations-section.seo-sec .location-link:hover {
    border-color: #58d68d;
}

.locations-section.social-media-sec .location-link:hover {
    border-color: #bb8fce;
}

@media (max-width: 768px) {
    .locations-hero h1 {
        font-size: 2rem;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-stats {
        gap: 20px;
    }
}

/* ---------------------------------------------------
   Industries Hub Page Styles
   --------------------------------------------------- */
.industries-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.industries-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.industries-hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
}

.industries-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(241, 196, 15, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    color: #f4d03f;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.industries-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.industries-section {
    padding: 60px 0;
    background: #000;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.industry-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: #f4d03f;
    box-shadow: 0 10px 30px rgba(244, 208, 63, 0.1);
}

.industry-icon {
    font-size: 2rem;
}

.industry-card span {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
}

.industry-card:hover span {
    color: #ffffff;
}

@media (max-width: 768px) {
    .industries-hero h1 {
        font-size: 2rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-stats {
        gap: 20px;
    }
}

/* ---------------------------------------------------
   Case Studies Page Extended Styles
   --------------------------------------------------- */
.case-study-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    border-color: rgba(76, 175, 80, 0.5);
    transform: translateY(-5px);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.case-study-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.case-study-industry {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.case-study-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Arapey', serif;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.metric-box {
    text-align: center;
    padding: 25px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.metric-value {
    font-size: 42px;
    font-weight: 700;
    color: #4CAF50;
    line-height: 1;
}

.metric-value.negative {
    color: #2196F3;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.case-study-section {
    margin: 25px 0;
}

.case-study-section h4 {
    color: #4CAF50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.services-used {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 60px;
    font-weight: 700;
    color: #4CAF50;
    line-height: 1;
}

.hero-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.view-case-study-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.view-case-study-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: white;
}

/* Testimonial Styles */
.testimonial-box {
    background: rgba(76, 175, 80, 0.05);
    border-left: 4px solid #4CAF50;
    padding: 25px 30px;
    margin-top: 30px;
    border-radius: 0 12px 12px 0;
}

.testimonial-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.testimonial-info {
    line-height: 1.4;
}

.testimonial-name {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Before/After Comparison */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.before-box,
.after-box {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.before-box {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.after-box {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.before-after-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.before-box .before-after-label {
    color: #F44336;
}

.after-box .before-after-label {
    color: #4CAF50;
}

.before-after-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.before-after-metric {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================
   Guide Pages Styles (Extracted from Inline CSS)
   ==================================================== */

/* Guide Hero Section */
.guide-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 80px 0 60px;
}

.guide-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.guide-hero .subtitle {
    color: #4CAF50;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.guide-hero .intro {
    color: #aaa;
    font-size: 18px;
    max-width: 700px;
}

.guide-hero .section-subtitle {
    color: #4CAF50;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Guide Stats */
.guide-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.guide-stat {
    background: rgba(76, 175, 80, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border-left: 3px solid #4CAF50;
}

.guide-stat strong {
    color: #4CAF50;
    font-size: 24px;
    display: block;
}

.guide-stat span {
    color: #ccc;
}

/* Guide Content */
.guide-content {
    padding: 60px 0;
}

.guide-content.no-padding-bottom {
    padding-bottom: 0;
}

.guide-article h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.guide-article h3 {
    color: #fff;
    margin: 30px 0 15px;
}

.guide-article p {
    color: #ccc;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.guide-article p strong {
    color: #fff;
}

.guide-article ul,
.guide-article ol {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.guide-article ul li strong,
.guide-article ol li strong {
    color: #4CAF50;
}

/* Guide Pro Tip Box */
.guide-pro-tip {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.guide-pro-tip p:first-child {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 10px;
}

.guide-pro-tip p:last-child {
    color: #ccc;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* Guide CTA */
.guide-cta {
    background: linear-gradient(135deg, #1a5f2a 0%, #0d3314 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.guide-cta h3 {
    color: #4CAF50;
    font-size: 28px;
    margin-bottom: 15px;
}

.guide-cta p {
    color: #90EE90;
    font-size: 18px;
    margin-bottom: 25px;
}

/* Guide Accordion Styles */
.guide-accordion .accordion-item {
    background: #1a1a1a;
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.guide-accordion .accordion-button {
    background: #1a1a1a;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

.guide-accordion .accordion-button:not(.collapsed) {
    background: #2a2a2a;
    color: #4CAF50;
}

.guide-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.guide-accordion .accordion-button:focus {
    box-shadow: none;
}

.guide-accordion .accordion-body {
    padding: 0 25px 25px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
}

/* Enhanced Content Block */
.enhanced-content-block {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #333;
}

/* Guide Grid Layout (TikTok guide style) */
.guide-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.guide-grid-3 .grid-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
}

.guide-grid-3 .grid-item h4 {
    margin-bottom: 10px;
}

.guide-grid-3 .grid-item p {
    color: #aaa;
    font-size: 14px;
    margin: 0;
}

/* TikTok specific colors */
.color-tiktok-cyan {
    color: #00f2ea;
}

.color-tiktok-red {
    color: #ff0050;
}

/* Guide Color Variants */

/* Blue Theme (Mobile App Development) */
.guide-hero.theme-blue .subtitle,
.guide-hero.theme-blue .section-subtitle {
    color: #3498db;
}

.guide-stat.theme-blue {
    background: rgba(52, 152, 219, 0.1);
    border-left-color: #3498db;
}

.guide-stat.theme-blue strong {
    color: #3498db;
}

.guide-cta.theme-blue {
    background: linear-gradient(135deg, #1a4a6e 0%, #0d2536 100%);
}

.guide-cta.theme-blue h3 {
    color: #3498db;
}

.guide-cta.theme-blue p {
    color: #87ceeb;
}

.guide-accordion.theme-blue .accordion-button:not(.collapsed) {
    color: #3498db !important;
}

/* Purple Theme (Email Marketing E-shops) */
.guide-hero.theme-purple .subtitle,
.guide-hero.theme-purple .section-subtitle {
    color: #9b59b6;
}

.guide-stat.theme-purple {
    background: rgba(155, 89, 182, 0.1);
    border-left-color: #9b59b6;
}

.guide-stat.theme-purple strong {
    color: #9b59b6;
}

.guide-cta.theme-purple {
    background: linear-gradient(135deg, #5b2a6e 0%, #2d1536 100%);
}

.guide-cta.theme-purple h3 {
    color: #9b59b6;
}

.guide-cta.theme-purple p {
    color: #d8bfe6;
}

.guide-accordion.theme-purple .accordion-button:not(.collapsed) {
    color: #9b59b6 !important;
}

/* Price Table */
.price-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.price-table th {
    background: #3498db;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.price-table td {
    background: #1a1a1a;
    color: #ccc;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.price-table tr:hover td {
    background: #252525;
}

@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: 32px;
    }

    .guide-stats {
        flex-direction: column;
        gap: 15px;
    }

    .guide-cta {
        padding: 30px 20px;
    }

    .guide-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ====================================================
   Tool Pages Extended Styles (Speed Checker, etc.)
   ==================================================== */

/* Tool Container */
.tool-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 40px;
}

.tool-container.narrow {
    max-width: 900px;
}

.tool-header {
    text-align: center;
    margin-bottom: 50px;
}

.tool-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.tool-header p {
    color: #888;
    font-size: 1.1rem;
}

/* Tool Panel */
.tool-panel,
.calc-panel {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

/* Tool Form Controls */
.form-control-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
}

.form-control-custom:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.form-control-custom.purple:focus {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.form-control-custom.blue:focus {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

/* Tool Input Group */
.input-group-tool {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.input-group-tool input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
}

.input-group-tool input:focus {
    border-color: #4CAF50;
    outline: none;
}

.input-group-tool button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.input-group-tool button:hover {
    transform: scale(1.05);
}

/* Tool Input Section */
.input-section {
    margin-bottom: 30px;
}

.input-section textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #1a1a1a;
    color: #fff;
    font-family: monospace;
    font-size: 0.9rem;
    resize: vertical;
}

.input-section textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.input-section input[type="text"] {
    width: 100%;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.input-section input[type="text"]:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Tool Analyze Button */
.btn-analyze {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.2s;
}

.btn-analyze:hover {
    transform: scale(1.02);
}

/* Tool Results Container */
.results-container {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    display: none;
    border: 1px solid #333;
}

.results-container.show {
    display: block;
}

/* Tool Result Items */
.result-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.result-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.result-label h3 {
    font-size: 1rem;
    color: #4CAF50;
    margin: 0;
}

.result-label .status {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-good {
    background: #1e4d2e;
    color: #4CAF50;
}

.status-warning {
    background: #4d3d1e;
    color: #FFC107;
}

.status-bad {
    background: #4d1e1e;
    color: #f44336;
}

.result-content {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    word-break: break-word;
}

.result-content.empty {
    color: #666;
    font-style: italic;
}

.char-count {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
}

/* Result Box */
.result-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.result-box.purple {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.result-box.blue {
    background: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.3);
}

.result-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: 'Arapey', serif;
}

.result-box small {
    color: #888;
    font-size: 12px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-top: 25px;
    padding: 25px;
    border-radius: 10px;
}

.highlight-value {
    color: #8b5cf6;
    font-size: 36px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

/* Score Card */
.score-card {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a4d2e, #0d2615);
    border-radius: 15px;
    margin-bottom: 25px;
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
    color: #4CAF50;
}

.score-label {
    color: #888;
    font-size: 0.9rem;
}

/* Score Circle */
.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 20px;
    color: #fff;
}

.score-circle.score-good {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.score-circle.score-medium {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.score-circle.score-bad {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Heading Tree */
.heading-tree {
    margin-top: 25px;
}

.heading-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #222;
    border-radius: 8px;
    margin-bottom: 8px;
}

.heading-tag {
    min-width: 40px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.h1-tag {
    background: #1e4d2e;
    color: #4CAF50;
}

.h2-tag {
    background: #2e4d3e;
    color: #81C784;
}

.h3-tag {
    background: #3e4d4e;
    color: #A5D6A7;
}

.h4-tag {
    background: #4e4d3e;
    color: #FFC107;
}

.h5-tag {
    background: #4d3e3e;
    color: #FF9800;
}

.h6-tag {
    background: #4d2e2e;
    color: #FF5722;
}

.heading-text {
    flex: 1;
    word-break: break-word;
}

/* Issues Box */
.issues-box {
    background: #2d1f1f;
    border: 1px solid #4d2e2e;
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
}

.issues-box h3 {
    color: #f44336;
    margin-bottom: 15px;
}

.issue-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.issue-icon {
    color: #f44336;
}

/* Tips Box (Tool Page) */
.tips-box {
    background: #1f2d1f;
    border: 1px solid #2e4d2e;
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
}

.tips-box h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.tip-item {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #8b5cf6;
    color: #ddd;
}

.tip-item.tip-good {
    border-left-color: #2ecc71;
}

.tip-item.tip-warning {
    border-left-color: #f39c12;
}

.tip-item.tip-bad {
    border-left-color: #e74c3c;
}

/* Objective Buttons (Meta Ads Calculator) */
.objective-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.objective-btn:hover,
.objective-btn.active {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
}

#objectives {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Range Slider */
.range-slider {
    width: 100%;
    margin-top: 15px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.growth-pct {
    color: #8b5cf6;
    font-weight: bold;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
    margin-top: 30px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1a1a1a, #252525);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    margin-bottom: 15px;
    color: #fff;
}

.cta-box p {
    color: #aaa;
    margin-bottom: 15px;
}

.cta-box .theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* Loading States */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading.active {
    display: block;
}

.loading-spinner,
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: tool-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.spinner {
    width: 50px;
    height: 50px;
    border-width: 4px;
    border-top-color: #8b5cf6;
}

@media (max-width: 768px) {
    .tool-container {
        padding: 20px;
        margin: 100px 15px 40px;
    }

    .tool-panel,
    .calc-panel {
        margin-bottom: 30px;
    }

    .input-group-tool {
        flex-direction: column;
    }
}

.tool-panel h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Score Gauge */
.score-gauge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
}

.score-good {
    background: conic-gradient(#2ecc71 0deg, #2ecc71 var(--score-deg), rgba(255, 255, 255, 0.1) var(--score-deg));
}

.score-medium {
    background: conic-gradient(#f39c12 0deg, #f39c12 var(--score-deg), rgba(255, 255, 255, 0.1) var(--score-deg));
}

.score-bad {
    background: conic-gradient(#e74c3c 0deg, #e74c3c var(--score-deg), rgba(255, 255, 255, 0.1) var(--score-deg));
}

.score-inner {
    width: 120px;
    height: 120px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Tool Metric Cards (Speed Checker specific) */
.tool-metric-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #8b5cf6;
}

.tool-metric-card.metric-good {
    border-left-color: #2ecc71;
}

.tool-metric-card.metric-medium {
    border-left-color: #f39c12;
}

.tool-metric-card.metric-bad {
    border-left-color: #e74c3c;
}

.tool-metric-card strong {
    color: #fff;
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.tool-metric-card p {
    margin: 5px 0 0;
    font-size: 24px;
    color: #fff;
}

.tool-metric-card small {
    color: #888;
    display: block;
    font-size: 12px;
}

/* Loading Spinner */
.tool-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.tool-loading.active {
    display: block;
}

.tool-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: tool-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes tool-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tip Box */
.tip-box {
    background: rgba(139, 92, 246, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    color: #ccc;
}

.tip-box h4 {
    color: #8b5cf6;
    font-size: 18px;
    margin-bottom: 10px;
}

.tip-box ul {
    margin: 10px 0 0;
    padding-left: 20px;
    font-size: 0.95rem;
}

.tip-box ul li {
    margin-bottom: 5px;
}

/* Tool Content Section */
.tool-content-sec {
    padding: 80px 0;
    background-color: #0b0b10;
}

.tool-article {
    color: #ccc;
    font-size: 17px;
    line-height: 1.8;
}

.tool-article h2 {
    color: #fff;
    margin-bottom: 25px;
}

.tool-article h3 {
    color: #fff;
    margin: 30px 0 15px;
}

.tool-article ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.tool-article ul li {
    margin-bottom: 10px;
}

/* ====================================================
   Case Study Page Extended Styles
   ==================================================== */

/* Case Study Hero Extended */
.case-study-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
}

.case-study-badge {
    background: linear-gradient(135deg, #E91E63 0%, #2196F3 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.case-study-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Arapey', serif;
    line-height: 1.2;
}

.case-study-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.case-study-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Case Study Content Section */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Arapey', serif;
}

.content-section p,
.content-section li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    padding-left: 25px;
    position: relative;
}

.content-section ul li::before {
    content: "✓";
    color: #E91E63;
    position: absolute;
    left: 0;
}

.content-section h3 {
    color: #E91E63;
    margin: 30px 0 15px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(33, 150, 243, 0.2) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Back to Case Studies */
.back-to-cases {
    padding: 40px 0;
    text-align: center;
}

.back-to-cases a {
    color: #E91E63;
    font-size: 16px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .case-study-title {
        font-size: 32px;
    }

    .case-study-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* ====================================================
   Glossary Page Styles
   ==================================================== */

/* Glossary Hero */
.glossary-hero {
    padding: 180px 0 100px;
    background: linear-gradient(180deg, #0d0d15 0%, #1a1a2e 100%);
    text-align: center;
}

.glossary-hero-extended {
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.glossary-hero-extended h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glossary Content */
.glossary-content {
    padding: 80px 0;
}

/* Search Box */
.search-box-wrap {
    max-width: 600px;
    margin: 40px auto 0;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 18px;
    font-family: 'Urbanist', sans-serif;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
}

/* AZ Navigation */
.az-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 60px;
}

.az-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.az-link:hover,
.az-link.active {
    background: #ec4899;
    color: #fff;
    border-color: #ec4899;
}

/* Term Group */
.term-group {
    margin-bottom: 60px;
}

.group-letter {
    font-size: 48px;
    font-family: 'Arapey', serif;
    color: #ec4899;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Term Card */
.term-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.term-card:hover {
    border-color: #ec4899;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.term-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Arapey', serif;
}

.term-def {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Glossary Navigation */
.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.glossary-nav a {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.glossary-nav a:hover,
.glossary-nav a.active {
    background: #ec4899;
    color: #fff;
    border-color: #ec4899;
}

.glossary-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.glossary-nav-pills a {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.glossary-nav-pills a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.glossary-nav-pills a.active {
    background: #8b5cf6;
    color: #fff;
    border-color: #8b5cf6;
}

/* Background Decor */
.glossary-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ====================================================
   Author Page Styles
   ==================================================== */

/* Author Hero */
.author-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(30, 30, 30, 0.95) 100%);
}

.author-hero-extended {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(30, 30, 30, 0.95) 100%);
}

/* Author Card */
.author-card {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Author Avatar */
.author-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #fff;
    flex-shrink: 0;
}

.author-avatar-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #fff;
    flex-shrink: 0;
}

/* Author Info */
.author-info h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.author-info-extended h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.author-title {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.author-title-extended {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.author-bio {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 30px;
}

.author-bio-extended {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 30px;
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.expertise-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary);
}

/* Author Stats */
.author-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.author-stats-extended {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box-extended {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-number-extended {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-label-extended {
    font-size: 14px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Author Articles Section */
.author-articles {
    padding: 80px 0;
}

.author-articles-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.articles-grid-extended {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card .card-content {
    padding: 25px;
}

.article-card .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-card .card-title a {
    color: var(--primary);
    text-decoration: none;
}

.article-card .card-meta {
    font-size: 13px;
    color: var(--tertiary);
}

.article-card-extended {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.article-card-extended:hover {
    transform: translateY(-5px);
}

.article-card-extended .card-content {
    padding: 25px;
}

.article-card-extended .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-card-extended .card-title a {
    color: var(--primary);
    text-decoration: none;
}

.article-card-extended .card-meta {
    font-size: 13px;
    color: var(--tertiary);
}

@media (max-width: 992px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-stats,
    .author-stats-extended {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid,
    .articles-grid-extended {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .author-stats,
    .author-stats-extended {
        grid-template-columns: 1fr;
    }

    .articles-grid,
    .articles-grid-extended {
        grid-template-columns: 1fr;
    }

    .author-info h1,
    .author-info-extended h1 {
        font-size: 32px;
    }
}

/* ---------------------------------------------------
   Case Study Link Styling
   --------------------------------------------------- */
.case-study-link {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.case-study-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}