/* ============================================================================
   CHIB.STUDIO — Dark Cinematic Theme
   ============================================================================ */

:root {
    --color-bg-dark: #0d0d0d;
    --color-bg-light: #1a1a1a;
    --color-accent-gold: #c4a35a;
    --color-accent-red: #e63946;
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-border: #2a2a2a;
    --spacing-unit: 1rem;
}

/* ============================================================================
   Reset & Base Styles
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8c87f;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

/* ============================================================================
   Navigation
   ============================================================================ */

.navbar {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    letter-spacing: 0.05em;
}

.nav-logo svg {
    filter: drop-shadow(0 0 8px rgba(196, 163, 90, 0.3));
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
}

/* ============================================================================
   Login Page
   ============================================================================ */

.login-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0f0f 50%, #0d1a1a 100%);
    position: relative;
    overflow: hidden;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

.login-box {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.login-box .logo {
    text-align: center;
    margin-bottom: 2rem;
    animation: slideDown 0.8s ease;
}

.login-box .logo svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(196, 163, 90, 0.4));
}

.login-box h1 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.login-box .subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    background-color: rgba(196, 163, 90, 0.05);
    box-shadow: 0 0 12px rgba(196, 163, 90, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group.checkbox label {
    margin-bottom: 0;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-login,
.btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #d4b575 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(196, 163, 90, 0.2);
}

.btn-login:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(196, 163, 90, 0.4);
}

.btn-login:active,
.btn:active {
    transform: translateY(0);
}

.btn.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #d4b575 100%);
    color: #1a1a1a;
}

.login-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    display: none;
    font-size: 0.9rem;
}

.login-message.error {
    display: block;
    background-color: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--color-accent-red);
    color: #ff6b7a;
}

.login-message.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #81c784;
}

.form-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.help-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
}

.storage-stats {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-align: center;
}

.stats-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.storage-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.storage-used {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-red));
    animation: fillBar 2s ease;
}

@keyframes fillBar {
    from {
        width: 0%;
    }
    to {
        width: 29.4%;
    }
}

.stats-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.used {
    color: var(--color-accent-gold);
    font-weight: 600;
}

.total {
    color: var(--color-text-secondary);
}

.separator {
    color: var(--color-border);
}

.login-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ============================================================================
   Hero Sections
   ============================================================================ */

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 15, 15, 0.95) 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(196, 163, 90, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    animation: slideDown 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1s ease 0.3s both;
}

/* ============================================================================
   Container & Sections
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

/* ============================================================================
   About Section
   ============================================================================ */

.about-intro {
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border);
}

.intro-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent-gold);
}

.intro-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================================================
   Stats Section
   ============================================================================ */

.stats-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(196, 163, 90, 0.05);
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================================
   Services Preview
   ============================================================================ */

.services-preview {
    background-color: var(--color-bg-dark);
}

.services-preview h2,
.services-detailed h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-accent-gold);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(196, 163, 90, 0.08);
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(196, 163, 90, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

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

/* ============================================================================
   Services Detailed
   ============================================================================ */

.services-detailed {
    background-color: var(--color-bg-dark);
}

.service-detail-card {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-detail-card.featured {
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.1) 0%, rgba(13, 13, 13, 0.8) 100%);
    border-color: var(--color-accent-gold);
}

.service-detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-detail-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-accent-gold);
}

.service-detail-card p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 1.5rem 0;
}

.spec {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.spec-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.spec-value {
    display: block;
    color: var(--color-accent-gold);
    font-weight: 600;
}

.cloud-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    padding: 1.5rem;
    background: rgba(196, 163, 90, 0.05);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 4px;
}

.feature strong {
    color: var(--color-accent-gold);
}

/* ============================================================================
   Pricing Section
   ============================================================================ */

.pricing {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    text-align: center;
}

.pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pricing-intro {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta {
    margin-top: 2rem;
}

/* ============================================================================
   Workflow Section
   ============================================================================ */

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

.workflow h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(196, 163, 90, 0.08);
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent-gold), #d4b575);
    color: #1a1a1a;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
}

/* ============================================================================
   Infrastructure Section
   ============================================================================ */

.infrastructure {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.infrastructure h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.infra-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.infra-text h3,
.infra-specs h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-accent-gold);
}

.infra-specs ul {
    list-style: none;
}

.infra-specs li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.infra-specs li:last-child {
    border-bottom: none;
}

.infra-specs strong {
    color: var(--color-accent-gold);
}

/* ============================================================================
   Equipment Section
   ============================================================================ */

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

.equipment h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    background: rgba(196, 163, 90, 0.08);
    border-color: var(--color-accent-gold);
}

.equipment-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-accent-gold);
}

.equipment-item ul {
    list-style: none;
}

.equipment-item li {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ============================================================================
   Team Preview
   ============================================================================ */

.team-preview {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    text-align: center;
}

.team-preview h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.team-intro {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.role {
    padding: 0.75rem 1.5rem;
    background: rgba(196, 163, 90, 0.1);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 20px;
    color: var(--color-accent-gold);
    font-size: 0.95rem;
}

/* ============================================================================
   Portfolio Section
   ============================================================================ */

.portfolio-filters {
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: #1a1a1a;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-gold);
    box-shadow: 0 20px 50px rgba(196, 163, 90, 0.15);
}

.card-image {
    width: 100%;
    padding-bottom: 66.67%;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a2d 100%);
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(196, 163, 90, 0.15);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 12px;
    color: var(--color-accent-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 3px;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
}

.card-year {
    font-size: 0.85rem;
    color: var(--color-accent-gold);
    font-weight: 600;
}

.portfolio-stats {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.portfolio-stats h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* ============================================================================
   Contact Section
   ============================================================================ */

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

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

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent-gold);
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.info-block p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.info-block a {
    display: inline;
    color: var(--color-accent-gold);
}

.info-block.important {
    padding: 1.5rem;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 4px;
}

.info-block.important h3 {
    color: var(--color-accent-red);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.error {
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--color-accent-red);
    color: #ff6b7a;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #81c784;
}

/* ============================================================================
   FAQ Section
   ============================================================================ */

.faq {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.8) 100%);
    border-top: 1px solid var(--color-border);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(196, 163, 90, 0.08);
    border-color: var(--color-accent-gold);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent-gold);
}

.faq-item p {
    color: var(--color-text-secondary);
}

/* ============================================================================
   Terms Section
   ============================================================================ */

.terms-content {
    background-color: var(--color-bg-dark);
}

.terms-text {
    max-width: 900px;
    margin: 0 auto;
}

.terms-text h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-accent-gold);
}

.terms-text p {
    line-height: 1.8;
}

.terms-text ul,
.terms-text ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-text li {
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
}

.terms-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ============================================================================
   Footer
   ============================================================================ */

.main-footer {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.95) 100%);
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.main-footer p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

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

    .login-box {
        padding: 2rem;
    }

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

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

    .services-list,
    .services-list,
    .portfolio-grid,
    .infra-content {
        grid-template-columns: 1fr;
    }

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

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

    section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}
