/* shared stylesheet for claps learn static landing pages */

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

:root {
    --primary-color: #0d9488;
    --primary-dark: #0b7a70;
    --primary-light: #f0fff7;
    --navy-color: #1e293b;
    --navy-dark: #0f172a;
    --text-color: #334155;
    --text-muted: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 48px -16px rgba(15, 23, 42, 0.15);
    --gradient-hero: linear-gradient(135deg, #f0fdfa 0%, #ffffff 40%, #faf5ff 70%, #fff1f2 100%);
    --gradient-primary: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--navy-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 72px;
    transition: all 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-dark);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    height: 36px;
    width: auto;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

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

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BD5A;
}

.btn-lg {
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding-top: 144px;
    padding-bottom: 72px;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(13, 148, 136, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-bullet-list {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-color);
}

.bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    width: 100%;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    max-height: 480px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.1));
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
}

/* Stats section */
.stats {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

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

.stat-card {
    text-align: center;
    padding: 16px;
    border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
    border-right: none;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        border-right: none;
    }
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px auto;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* Grid layout */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Cards style */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: border-color 0.3s;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.7;
    background: var(--bg-light);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-icon {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

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

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20BD5A;
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Popup Form Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    padding: 32px;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.modal-footer-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* Footer style */
.site-footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-col-desc h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 16px;
}

.footer-col-desc p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-col h5 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* pSEO landing page extensions */
.pseo-hero .hero-media img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-secondary {
    background: var(--white);
    color: var(--navy-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: rgba(13, 148, 136, 0.4);
    color: var(--primary-dark);
}

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 40px;
    align-items: start;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
}

.check-list li {
    display: flex;
    gap: 10px;
    font-weight: 600;
    color: var(--navy-color);
}

.check-list li::before {
    content: "\\2713";
    color: var(--primary-color);
    font-weight: 800;
}

.highlight-panel {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.highlight-panel h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.highlight-panel p + h3 {
    margin-top: 24px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font: inherit;
    font-weight: 700;
    color: var(--navy-dark);
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display: block;
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--navy-dark);
    box-shadow: var(--shadow-sm);
}

.related-card:hover {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: var(--shadow-md);
}

.related-card span {
    font-weight: 800;
}

.related-card small {
    color: var(--text-muted);
}

.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-inner {
    max-width: 720px;
}

.cta-inner h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-inner p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 991px) {
    .split-section,
    .related-grid {
        grid-template-columns: 1fr;
    }
}
