/* ===========================
   Media Factory — Styles
   Dark theme, Inter font, #bff747 accent
   =========================== */

/* ===========================
   CSS Variables
   =========================== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-light: #0f0f0f;
    --color-bg-card: #141414;
    --color-accent: #bff747;
    --color-accent-hover: #acde40;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-text-secondary: #e2e2e2;
    --color-border: #1e1e1e;
    --color-border-light: #2a2a2a;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1320px;
    --header-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--color-accent-hover);
}

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

ul, ol {
    list-style: none;
}

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

/* ===========================
   Header / Navigation
   =========================== */
.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    height: var(--header-height);
    transition: background 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header-wrap.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.site-header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo .logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.primary-nav > ul > li {
    position: relative;
}

.primary-nav ul li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current_page_item > a,
.primary-nav ul li.active > a {
    color: var(--color-accent);
}

/* Dropdown */
.primary-nav ul li ul.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.primary-nav ul li:hover > ul.sub-menu {
    display: flex;
}

.primary-nav ul li ul.sub-menu li a {
    padding: 10px 16px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 8px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.primary-nav ul li ul.sub-menu li a:hover {
    background: rgba(191, 247, 71, 0.06);
    color: var(--color-accent);
}

/* Dropdown arrow */
.primary-nav > ul > li.menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 4px;
    transition: transform var(--transition);
}

.primary-nav > ul > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Header grid icon */
.header-grid-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
    margin-left: 16px;
    background: none;
    flex-shrink: 0;
}

.header-grid-btn:hover {
    border-color: var(--color-accent);
    background: rgba(191, 247, 71, 0.04);
}

.header-grid-btn .grid-dots {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    gap: 3px;
}

.header-grid-btn .grid-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-text);
    transition: background var(--transition);
}

.header-grid-btn:hover .grid-dots span {
    background: var(--color-accent);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
    background: var(--color-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.65);
    z-index: 1;
}

.hero-bg canvas {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 100px 80px;
}

/* Hero tags */
.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid var(--color-border-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition);
    cursor: default;
}

.hero-tags .tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hero-tags .tag .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* Hero headings */
.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 40px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hero grid */
.hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-circle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: relative;
    width: 120px;
    height: 120px;
    cursor: pointer;
}

.hero-circle .circle-text {
    width: 100%;
    height: 100%;
    animation: rotateCircle 15s linear infinite;
}

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

.hero-circle .circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle .circle-center svg {
    width: 24px;
    height: 24px;
}

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

.hero-info .highlight-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-info .description-text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(191, 247, 71, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}

.btn-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.btn:hover .btn-arrow {
    transform: translate(3px, -3px);
}

/* ===========================
   Marquee Section
   =========================== */
.marquee-section {
    overflow: hidden;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.marquee-item .sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

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

.section-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    z-index: 0;
}

.section-bg > .container {
    position: relative;
    z-index: 1;
}

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

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: left;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(191, 247, 71, 0.08);
    border-radius: 50px;
    text-align: left;
}

.section-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent), 0 0 12px rgba(191, 247, 71, 0.4);
    flex-shrink: 0;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
}

h1 strong, h2 strong, h3 strong {
    color: var(--color-accent);
     font-weight: 900;
}

 span {
    color: var(--color-bg);
     font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.section-header.center p {
    margin: 0 auto;
}

/* ===========================
   Title12 / Desc12
   =========================== */
.title12-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.title12-left .section-label {
    display: inline-flex;
    margin-bottom: 20px;
}

.title12-heading {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.25;
    margin: 0;
}

.title12-heading strong {
    color: var(--color-text);
    font-weight: 800;
}

.desc12-right p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 24px 0;
}

.desc12-right p:last-child {
    margin-bottom: 0;
}

/* Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.offering-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 36px 30px;
    transition: border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.offering-card:hover {
    border-color: rgba(191, 247, 71, 0.2);
    transform: translateY(-4px);
}

.offering-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.offering-icon svg {
    width: 48px;
    height: 48px;
}

.offering-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px 0;
}

.offering-card > p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
    flex: 1;
}

.offering-benefits {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offering-benefits strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.offering-benefits span {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===========================
   Cooperation Process (sticky)
   =========================== */
.collab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.collab-sticky {
    position: sticky;
    top: 120px;
    padding-right: 20px;
}

.collab-heading {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.3;
    margin: 0 0 24px 0;
}

.collab-heading strong {
    color: var(--color-accent);
    font-weight: 800;
}

.collab-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 32px 0;
}

.collab-steps {
    position: relative;
    padding-left: 32px;
}

/* Vertical timeline line */
.collab-steps::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--color-border);
}

.collab-step {
    position: relative;
    padding-bottom: 48px;
}

.collab-step:last-child {
    padding-bottom: 0;
}

.collab-step-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: var(--color-bg);
    z-index: 1;
}

.collab-step-content {
    padding: 0;
}

.collab-step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.collab-step-icon svg {
    width: 48px;
    height: 48px;
}

.collab-step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px 0;
}

.collab-step-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ===========================
   Why Not For Everyone
   =========================== */
.not-everyone-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.not-everyone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.not-everyone-heading {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.3;
    margin: 0 0 28px 0;
}

.not-everyone-heading strong {
    color: var(--color-accent);
    font-weight: 800;
}

.not-everyone-text > p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0 0 20px 0;
}

.not-everyone-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.not-everyone-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 8px;
}

.not-everyone-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    top: 0;
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 700;
}

.not-everyone-list li strong {
    font-weight: 700;
}

.not-everyone-image {
    border-radius: 16px;
    overflow: hidden;
}

.not-everyone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* ===========================
   Why SEO / Stats
   =========================== */
.why-seo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.stat-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.why-seo-text {
    margin-bottom: 30px;
}

.why-seo-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.accent {
    color: var(--color-accent);
    font-weight: 700;
}

.why-seo-benefits h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.values-list {
    list-style: none;
}

.values-list li {
    position: relative;
    padding: 12px 0 12px 24px;
    font-size: 15px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    line-height: 1.6;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.values-list li strong {
    color: var(--color-text);
}

/* ===========================
   Case Study
   =========================== */
.case-study-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
}

.case-study-image {
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.case-study-content p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.case-study-stats {
    display: flex;
    gap: 40px;
}

.cs-stat {
    display: flex;
    flex-direction: column;
}

.cs-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-accent);
}

.cs-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ===========================
   Process Steps
   =========================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
}

.process-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-6px);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.4;
    margin-bottom: 16px;
}

.process-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===========================
   Blog Cards
   =========================== */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.blog-card-image {
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.blog-card-content h3 a:hover {
    color: var(--color-accent);
}

.blog-card-meta {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===========================
   CTA Block
   =========================== */
.cta-block {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 80px;
    text-align: center;
}

.cta-block h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-block p {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-section {
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: color var(--transition);
}

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

.faq-question h3 {
    font-size: 17px;
    font-weight: 700;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.faq-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-text);
    transition: stroke var(--transition);
}

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

.faq-item.active .faq-icon svg {
    stroke: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.faq-answer-inner {
    padding: 0 0 24px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ===========================
   Contact CTA Section
   =========================== */
.contact-cta-section {
    padding: 80px 0;
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
}

.contact-cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-cta-left h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.contact-cta-left h2 {
    font-size: 36px;
    font-weight: 900;
}

/* ===========================
   Green Dot
   =========================== */
.green-dot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0.3;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: 0 0 12px rgba(191, 247, 71, 0.4);
}

.green-dot:hover {
    transform: scale(1.5);
}

/* ===========================
   Footer
   =========================== */
footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-main {
    padding: 60px 0 40px;
}

.site-footer {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-accent);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: var(--color-text-secondary);
    font-size: 14px;
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: var(--color-accent);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--color-text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--color-accent);
    background: rgba(191, 247, 71, 0.06);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text-muted);
    transition: fill var(--transition);
}

.footer-social a:hover svg {
    fill: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
}

.footer-bottom-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-accent);
}

/* ===========================
   Page Templates
   =========================== */
.page-hero {
    padding: 140px 0 60px;
    text-align: left;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.7;
}

.page-content {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 100px;
}

.dynamic-page-content {
    padding-top: calc(var(--header-height) + 40px);
}

.page-home .dynamic-page-content {
    padding-top: 0;
}

/* Card */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all var(--transition);
}

.card:hover {
    border-color: rgba(191, 247, 71, 0.2);
}

/* ===========================
   Services Grid
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

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

/* ===========================
   Team Grid
   =========================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.team-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.team-card .role {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-card .info {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===========================
   Contact Grid
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--color-accent);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.contact-card a {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 16px;
}

/* ===========================
   Contact Form
   =========================== */
.contact-form-wrap {
    margin-bottom: 40px;
}

.contact-form-wrap h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

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

/* ===========================
   Error 404
   =========================== */
.error-404 {
    text-align: center;
    padding: 120px 0 100px;
}

.error-code {
    font-size: 140px;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.error-404 p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* ===========================
   Content Layout (Blog)
   =========================== */
.content-layout {
    display: flex;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 60px;
}

.content-main {
    flex: 1;
    min-width: 0;
}

.blog-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Posts */
.post {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
}

.post-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--color-text);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--color-accent);
}

.post-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.post-content {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    margin-top: 12px;
}

/* ===========================
   Scroll Animations
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-content {
        padding: 40px 24px 60px;
    }

    .site-header {
        padding: 0 24px;
    }

    .why-seo-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .title12-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

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

    .collab-sticky {
        position: static;
    }

    .not-everyone-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .not-everyone-image {
        order: -1;
    }

    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-study-content {
        padding: 30px;
    }

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

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

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

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

    .cta-block {
        padding: 50px 30px;
    }
}

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        transition: right var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .primary-nav ul li a {
        padding: 14px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--color-border);
    }

    .primary-nav ul li ul.sub-menu {
        position: static;
        transform: none;
        min-width: auto;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        display: none;
        box-shadow: none;
    }

    .primary-nav ul li.sub-menu-open > ul.sub-menu {
        display: flex;
    }

    .primary-nav ul li ul.sub-menu li a {
        border-bottom: 1px solid var(--color-border);
    }

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

    .header-grid-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-circle-wrap {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
        justify-content: center;
    }

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

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

    .blog-cards-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0 24px;
    }

    .contact-cta-grid {
        flex-direction: column;
        text-align: center;
    }

    .site-footer {
        padding: 0 24px;
    }

    .page-hero {
        padding: 100px 0 40px;
    }

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

    .content-layout {
        flex-direction: column;
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 16px 40px;
    }

    .container {
        padding: 0 16px;
    }

    .site-header {
        padding: 0 16px;
    }

    .stat-value {
        font-size: 32px;
    }

    .case-study-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-circle {
        width: 140px;
        height: 140px;
    }
}
