/* ==========================================================================
   BACKLINKS.MA - MODERN SAAS STYLESHEET (Inspired by Teachizy & Modern Web)
   ========================================================================== */

/* --- CSS VARIABLES --- */
:root {
    /* Logo Colors */
    --brand-dark: #22303e;
    --brand-light: #1f77fc;

    /* Colors */
    --primary: var(--brand-light);       /* Vibrant Blue */
    --primary-hover: #1760d6;
    --secondary: #10B981;     /* Emerald Green (Success/Trust) */
    --accent: #F59E0B;        /* Warm Amber */
    
    --dark: var(--brand-dark);          /* Logo Dark Navy */
    --text-main: #334155;     /* Slate 700 */
    --text-light: #64748B;    /* Slate 500 */
    
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;      /* Slate 50 */
    --bg-card: #FFFFFF;
    
    --border-color: #E2E8F0;
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --section-pad: 100px;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

.section-padding {
    padding: var(--section-pad) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* --- BADGES --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-primary { background: #EEF2FF; color: var(--primary); }
.badge-secondary { background: #ECFDF5; color: var(--secondary); }
.badge-accent { background: #FEF3C7; color: var(--accent); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(31, 119, 252, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 119, 252, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #CBD5E1;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    color: var(--primary);
}

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 80px 0 100px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.hero-bg-shapes {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(31,119,252,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(31, 119, 252, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }

.hero-image {
    position: relative;
}

.hero-image > img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) translateY(0);
    transition: transform 0.5s ease;
}

.hero-image:hover > img {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 40px;
    right: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 3s;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.icon-box.green { background: #ECFDF5; color: var(--secondary); }
.icon-box.blue { background: #EEF2FF; color: var(--primary); }

.floating-card strong { display: block; color: var(--dark); font-size: 0.9rem; }
.floating-card span { color: var(--secondary); font-weight: 600; font-size: 0.8rem; }
.floating-card.card-2 span { color: var(--primary); }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- LOGOS SECTION --- */
.logos-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.logos-section p {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.generic-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #94A3B8;
    transition: color 0.3s ease;
}

.logos-grid img, .logos-grid svg {
    height: 40px;
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94A3B8; /* Fallback for SVGs */
}

.logos-grid img:hover, .logos-grid svg:hover {
    opacity: 1;
    filter: none;
    color: var(--dark);
}

.grayscale {
    filter: grayscale(100%);
}

/* --- CARDS GRID (3 Columns) --- */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-card.highlight {
    background: var(--dark);
    color: white;
    border: none;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.feature-card.highlight p { color: #94A3B8; }
.feature-card.highlight h3 { color: white; }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-icon.danger { background: #FEF2F2; color: #EF4444; }
.feature-icon.success { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.feature-icon.primary { background: #EEF2FF; color: var(--primary); }

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

/* --- FEATURE SPLIT SECTIONS --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reverse .split-container {
    grid-template-columns: 1fr 1fr;
}

/* Override order for reverse layout in HTML via CSS or DOM. We did DOM order. */

.split-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.split-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.split-image {
    position: relative;
}

.split-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating-badge i { color: var(--secondary); }
.floating-badge.top-right { top: -20px; right: -20px; }

/* Lists inside Split */
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.check-list li i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 2px;
}

.check-list li strong {
    color: var(--dark);
}

/* Metrics Grid inside Split */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.metric-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.metric-item h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.metric-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- PROCESS STEPS --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px auto;
    box-shadow: 0 0 0 8px rgba(31, 119, 252, 0.1);
}

.step h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-line {
    flex: 0.5;
    height: 2px;
    background: var(--border-color);
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

/* --- TESTIMONIALS --- */

/* --- IMPACT & METHODOLOGY SECTIONS --- */
.bg-dark {
    background-color: var(--dark);
}
.text-white {
    color: white !important;
}
.text-light-gray {
    color: #94A3B8 !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #CBD5E1;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.method-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.method-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.method-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.method-card h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.method-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- GSC IMPACT SECTION (NEW) --- */
.gsc-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.gsc-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gsc-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* GSC Mockup UI */
.gsc-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #E0E0E0;
    overflow: hidden;
    font-family: 'Roboto', sans-serif; /* Mimic Google's font slightly */
}

.gsc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #E0E0E0;
    background: #F8F9FA;
}

.gsc-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #3C4043;
    font-size: 1rem;
}

.gsc-filters {
    font-size: 0.875rem;
    color: #5F6368;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #DADCE0;
    cursor: pointer;
}

.gsc-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #E0E0E0;
}

.gsc-metric {
    padding: 16px;
    text-align: left;
    border-right: 1px solid #E0E0E0;
    cursor: pointer;
}
.gsc-metric:last-child { border-right: none; }

.gsc-metric span {
    display: block;
    font-size: 0.8rem;
    color: #5F6368;
    margin-bottom: 4px;
}

.gsc-metric strong {
    display: block;
    font-size: 1.5rem;
    color: #3C4043;
    font-weight: 400;
}

.gsc-metric.active {
    border-top: 3px solid #4285F4;
    background: #F4F8FF;
}
.gsc-metric.active strong { color: #4285F4; }

.gsc-chart-area {
    padding: 40px 24px 24px 24px;
    position: relative;
    height: 300px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    background-image: 
        linear-gradient(rgba(218, 220, 224, 0.5) 1px, transparent 1px);
    background-size: 100% 50px;
}

.gsc-line-chart {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    height: 250px;
}

.gsc-line-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Animations for the chart */
.gsc-stroke {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}

.gsc-line {
    opacity: 0;
    animation: fadeInArea 1s ease-out 1.5s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeInArea {
    to { opacity: 1; }
}

/* Milestone */
.gsc-milestone {
    position: absolute;
    left: 35%; /* Where the spike begins */
    top: 0;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInArea 0.5s ease-out 2.5s forwards;
}

.milestone-line {
    width: 2px;
    height: 100%;
    background: dashed 2px var(--primary);
    border-left: 2px dashed var(--primary);
}

.milestone-label {
    position: absolute;
    top: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 0.75rem;
    transform: translateX(-50%);
    left: 50%;
}

.gsc-tooltip {
    position: absolute;
    top: 10px;
    right: 10%;
    background: white;
    border: 1px solid #E0E0E0;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 3s forwards;
}

.gsc-tooltip span { display: block; font-size: 0.75rem; color: #5F6368; margin-bottom: 4px; }
.gsc-tooltip strong { display: block; font-size: 1.1rem; color: #4285F4; }

@keyframes bounceIn {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --- COMPARISON SECTION (SANS / AVEC) --- */
.comparison-section {
    background-color: var(--brand-dark);
    position: relative;
    overflow: hidden;
}

.comparison-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    gap: 40px;
}

.comparison-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.comparison-col {
    flex: 1;
    z-index: 2;
}

.comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comp-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.comp-card:hover {
    transform: translateY(-5px);
}

.comp-card p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

.comp-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* "Sans" Cards */
.comp-card.bad {
    background-color: #FFFDF8;
    color: #1A202C;
}

.comp-card.bad:hover {
    transform: translateY(-5px);
}

.comp-card.bad .comp-icon {
    color: #F25F5C;
}

/* "Avec" Cards */
.comp-card.good {
    background-color: var(--brand-light); /* Brand Blue */
    color: white;
}

.comp-card.good:hover {
    transform: translateY(-5px);
}

.comp-card.good .comp-icon {
    color: white;
}

/* Divider */
.comparison-divider {
    position: absolute;
    left: 50%;
    top: 50px;
    bottom: 50px;
    width: 60px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 1;
}

.comparison-divider svg {
    height: 100%;
    width: 100%;
}

/* --- FAQ SECTION (TEACHIZY STYLE) --- */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.faq-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #061A1C; /* Dark greenish/teal black from image */
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    color: white;
}

.faq-item summary {
    padding: 24px;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: white;
    transition: transform 0.3s ease;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: #CBD5E1;
    line-height: 1.7;
}

/* --- CTA SECTION --- */
.cta-section {
    background: var(--dark);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31,119,252,0.3) 0%, rgba(34,48,62,0) 70%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.125rem;
    color: #94A3B8;
    margin-bottom: 40px;
}

.cta-form {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.form-group-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.cta-form input, .cta-form select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    background: #F8FAFC;
    color: var(--dark);
    outline: none;
    transition: border-color 0.3s ease;
}

.cta-form input:focus, .cta-form select:focus {
    border-color: var(--primary);
    background: white;
}

.cta-guarantee {
    margin-top: 24px;
    font-size: 0.9rem;
    color: #64748B;
}

/* --- TEACHIZY STYLE FOOTER --- */
.teachizy-footer {
    background-color: transparent;
}
.footer-top {
    background-color: var(--brand-light);
    padding: 60px 0;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
}
.footer-main {
    background-color: var(--brand-dark);
    padding: 60px 0 40px 0;
    color: white;
}

.footer-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-top-title {
    display: block;
    color: white; /* Changed for better contrast with new light blue background */
    font-weight: 700;
    margin-bottom: 16px;
}

.social-links-circle {
    display: flex;
    gap: 16px;
}

.social-links-circle a {
    width: 48px;
    height: 48px;
    background: white;
    color: var(--brand-light); /* Changed icon color to match background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links-circle a:hover {
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    background: #FFFDF8;
    padding: 8px;
    border-radius: 50px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-family: var(--font-main);
    outline: none;
    color: var(--dark);
}

.btn-newsletter {
    background: var(--brand-dark); /* Changed to logo dark color */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-newsletter:hover {
    opacity: 0.9;
}

.footer-grid-custom {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul a {
    color: #A0AEC0;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: white;
}

.logo.text-white {
    color: white;
}

.logo.text-white i {
    color: var(--brand-light);
}

.logo.text-white span {
    color: var(--brand-light);
}

.footer-copyright {
    text-align: left;
    color: #A0AEC0;
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- SUBPAGES & TEMPLATES STYLES --- */
.content-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Page Header */
.page-header {
    background: var(--brand-dark);
    color: white;
    padding: 140px 0 100px; /* Increased padding to breathe */
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.page-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--brand-dark);
    font-size: 1.8rem;
}
.legal-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--brand-dark);
    font-size: 1.3rem;
}
.legal-content p {
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.8;
}
.legal-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
    list-style-type: disc;
}
.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 100px 0; /* Increased space around blog cards */
}
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-category {
    background: #EEF2FF;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 16px;
}
.blog-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}
.blog-excerpt {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94A3B8;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-weight: 500;
}

/* SEO Article Template - Moved to css/article.css */

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
    padding-bottom: 0px;
}
.contact-info-card {
    background: var(--brand-dark);
    color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact-info-card h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: white;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
}
.contact-form-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* --- LOGO SIZING --- */
.header-logo-img {
    height: 22px;
    width: auto;
    transition: height 0.3s ease;
}

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}
.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--brand-dark);
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.page-link.active, .page-link:hover {
    background: var(--brand-light);
    color: white;
    border-color: var(--brand-light);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-container, .split-container, .gsc-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .split-image.image-mobile-first {
        order: -1;
    }
}

@media (max-width: 900px) {
    .cards-grid-3, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-container {
        flex-direction: column;
    }
    .comparison-divider {
        display: none;
    }
    .comp-card {
        transform: none !important;
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-image img {
        height: 300px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-card {
        padding: 24px;
    }
    .article-container {
        padding: 40px 24px;
    }
    
    .footer-grid-custom {
        grid-template-columns: 1fr 1fr;
    }
    
    .gsc-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .gsc-metric {
        border-bottom: 1px solid #E0E0E0;
    }
    .gsc-metric:nth-child(2) { border-right: none; }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .step-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-logo-img {
        height: 18px;
    }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }
    
    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 180px);
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.05rem;
        margin: 0 auto 30px auto;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .form-group-row {
        flex-direction: column;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        display: none; /* Hide on small screens to avoid clutter */
    }
}

@media (max-width: 480px) {
    .contact-form-card,
    .cta-form {
        padding: 20px 16px;
    }
    .footer-grid-custom {
        grid-template-columns: 1fr;
    }
    
    .footer-top-container {
        flex-direction: column;
        text-align: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}
