/* ===== GNSchoolERP — Shared Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #1a56db;
    --primary-dark: #1742b0;
    --primary-light: #e8eefb;
    --secondary: #0ea5e9;
    --accent: #06b6d4;
    --gradient-main: linear-gradient(135deg, #1a56db 0%, #0ea5e9 50%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #083344 0%, #0e7490 100%);
    /* Deep Cyan to Dark Cyan */
    --gradient-card: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    --dark: #083344;
    --dark-2: #164e63;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

p,
.section-subtitle.justify,
.card:not(.text-center) p,
.module-card p,
.benefit-card p,
.dark-card p,
.testimonial-card blockquote {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.force-center,
.force-center p,
.force-center h3,
.force-center h4,
.force-center div {
    text-align: center !important;
}

.force-center-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Center short content in cards automatically */
.card p:only-of-type:not(:has(br)),
.module-teaser-card p {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dark {
    background: var(--gradient-main);
    color: var(--white);
}

/* ===== NAVBAR ===== */
#navbar-placeholder {
    min-height: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    position: relative;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    padding: 6px 0;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    color: var(--white);
}

.nav-links a.active:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.nav-cta {
    background: transparent;
    color: var(--secondary) !important;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 600 !important;
    border: 1.5px solid var(--secondary);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary);
    color: var(--white) !important;
}

.nav-cta.active {
    background: var(--secondary);
    color: var(--white) !important;
}

.nav-cta.active::after {
    display: none !important;
}

/* Request Demo Button Custom Styles - Bigger and Typing Animation */
.request-demo {
    position: relative;
    border-color: var(--secondary);
    color: var(--secondary) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px !important;
    /* Slightly bigger */
    font-size: 0.95rem !important;
}

.typing-dots {
    display: inline-flex;
    margin-left: 2px;
}

.typing-dots span {
    animation: typing-jump 1.4s infinite;
    display: inline-block;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-jump {

    0%,
    20%,
    100% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(-5px);
    }
}

/* Floating Menu Styles */
.floating-menu {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.menu-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(20px) scale(0.5);
    pointer-events: none;
    border: none;
    cursor: pointer;
}

.floating-menu.active .menu-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

#more-toggle {
    opacity: 1;
    transform: none;
    pointer-events: all;
    background: var(--gradient-main);
    z-index: 1001;
}

#more-toggle i {
    transition: transform 0.3s ease;
}

.floating-menu.active #more-toggle {
    background: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.4);
}

.floating-menu.active #more-toggle i {
    transform: rotate(135deg);
}

.whatsapp-official {
    background: #25D366 !important;
}

.whatsapp-official:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

#chatbot-toggle-btn {
    background: var(--dark);
}

#chatbot-toggle-btn:hover {
    transform: scale(1.1) translateY(-2px);
}

/* Integration Centering */
.integ-category {
    text-align: center;
}

.integ-category h3 {
    margin-bottom: 12px;
}

.integ-category>p {
    max-width: 700px;
    margin: 0 auto 32px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 243, 252, 0.08) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.05) 0%, transparent 70%);
    bottom: -80px;
    left: -50px;
}

.page-banner h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-banner .gradient-text {
    background: linear-gradient(135deg, #38bdf8, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-banner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
}

.page-banner .breadcrumb a:hover {
    color: var(--white);
}

.page-banner .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0 8px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--white);
    padding: 36px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: 500;
}

/* ===== CARD STYLES ===== */
.card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.card .icon-gradient {
    background: var(--gradient-main);
    color: var(--white);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== MODULE CARD ===== */
.module-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.module-card .module-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.module-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.module-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.module-card ul {
    list-style: none;
}

.module-card ul li {
    font-size: 0.82rem;
    color: var(--text);
    padding: 3px 0 3px 18px;
    position: relative;
}

.module-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ===== DARK SECTION CARDS ===== */
.dark-section {
    background: var(--gradient-hero);
    color: var(--white);
}

.dark-section .section-title {
    color: var(--white);
}

.dark-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.dark-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s ease;
}

.dark-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.dark-card .up-icon {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.dark-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.dark-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BENEFIT CARDS ===== */
.benefit-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-card .b-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.benefit-card ul {
    list-style: none;
    text-align: left;
}

.benefit-card ul li {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 3px 0 3px 16px;
    position: relative;
}

.benefit-card ul li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: var(--primary);
    font-weight: 700;
}

/* ===== CLIENT LOGOS ===== */
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.client-logo {
    width: 140px;
    height: 80px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    padding: 12px;
    transition: all 0.3s;
    overflow: hidden;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-card .author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-card .author-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== PRICING ===== */
.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.04);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card .price-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-card ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--gray-100);
    padding-left: 24px;
    position: relative;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    font-family: inherit;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 12px;
}

.cta-highlights {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 24px 0 32px;
}

.cta-highlights span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-highlights span i {
    color: var(--secondary);
    margin-right: 6px;
}

/* ===== INTEGRATION CHIPS ===== */
.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.integration-chip {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s;
}

.integration-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand h3 span {
    color: var(--secondary);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* ===== COMMON GRIDS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    border: 1px solid var(--gray-200);
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--dark);
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

.comparison-table .check i {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .dash {
    color: #475569;
    font-weight: 800;
    font-size: 1.1rem;
}

.badge-limited {
    background-color: #ecfeff;
    color: #0891b2;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-unlimited {
    background: linear-gradient(135deg, #ecfeff 0%, #a5f3fc 100%);
    color: #0e7490;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #navbar-placeholder {
        min-height: 0;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 24px;
        gap: 16px;
    }

    .nav-links a.active:not(.nav-cta)::after {
        bottom: -4px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .pricing-card.featured {
        transform: none;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}