/* ==========================================================================
   Design System & Global Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark-deep: #070a13;
    --bg-dark-slate: #0b0f19;
    --bg-card: rgba(18, 24, 41, 0.65);
    --bg-card-hover: rgba(26, 34, 56, 0.8);
    
    /* Neon Accents */
    --color-primary: #ff2e74;
    --color-primary-glow: rgba(255, 46, 116, 0.3);
    --color-primary-muted: rgba(255, 46, 116, 0.15);
    
    --color-tech: #6366f1;
    --color-tech-glow: rgba(99, 102, 241, 0.3);
    
    /* Service Color Codes for Accordions */
    --color-web: #ff2e74;
    --color-web-glow: rgba(255, 46, 116, 0.4);
    
    --color-it: #10b981;
    --color-it-glow: rgba(16, 185, 129, 0.4);
    
    --color-ai: #8b5cf6;
    --color-ai-glow: rgba(139, 92, 246, 0.4);
    
    --color-av: #f59e0b;
    --color-av-glow: rgba(245, 158, 11, 0.4);

    /* Text Colors */
    --text-pure: #ffffff;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #4b5563;
    
    /* Borders & Glassmorphism */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-active: rgba(255, 255, 255, 0.2);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);

    /* Layout & Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-accordion: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding 0.4s ease;
}

/* ==========================================================================
   Base resets & typography
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, textarea {
    font-family: inherit;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.highlight-text {
    color: var(--color-primary);
    text-shadow: 0 0 15px var(--color-primary-glow);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #d00040 100%);
    color: var(--text-pure);
    border: none;
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--color-primary-glow);
    filter: brightness(1.1);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glass-active);
    transform: translateY(-2px);
}

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

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Section Common Styles */
section {
    padding: 6.5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    font-weight: 300;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(7, 10, 19, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(5, 7, 13, 0.92);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Logo Design */
.logo-link {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.elmicom-svg-logo {
    width: 44px;
    height: 44px;
    transition: var(--transition-smooth);
}

.logo-link:hover .elmicom-svg-logo {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-pure);
    background: linear-gradient(135deg, #ffffff 50%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--text-pure);
}

.nav-link.active {
    color: var(--text-pure);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    border-radius: 2px;
}

.nav-cta {
    background: var(--color-primary-muted);
    border: 1px solid rgba(255, 46, 116, 0.3);
    color: var(--text-pure);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
}

.nav-cta:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-pure);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Animated Hamburger Menu States */
.mobile-menu-toggle[aria-expanded="true"] .bar-1 {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .bar-2 {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-menu-toggle[aria-expanded="true"] .bar-3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(7, 10, 19, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    padding: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

.mobile-nav-cta {
    background: var(--color-primary-muted);
    border: 1px solid rgba(255, 46, 116, 0.3);
    color: var(--text-pure);
    padding: 0.75rem 2rem;
    border-radius: 40px;
}

.mobile-nav-cta:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    background: radial-gradient(circle at 50% 30%, rgba(26, 31, 56, 0.45) 0%, rgba(7, 10, 19, 0.95) 70%);
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 46, 116, 0.12) 0%, rgba(99, 102, 241, 0.08) 50%, rgba(0,0,0,0) 100%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.75rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
    border-color: var(--text-pure);
}

.mouse-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-pure);
    border-radius: 2px;
    animation: scrollMouse 1.8s ease-out infinite;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-dark-slate);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.skills-visual-svg {
    width: 100%;
    height: 100%;
    max-height: 240px;
}

.tech-stack-ribbon {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    text-transform: uppercase;
}

.tech-stack-ribbon span {
    color: var(--text-pure);
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-pure);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 300;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-text-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Services & Accordion System
   ========================================================================== */
.services-section {
    background-color: var(--bg-dark-deep);
}

.services-intro {
    margin-bottom: 4rem;
}

/* Accordion Group Containers */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

/* Accordion Button Headers */
.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-pure);
    cursor: pointer;
    transition: var(--transition-fast);
}

.accordion-icon-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    margin-right: 1.25rem;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.accordion-title-text {
    flex-grow: 1;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1.3;
}

.accordion-number {
    font-size: 1rem;
    font-weight: 800;
    opacity: 0.3;
    font-family: var(--font-body);
}

.accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

/* Accordion Open / Active States styling */
.accordion-item.active {
    background: #0f1524;
}

/* Accordion Specific Glowing Borders and Accents on Active */
.accordion-item.active[data-color="web"] {
    border-color: var(--color-web);
    box-shadow: 0 0 20px rgba(255, 46, 116, 0.15);
}
.accordion-item.active[data-color="it"] {
    border-color: var(--color-it);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}
.accordion-item.active[data-color="ai"] {
    border-color: var(--color-ai);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}
.accordion-item.active[data-color="av"] {
    border-color: var(--color-av);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Dynamic Left Icon colors when open */
.accordion-item.active .accordion-icon-left.web-color {
    background-color: rgba(255, 46, 116, 0.15);
    border-color: var(--color-web);
    color: var(--color-web);
    box-shadow: 0 0 10px rgba(255, 46, 116, 0.3);
}

.accordion-item.active .accordion-icon-left.it-color {
    background-color: rgba(16, 185, 129, 0.15);
    border-color: var(--color-it);
    color: var(--color-it);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.accordion-item.active .accordion-icon-left.ai-color {
    background-color: rgba(139, 92, 246, 0.15);
    border-color: var(--color-ai);
    color: var(--color-ai);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.accordion-item.active .accordion-icon-left.av-color {
    background-color: rgba(245, 158, 11, 0.15);
    border-color: var(--color-av);
    color: var(--color-av);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(-180deg);
    color: var(--text-pure);
}

/* Accordion Expansion Panel details */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: var(--transition-accordion);
}

.accordion-item.active .accordion-content {
    max-height: 1200px; /* Fallback big height, adjusted dynamically in JS */
    opacity: 1;
}

.accordion-inner {
    padding: 0.5rem 1.25rem 2rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.service-intro-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    max-width: 900px;
    font-weight: 300;
}

.service-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
    align-items: center;
}

.service-skills-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 8px;
}

.service-skill-tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item[data-color="web"] .service-skill-tag:hover {
    background: rgba(255, 46, 116, 0.1);
    border-color: var(--color-web);
    color: var(--text-pure);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 46, 116, 0.2);
}

.accordion-item[data-color="it"] .service-skill-tag:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-it);
    color: var(--text-pure);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.accordion-item[data-color="ai"] .service-skill-tag:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-ai);
    color: var(--text-pure);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.accordion-item[data-color="av"] .service-skill-tag:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--color-av);
    color: var(--text-pure);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Grid inside expanded accordion */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 300;
    line-height: 1.5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-dark-slate);
    border-top: 1px solid var(--border-glass);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Contact information cards */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    transition: var(--transition-smooth);
}

.contact-method-item:hover {
    border-color: var(--border-glass-active);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary-muted);
    border: 1px solid rgba(255, 46, 116, 0.2);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-details span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.method-details strong {
    font-size: 1.15rem;
    color: var(--text-pure);
}

/* Billing card */
.billing-details-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.5rem;
    font-size: 0.95rem;
}

.billing-details-box h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.billing-details-box p {
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

/* Contact Form Styling */
.form-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: var(--shadow-glass);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}

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

.form-group input, .form-group textarea {
    background-color: rgba(7, 10, 19, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-pure);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
    background-color: rgba(7, 10, 19, 0.8);
}

/* Form validation validation errors */
.error-msg {
    display: none;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
}

.form-group.invalid input, .form-group.invalid textarea {
    border-color: #ef4444;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-status {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    line-height: 1.4;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ==========================================================================
   Footer Area
   ========================================================================== */
.main-footer {
    background-color: #04060b;
    border-top: 1px solid var(--border-glass);
    padding: 4.5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

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

.footer-logo {
    width: 38px;
    height: 38px;
}

.brand-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    line-height: 1.6;
}

.footer-nav-block h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-pure);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav-block h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-nav-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-block ul a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-nav-block ul a:hover {
    color: var(--text-pure);
    transform: translateX(4px);
    display: inline-block;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: var(--border-glass);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    order: 2;
}

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

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

.footer-legal-links a:hover {
    color: var(--text-pure);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, 12px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Up to Tablet (Medium width and wider) */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4.75rem;
    }
    
    .hero-actions {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
    
    .hero-actions .btn {
        width: auto;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: 1;
    }

    .about-content {
        order: 2;
    }

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

    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1.8fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .copyright {
        order: 1;
    }

    .footer-legal-links {
        order: 2;
    }
}

/* Up to Large Screens */
@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }

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

    .mobile-nav {
        display: none;
    }

    .accordion-header {
        padding: 1.75rem 2.25rem;
    }

    .accordion-inner {
        padding: 0.5rem 2.25rem 2.5rem 2.25rem;
    }

    .accordion-title-text {
        font-size: 1.35rem;
    }

    .about-grid {
        gap: 5rem;
    }

    .visual-card {
        max-width: 440px;
    }

    .skills-visual-svg {
        max-height: 300px;
    }

    .contact-grid {
        gap: 5rem;
    }
}

/* ==========================================================================
   6. Legal Document Subpages (Privacy, Cookies, Terms)
   ========================================================================== */
.legal-section {
    padding: 120px 0 80px 0;
    position: relative;
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 850px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    text-align: left;
}

.legal-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.legal-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card p {
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 1.025rem;
    font-weight: 300;
}

.legal-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-card li {
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 300;
    list-style-type: square;
}

.legal-card strong {
    color: var(--text-pure);
    font-weight: 500;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-web);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.back-to-home:hover {
    color: var(--text-pure);
    transform: translateX(-4px);
}

.back-to-home svg {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 1.5rem;
    }
    .legal-header h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   7. Cookie Consent Bar
   ========================================================================== */
.cookie-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    z-index: 9999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 0.35rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.cookie-content a {
    color: var(--color-web);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-content a:hover {
    color: var(--text-pure);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background: var(--color-web);
    color: var(--text-pure);
}

.cookie-btn-accept:hover {
    background: var(--color-web-hover);
    box-shadow: 0 0 15px rgba(255, 46, 116, 0.4);
    transform: translateY(-2px);
}

.cookie-btn-deny {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-deny:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-bar {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 1.25rem;
        flex-direction: column;
        gap: 1.25rem;
        align-items: flex-start;
    }
    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 0.6rem 1rem;
    }
}
