/* ===================================
   ZERO LABS KOREA - Stylesheet
   Clean Minimal Design
   =================================== */

/* CSS Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-card: #ffffff;

    --text-primary: #111111;
    --text-secondary: #555555;
    --text-tertiary: #999999;

    --accent-primary: #0066ff;
    --accent-hover: #0052cc;
    --accent-light: #f0f5ff;

    --border-color: #e5e5e5;
    --border-color-hover: #cccccc;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);

    --font-primary: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-width: 1100px;
    --section-padding: 96px;

    --transition-fast: 0.15s ease;
    --transition-medium: 0.2s ease;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
}

/* 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);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-medium);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-zero {
    color: var(--accent-primary);
}

.logo-labs {
    color: var(--text-primary);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-medium);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    transition: var(--transition-medium);
}

.nav-cta:hover {
    background: var(--accent-hover);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 160px 24px 96px;
}

.hero-content {
    max-width: 720px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-highlight {
    color: var(--accent-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition-medium);
}

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

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

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

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

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

/* ===================================
   Section Styles
   =================================== */
.section-header {
    margin-bottom: 48px;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-title .highlight {
    color: var(--accent-primary);
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
}

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

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-primary);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

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

/* ===================================
   Products Section
   =================================== */
.products {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card.featured {
    grid-column: span 2;
    background: var(--bg-secondary);
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.product-badge.internal {
    background: #fef9ee;
    color: #b45309;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.product-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features span {
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.product-link:hover {
    gap: 10px;
}

/* Product Preview Cards (Homepage & Products page) */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-preview-card {
    display: flex;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.product-preview-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.product-preview-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.product-preview-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

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

.product-preview-content .product-badge {
    margin-bottom: 8px;
}

.product-preview-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-preview-content > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-preview-content .product-features {
    margin-bottom: 16px;
}

.product-preview-content .product-features span {
    padding: 4px 10px;
    font-size: 0.75rem;
}

.product-preview-content .product-link {
    font-size: 0.875rem;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.about-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
}

.feature-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* About Visual */
.about-visual {
    position: relative;
}

.visual-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.card-content {
    position: relative;
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-lg);
    margin: 0 auto 20px;
}

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

.card-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.stats-cards {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.mini-stat {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.mini-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.mini-stat-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.portfolio-icon-area {
    position: relative;
    height: 160px;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.portfolio-icon-area.color-2 {
    background: #f0fdf4;
}

.portfolio-icon-area.color-2 .portfolio-icon {
    background: #dcfce7;
}

.portfolio-icon-area.color-2 .portfolio-icon svg {
    stroke: #16a34a;
}

.portfolio-icon-area.color-3 {
    background: #fffbeb;
}

.portfolio-icon-area.color-3 .portfolio-icon {
    background: #fef3c7;
}

.portfolio-icon-area.color-3 .portfolio-icon svg {
    stroke: #d97706;
}

.portfolio-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
}

.portfolio-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.portfolio-category {
    padding: 4px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 3px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ===================================
   News Section
   =================================== */
.news {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.news-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-image {
    height: 180px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.news-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* News Fallback */
.news-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    min-height: 180px;
}

.news-fallback span {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
}

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

.cta-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.contact-single {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.contact-details-horizontal .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.contact-details-horizontal .contact-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.contact-details-horizontal .contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 16px 0;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.contact-details-horizontal .contact-icon svg {
    stroke: var(--accent-primary);
    width: 22px;
    height: 22px;
}

.contact-details-horizontal .contact-text strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details-horizontal .contact-text a,
.contact-details-horizontal .contact-text span {
    font-size: 0.9375rem;
    color: var(--text-primary);
    word-break: break-all;
}

.contact-details-horizontal .contact-text a:hover {
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 44px;
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 64px 0 24px;
    background: var(--text-primary);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand .logo-zero {
    color: var(--accent-primary);
}

.footer-brand .logo-labs {
    color: white;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: white;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ===================================
   Page Header (for sub pages)
   =================================== */
.page-header {
    padding: 140px 0 64px;
    background: var(--bg-primary);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.page-header .highlight {
    color: var(--accent-primary);
}

.page-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-tertiary);
}

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

.breadcrumb span {
    color: var(--text-tertiary);
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================
   News Page Specific
   =================================== */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    align-items: center;
}

.news-search {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.news-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.news-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.news-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.category-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.category-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.pagination-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: var(--text-tertiary);
    padding: 0 4px;
    font-size: 0.8125rem;
}

/* News Modal */
.news-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.news-modal.active {
    display: flex;
    opacity: 1;
}

.news-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.news-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.news-modal-close:hover {
    background: var(--accent-primary);
    color: white;
}

.news-modal-image {
    width: 100%;
    height: 260px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-body {
    padding: 28px;
}

.news-modal-body .news-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.news-modal-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-modal-body .news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.news-modal-body .news-content-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.results-info {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.results-info strong {
    color: var(--accent-primary);
}

/* ===================================
   Contact Page Specific
   =================================== */
.contact-section {
    padding: 48px 0 96px;
}

.contact-content {
    max-width: 720px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

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

.contact-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.contact-card a:hover {
    gap: 10px;
}

.contact-card a svg {
    width: 16px;
    height: 16px;
}

.social-section {
    text-align: center;
    margin-bottom: 48px;
}

.social-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.products-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.products-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    text-align: center;
}

.products-section > p {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-bottom: 24px;
}

.contact-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.contact-page .product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-page .product-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.contact-page .product-link svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

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

.hero-title {
    animation: fadeInUp 0.5s ease forwards;
}

.hero-description {
    animation: fadeInUp 0.5s ease 0.1s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 0.5s ease 0.2s forwards;
    opacity: 0;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-card.featured {
        grid-column: span 1;
    }

    .about-grid {
        gap: 48px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero {
        padding: 120px 24px 64px;
        min-height: 70vh;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual {
        order: -1;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
    }

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

    .product-preview-card {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .news-page-grid {
        grid-template-columns: 1fr;
    }

    .news-filters {
        flex-direction: column;
    }

    .news-search {
        width: 100%;
    }

    .category-filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .category-btn {
        flex-shrink: 0;
    }

    .news-modal-body h2 {
        font-size: 1.25rem;
    }

    .contact-header h2 {
        font-size: 1.5rem;
    }

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

    .products-section {
        padding: 28px 20px;
    }

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

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

    .page-header {
        padding: 120px 0 48px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-cards {
        flex-direction: column;
    }
}

/* Skeleton loader for news */
@keyframes skeleton-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}
