/* Nashville SEO - Main Stylesheet
 * Design inspired by 0to9.nl with wave animations and Nashville music theme
 * Colors: #001BB7 (deep blue), #0046FF (bright blue), #FF8040 (orange), #F5F1DC (cream)
 */

/* ===== CSS Variables ===== */
:root {
    --color-primary: #001BB7;
    --color-secondary: #0046FF;
    --color-accent: #FF8040;
    --color-gold: #F5F1DC;
    --color-dark: #0a0a1a;
    --color-light: #F5F1DC;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e5e5e5;

    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-accent) 0%, #FF9F5F 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-dark) 0%, #1a1a3a 100%);

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

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(0, 27, 183, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --container-max: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

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

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

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

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

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo svg {
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--color-text);
    padding: 8px 0;
    position: relative;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

.nav-links > li > a.active {
    color: var(--color-primary);
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.lang-switcher a {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: var(--color-primary);
}

.lang-divider {
    color: var(--color-border);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9ff 0%, var(--color-white) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.wave-1 {
    animation: wave 15s linear infinite;
}

.wave-2 {
    animation: wave 12s linear infinite reverse;
    opacity: 0.5;
}

.wave-3 {
    animation: wave 18s linear infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--color-gold);
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--color-accent);
    top: 30%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.hero-floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 1s;
}

.hero-floating-card.card-3 {
    bottom: 40%;
    right: -40px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.floating-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.floating-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ===== Sections ===== */
section {
    padding: 100px 0;
}

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

/* ===== Services Section ===== */
.services-section {
    background: linear-gradient(180deg, var(--color-white) 0%, #f8f9ff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(54,1,133,0.1) 0%, rgba(143,1,119,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* ===== About Section ===== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.about-feature span {
    font-weight: 500;
}

/* ===== Process Section ===== */
.process-section {
    background: var(--gradient-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.process-section .section-label {
    color: var(--color-gold);
}

.process-section .section-title {
    color: var(--color-white);
}

.process-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.process-wave svg {
    width: 100%;
    height: 100%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(244, 179, 66, 0.3);
}

.process-step h4 {
    color: var(--color-white);
    margin-bottom: 12px;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: linear-gradient(180deg, #f8f9ff 0%, var(--color-white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    fill: var(--color-gold);
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.cta-section .btn-gold:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: var(--color-light);
}

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

.stat-item {
    padding: 20px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(180deg, var(--color-white) 0%, #f8f9ff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(54,1,133,0.1) 0%, rgba(143,1,119,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--color-text-light);
}

.contact-item-content a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(54, 1, 133, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    color: var(--color-text-light);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding-top: 80px;
    position: relative;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
    transform: translateY(-99%);
}

.footer-waves svg {
    width: 100%;
    height: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-contact-info strong {
    color: var(--color-white);
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-links address {
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 16px;
}

.business-hours {
    color: rgba(255, 255, 255, 0.7);
}

.business-hours strong {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

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

/* ===== Page Headers ===== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #f8f9ff 0%, var(--color-white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.05;
}

.page-header .section-label {
    margin-bottom: 16px;
}

.page-header h1 {
    margin-bottom: 20px;
}

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

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    margin-bottom: 16px;
    justify-content: center;
}

.breadcrumbs a {
    color: var(--color-text-light);
}

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

.breadcrumbs span {
    color: var(--color-text-light);
}

/* ===== Service Detail Page ===== */
.service-detail {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.service-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.service-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.service-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.sidebar-card h4 {
    margin-bottom: 20px;
}

.sidebar-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sidebar-services a:hover,
.sidebar-services a.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

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

.sidebar-cta h4 {
    color: var(--color-white);
}

.sidebar-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--color-light);
    padding: 80px 0;
}

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

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

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

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.team-member h4 {
    margin-bottom: 4px;
}

.team-role {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* ===== Error Page ===== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.error-page h1 {
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-page h2 {
    margin-bottom: 16px;
}

.error-page > .container > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.popular-pages h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.popular-pages ul {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.popular-pages a {
    color: var(--color-primary);
    font-weight: 500;
}

.popular-pages a:hover {
    text-decoration: underline;
}

/* ===== Related Services ===== */
.related-services {
    padding: 80px 0;
    background: var(--color-light);
}

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

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .process-grid::before {
        display: none;
    }

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

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

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

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

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

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
        z-index: 1000;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

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

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

    .nav-links > li > a {
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links > li > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        opacity: 1;
        transform: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .header-actions.mobile-visible {
        display: flex;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 20px;
        justify-content: center;
        border-top: 1px solid var(--color-border);
    }

    section {
        padding: 60px 0;
    }

    .services-grid,
    .testimonials-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .error-page h1 {
        font-size: 5rem;
    }

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

    .popular-pages ul {
        flex-direction: column;
        gap: 16px;
    }

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

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

/* ===== Unique Service Page Layouts ===== */

/* Service Hero with Illustration */
.service-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
    overflow: hidden;
}

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

.service-hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.service-hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.service-hero-content .lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.service-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Animations */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

@keyframes growBar {
    from { width: 0; }
    to { width: var(--bar-width); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Full-width service content (no sidebar) */
.service-content-full {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
}

.service-content-full h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-content-full h2:first-child {
    margin-top: 0;
}

.service-content-full p {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* === KEYWORD RESEARCH PAGE === */
.keyword-stats-section {
    background: var(--color-dark);
    padding: 80px 0;
    color: var(--color-white);
}

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

.keyword-stat {
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.keyword-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.keyword-stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.keyword-process {
    padding: 100px 0;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gradient-primary);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.process-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* === ON-PAGE OPTIMIZATION PAGE === */
.onpage-features {
    padding: 100px 0;
    background: var(--color-light);
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

.feature-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 27, 183, 0.1), rgba(0, 70, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-card-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--color-primary);
}

.feature-card h4 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.checklist-section {
    padding: 100px 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.checklist-image {
    position: relative;
}

.checklist-items {
    list-style: none;
    padding: 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transition: all var(--transition-fast);
}

.checklist-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.checklist-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-icon svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

/* === LINK BUILDING PAGE === */
.link-network-section {
    padding: 100px 0;
    background: var(--color-dark);
    color: var(--color-white);
    overflow: hidden;
}

.network-visual {
    position: relative;
    height: 400px;
    margin-top: 50px;
}

.network-node {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 70, 255, 0.4);
}

.network-node.center {
    width: 140px;
    height: 140px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-gold);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

.network-node svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.authority-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.link-types-section {
    padding: 100px 0;
}

.link-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.link-type-card {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.link-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.link-type-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-type-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

/* === LOCAL SEO PAGE === */
.local-map-section {
    padding: 100px 0;
    background: var(--color-light);
}

.map-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.map-illustration {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-pin {
    position: absolute;
    animation: float 2s ease-in-out infinite;
}

.map-pin svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.map-pin.main {
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
}

.map-pin.main svg {
    width: 70px;
    height: 70px;
    fill: var(--color-gold);
}

.local-features-list {
    list-style: none;
    padding: 0;
}

.local-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.local-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.local-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.local-feature-item h4 {
    margin-bottom: 4px;
}

.local-feature-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.gmb-section {
    padding: 100px 0;
}

.gmb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gmb-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-primary);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transition: all var(--transition-normal);
}

.gmb-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gmb-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 27, 183, 0.1), rgba(0, 70, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gmb-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
}

/* === CONTENT STRATEGY PAGE === */
.content-types-section {
    padding: 100px 0;
    background: var(--color-light);
}

.content-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.content-type-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.content-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.content-type-card:hover::before {
    transform: scaleX(1);
}

.content-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.content-type-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 27, 183, 0.1), rgba(0, 70, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.content-type-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.content-type-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.content-type-card p {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.content-calendar-section {
    padding: 100px 0;
}

.calendar-visual {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    margin-top: 50px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-light);
}

.calendar-header h4 {
    font-size: 1.25rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.calendar-day.has-content {
    background: linear-gradient(135deg, rgba(0, 27, 183, 0.1), rgba(0, 70, 255, 0.1));
    cursor: pointer;
}

.calendar-day.has-content:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.calendar-day.featured {
    background: var(--gradient-gold);
    color: var(--color-dark);
}

/* === TECHNICAL SEO PAGE === */
.tech-dashboard-section {
    padding: 100px 0;
    background: var(--color-dark);
    color: var(--color-white);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.dashboard-metric {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.dashboard-metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.dashboard-metric-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.dashboard-metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.dashboard-metric-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

.tech-audit-section {
    padding: 100px 0;
}

.audit-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.audit-category {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.audit-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-light);
}

.audit-category-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-category-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.audit-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light);
}

.audit-item:last-child {
    border-bottom: none;
}

.audit-item-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audit-item-status.check {
    background: var(--color-success);
}

.audit-item-status svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.code-block {
    background: #1a1a2e;
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 30px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #a8b2d1;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-block .keyword {
    color: #c792ea;
}

.code-block .string {
    color: #c3e88d;
}

.code-block .tag {
    color: #89ddff;
}

/* Service page responsive */
@media (max-width: 1024px) {
    /* Prevent overflow */
    .hero,
    .service-hero,
    .about-section {
        overflow: hidden;
    }

    .service-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-hero-visual {
        order: -1;
    }

    .service-illustration {
        max-width: 350px;
        margin: 0 auto;
    }

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

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-timeline::before {
        display: none;
    }

    .feature-showcase,
    .gmb-grid,
    .authority-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .checklist-grid,
    .map-features,
    .link-types-grid,
    .audit-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Prevent overflow at tablet size */
    html, body {
        overflow-x: hidden;
    }

    .service-hero {
        padding: 60px 0;
        overflow: hidden;
    }

    .service-hero-content h1 {
        font-size: 2rem;
    }

    .keyword-stats-grid,
    .dashboard-grid,
    .feature-showcase,
    .gmb-grid,
    .authority-metrics {
        grid-template-columns: 1fr;
    }

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

    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }

    .calendar-day {
        font-size: 0.75rem;
    }

    /* Hide decorative elements that may overflow */
    .hero-shape,
    .about-image-accent {
        display: none;
    }

    .hero,
    .about-section,
    .process-section,
    .cta-section {
        overflow: hidden;
    }
}

/* ===== Enhanced Mobile Responsive Styles ===== */

/* Small tablets and large phones */
@media (max-width: 640px) {
    /* Prevent horizontal overflow - critical fixes */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    /* Global overflow fix */
    *:not(script):not(style) {
        max-width: 100vw;
    }

    /* Header - allow menu to overflow */
    .site-header {
        overflow: visible;
    }

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

    /* Base typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }

    .container {
        padding: 0 16px;
        max-width: 100%;
        overflow-x: hidden;
    }

    section {
        padding: 50px 0;
        overflow-x: hidden;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        overflow: hidden;
    }

    .hero-bg,
    .hero-shapes,
    .hero-wave {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

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

    .hero-stat-value {
        font-size: 2rem;
    }

    .hero-visual {
        display: none;
    }

    /* Hide floating elements that cause overflow */
    .hero-floating-card,
    .hero-image-container {
        display: none;
    }

    /* Section headers */
    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Page headers */
    .page-header {
        padding: 100px 0 40px;
        text-align: center;
    }

    .page-header .breadcrumbs {
        justify-content: center;
    }

    /* Service Hero */
    .service-hero {
        padding: 100px 0 50px;
        overflow: hidden;
    }

    .service-hero .container {
        text-align: center;
    }

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

    .service-hero-content .lead {
        font-size: 1rem;
    }

    .service-hero-visual {
        overflow: visible;
        padding: 20px 0;
    }

    .service-illustration {
        max-width: 320px;
        margin: 0 auto;
        overflow: visible;
    }

    /* SVG illustrations - allow overflow for animations */
    .service-illustration svg,
    .service-hero-visual svg {
        max-width: 100%;
        height: auto;
        overflow: visible;
    }

    /* Service content */
    .service-content-full {
        padding: 50px 0;
    }

    .service-content-full h2 {
        font-size: 1.5rem;
    }

    .service-content-full p {
        font-size: 1rem;
    }

    /* Grids - all single column */
    .keyword-stats-grid,
    .dashboard-grid,
    .feature-showcase,
    .gmb-grid,
    .authority-metrics,
    .content-types-grid,
    .link-types-grid,
    .audit-categories,
    .checklist-grid,
    .map-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Stats */
    .keyword-stat-number,
    .metric-value,
    .dashboard-metric-value {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    /* Cards */
    .feature-card,
    .gmb-card,
    .content-type-card,
    .link-type-card {
        padding: 24px 20px;
    }

    .link-type-card {
        flex-direction: column;
        text-align: center;
    }

    .link-type-icon {
        margin: 0 auto;
    }

    /* Process timeline */
    .process-timeline {
        flex-direction: column;
        gap: 24px;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        padding: 0;
    }

    .process-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    /* Local SEO map */
    .local-map-section {
        overflow: hidden;
    }

    .map-illustration {
        height: 280px;
        overflow: hidden;
    }

    .map-features {
        gap: 30px;
    }

    /* Link building section */
    .link-network-section {
        overflow: hidden;
    }

    .network-visual {
        display: none;
    }

    /* Checklist */
    .checklist-item {
        padding: 16px;
    }

    /* About section */
    .about-section {
        overflow: hidden;
    }

    .about-content {
        gap: 40px;
    }

    .about-image {
        overflow: hidden;
    }

    .about-image-accent {
        display: none;
    }

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

    /* Contact section */
    .contact-grid {
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .cta-content {
        text-align: center;
        padding: 0 16px;
    }

    /* Process section */
    .process-section {
        overflow: hidden;
    }

    .process-wave {
        display: none;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* FAQ Section */
    .faq-section {
        padding: 50px 0;
    }

    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 16px 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    /* Calendar */
    .calendar-visual {
        padding: 20px;
    }

    .calendar-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .calendar-grid {
        gap: 3px;
    }

    .calendar-day {
        font-size: 0.7rem;
    }

    /* Tech dashboard */
    .tech-dashboard-section {
        padding: 50px 0;
    }

    .dashboard-metric {
        padding: 20px;
    }

    /* Audit categories */
    .audit-category {
        padding: 24px;
    }

    .audit-category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Code blocks */
    .code-block {
        padding: 16px;
        margin: 20px 0;
    }

    .code-block pre {
        font-size: 0.75rem;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .service-hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .keyword-stat-number,
    .metric-value,
    .dashboard-metric-value {
        font-size: 1.75rem;
    }

    .feature-card,
    .gmb-card,
    .content-type-card {
        padding: 20px 16px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .faq-question {
        padding: 14px;
        font-size: 0.9rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-visual {
        display: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .hero-visual {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* =====================================================
   KEYWORDS CAROUSEL SECTION
   ===================================================== */

.keywords-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9ff 0%, var(--color-white) 100%);
    overflow: hidden;
}

.keywords-carousel-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
}

.keywords-carousel-row {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.keywords-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll-left var(--duration, 200s) linear infinite;
}

.keywords-carousel-row[data-direction="right"] .keywords-track {
    animation-name: scroll-right;
}

.keywords-carousel-row:hover .keywords-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.keyword-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.keyword-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 27, 183, 0.1), transparent);
    transition: left 0.5s ease;
}

.keyword-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 27, 183, 0.2);
}

.keyword-chip:hover::before {
    left: 100%;
}

.keyword-chip:active {
    transform: translateY(-1px) scale(0.98);
}

/* Popup Modal */
.keyword-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 1rem;
}

.keyword-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.keyword-popup {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.keyword-popup-overlay.active .keyword-popup {
    transform: scale(1) translateY(0);
}

.keyword-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #f0f0f5;
    color: var(--color-text);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.keyword-popup-close:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg);
}

.keyword-popup-content {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 85vh;
}

.keyword-popup-content h1,
.keyword-popup-content h2,
.keyword-popup-content h3 {
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.keyword-popup-content h1 {
    font-size: 1.75rem;
    padding-right: 3rem;
}

.keyword-popup-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    color: var(--color-primary);
}

.keyword-popup-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
}

.keyword-popup-content p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.keyword-popup-content ul,
.keyword-popup-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--color-text-light);
}

.keyword-popup-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.keyword-popup-content a {
    color: var(--color-secondary);
    text-decoration: none;
}

.keyword-popup-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .keywords-section {
        padding: 3rem 0;
    }

    .keywords-carousel-wrapper {
        gap: 1rem;
    }

    .keyword-chip {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .keyword-popup {
        max-height: 90vh;
        border-radius: var(--radius-md);
    }

    .keyword-popup-content {
        padding: 1.5rem;
        padding-top: 3.5rem;
    }

    .keyword-popup-content h1 {
        font-size: 1.4rem;
    }

    .keyword-popup-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .keyword-chip {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .keyword-popup-content {
        padding: 1rem;
        padding-top: 3rem;
    }

    .keyword-popup-content h1 {
        font-size: 1.25rem;
    }

    .keyword-popup-content h2 {
        font-size: 1.15rem;
    }
}

/* Shimmer effect */
@keyframes chip-shimmer {
    0%, 100% { box-shadow: var(--shadow-sm); }
    50% { box-shadow: var(--shadow-sm), 0 0 15px rgba(0, 27, 183, 0.3); }
}

.keyword-chip:nth-child(5n) {
    animation: chip-shimmer 3s ease-in-out infinite;
}

.keyword-chip:nth-child(7n) {
    animation: chip-shimmer 4s ease-in-out infinite 1s;
}
