/* ==========================================================================
   리움테크 (Liumtech) Premium Styling System
   ========================================================================== */

/* 1. 디자인 시스템 토큰 (CSS Variables) */
:root {
    /* Color System */
    --primary: hsl(198, 85%, 38%);        /* 청량하고 신뢰감 있는 메디컬 블루/민트 */
    --primary-light: hsl(198, 85%, 96%);  /* 연한 블루 배경 */
    --primary-dark: hsl(198, 90%, 20%);   /* 깊이감 있는 블루 */
    --accent: hsl(38, 80%, 56%);          /* 고급스러운 샴페인 골드 */
    --accent-light: hsl(38, 80%, 96%);    /* 골드 연한 배경 */
    --accent-dark: hsl(38, 90%, 35%);     /* 골드 강조 */
    
    --success: hsl(150, 60%, 40%);        /* 완료/성공 초록 */
    --danger: hsl(350, 75%, 55%);         /* 오류/경고 빨강 */
    
    /* Neutral Colors */
    --text-main: hsl(210, 30%, 15%);      /* 주 텍스트 (다크 블루-네이비 계열) */
    --text-muted: hsl(210, 15%, 46%);     /* 보조/설명 텍스트 */
    --bg-light: hsl(210, 40%, 98%);       /* 맑고 깨끗한 배경 */
    --bg-white: hsl(0, 0%, 100%);
    --border-color: hsl(210, 20%, 90%);   /* 연한 경계선 */
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: saturate(180%) blur(25px);
    
    /* Typography */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 36px rgba(18, 38, 63, 0.06);
    --shadow-lg: 0 24px 60px rgba(18, 38, 63, 0.12);
    
    /* Layout */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Base Settings */
* {
    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-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* 3. Common Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.brand-text { color: var(--primary); }
.highlight-text { color: var(--primary); font-weight: 800; }
.green-text { color: var(--success); font-weight: 700; }
.blue-text { color: var(--primary); font-weight: 700; }
.green-bg { background-color: var(--success); }
.blue-bg { background-color: var(--primary); }
.hidden { display: none !important; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Common Headers */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-dark);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 20px auto 24px auto;
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

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

/* 4. Header & Navigation (Glassmorphism) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 1000;
    transition: background-color var(--transition-normal), height var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

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

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-btn {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    color: var(--text-main);
}

/* 5. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    z-index: 2;
}

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

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    background-color: var(--primary-light);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(42, 157, 143, 0.15);
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

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

.glow-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 2px dashed rgba(42, 157, 143, 0.2);
    border-radius: 50%;
    animation: rotate 60s linear infinite;
}

.glow-ring-2 {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1.5px solid rgba(233, 196, 106, 0.2);
    border-radius: 50%;
    animation: rotate-reverse 40s linear infinite;
}

/* Premium Dashboard Card inside Hero visual */
.visual-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    width: 280px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    z-index: 3;
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
    transition: transform var(--transition-normal);
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.card-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-header .dot.red { background-color: var(--danger); }
.card-header .dot.yellow { background-color: var(--accent); }
.card-header .dot.green { background-color: var(--success); }

.card-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: auto;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.stat-row .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-row .value {
    font-size: 1.05rem;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
}

/* 6. About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: center;
}

.about-info h3 {
    font-size: 1.85rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.about-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

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

.feature-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.95rem;
    margin: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    text-align: center;
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* 7. Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.card-icon-container {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.service-card:hover .card-icon-container {
    background-color: var(--primary);
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.card-list {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    position: relative;
    padding-left: 18px;
    font-weight: 500;
}

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

/* 8. Solutions Section */
.solutions-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.tabs-container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 16px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2.5px;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-icon {
    transition: transform var(--transition-fast);
}

.tab-btn.active .tab-icon {
    transform: scale(1.1);
}

.tabs-content {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    min-height: 420px;
}

.tab-pane {
    display: none;
    animation: fadeIn var(--transition-normal) forwards;
}

.tab-pane.active {
    display: block;
}

.tab-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.tab-desc h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
}

.tab-desc p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}

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

.tab-image-container {
    width: 100%;
}

.tab-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* Interactive custom placeholder when image not generated */
.dynamic-placeholder {
    width: 100%;
    height: 320px;
    background-color: var(--bg-white);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.placeholder-visual svg {
    margin-bottom: 12px;
}

.placeholder-visual p {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 9. Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--border-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 24px;
    top: 0;
    width: 56px;
    height: 56px;
    background-color: var(--bg-white);
    border: 3px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-number {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px 40px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* 10. Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.contact-info {
    max-width: 480px;
}

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 12px;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.detail-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-form-container {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form {
    transition: opacity var(--transition-normal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
}

.form-agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.form-agreement label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-color);
    accent-color: var(--primary);
}

/* Form Submit Loading State Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--bg-white);
    animation: spin 0.8s ease-in-out infinite;
}

/* Success Card */
.form-success-card {
    text-align: center;
    padding: 40px 20px;
    animation: scaleIn var(--transition-normal) forwards;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: hsl(150, 60%, 94%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.form-success-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.form-success-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* 11. Footer */
.footer {
    background-color: var(--text-main);
    color: var(--bg-light);
    padding: 80px 0 40px 0;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 12px;
    display: block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.88rem;
    color: hsl(210, 15%, 75%);
    line-height: 1.6;
}

.footer-links h4,
.footer-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 24px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: hsl(210, 15%, 75%);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-info p {
    font-size: 0.88rem;
    color: hsl(210, 15%, 75%);
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-info a {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: hsl(210, 15%, 60%);
}

/* 12. Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

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

@keyframes rotate-reverse {
    to { transform: rotate(-360deg); }
}

/* Entry Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* 13. Responsive Styles (Media Queries) */

/* 1024px - Tablet Landscape */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-bg {
        width: 100%;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
        opacity: 0.25;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tab-inner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tab-img,
    .dynamic-placeholder {
        height: 260px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 768px - Tablet Portrait & Mobile */
@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 1001;
    }
    
    .mobile-toggle svg {
        transition: transform var(--transition-fast);
    }
    
    /* Navigation Menu Overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 30px 40px 30px;
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    .nav-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 16px;
    }
    
    .hero-content h1 {
        font-size: 2.35rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .tabs-header {
        flex-direction: column;
        gap: 8px;
        border-bottom: none;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-sm);
        padding: 12px;
    }
    
    .tab-btn.active {
        background-color: var(--primary-light);
        border-color: var(--primary);
    }
    
    .tabs-content {
        padding: 24px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-number {
        left: 0px;
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }
    
    .timeline-content {
        padding: 20px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
