/* ==========================================================================
   Clean Tech Premium Styling System
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #060911;
    --bg-secondary: #0c101d;
    --bg-tertiary: #141b2d;
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-glow: rgba(0, 242, 254, 0.35);
    --accent-emerald: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --glass-bg: rgba(12, 16, 29, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(0, 242, 254, 0.25);
    
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

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

ul {
    list-style: none;
}

/* Typography Utilities */
.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.section-title span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.section-intro {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

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

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

/* Glassmorphism Cards */
.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.card-glass:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
    transform: translateY(-5px);
}

/* Glowing Border Effects */
.glow-border {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-blue), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glow-border-cyan {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.glow-border-cyan::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #060911;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.55);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.btn-gradient-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #060911;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 242, 254, 0.2);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-gradient-small:hover {
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header (Navigation Bar)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-glass {
    background: rgba(6, 9, 17, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.25rem 0;
}

header.scrolled {
    background: rgba(6, 9, 17, 0.9);
    border-bottom-color: rgba(0, 242, 254, 0.15);
    padding: 0.85rem 0;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text-en {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--text-main), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text-ko {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 2.25rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: var(--transition-smooth);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(6, 9, 17, 0.8) 0%, 
        rgba(6, 9, 17, 0.9) 70%, 
        var(--bg-primary) 100%
    );
    z-index: 1;
}

.hero-container {
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 5rem;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(12, 16, 29, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2rem 3rem;
    border-radius: 16px;
    max-width: 750px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0.3; }
    100% { top: 6px; opacity: 1; }
}

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

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.about-feat-item {
    display: flex;
    gap: 1.25rem;
}

.feat-icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-cyan);
}

.feat-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feat-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.about-visual {
    position: relative;
}

.about-visual .image-wrapper {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

/* ==========================================================================
   Key Advantages (Core Competencies)
   ========================================================================== */
.advantages-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    padding: 3rem 2rem;
    text-align: left;
    position: relative;
}

.card-num {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    transition: var(--transition-smooth);
}

.advantage-card:hover .card-num {
    color: rgba(0, 242, 254, 0.06);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.advantage-card:hover .card-icon {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.advantage-card:hover .card-icon svg {
    fill: #060911;
}

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

.advantage-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ==========================================================================
   Robotic Fleet (Zetacrizen K-Series)
   ========================================================================== */
.robots-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.robot-tabs-wrapper {
    margin-top: 3rem;
}

.robot-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    background: rgba(12, 16, 29, 0.6);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    font-family: var(--font-heading);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #060911;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.robot-tab-content {
    padding: 4rem;
}

.robot-detail-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 4rem;
    align-items: center;
}

.robot-info {
    display: flex;
    flex-direction: column;
}

.robot-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.robot-info h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.robot-desc-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th, .specs-table td {
    padding: 1rem 0;
    font-size: 0.95rem;
    text-align: left;
}

.specs-table th {
    color: var(--text-main);
    font-weight: 600;
    width: 30%;
}

.specs-table td {
    color: var(--text-muted);
    font-weight: 300;
}

.robot-graphic {
    position: relative;
    display: flex;
    justify-content: center;
}

.robot-img-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(6, 9, 17, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.robot-active-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    mix-blend-mode: luminosity;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.robot-img-container:hover .robot-active-img {
    mix-blend-mode: normal;
    opacity: 0.95;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: scanAnimation 3.5s infinite linear;
    pointer-events: none;
}

@keyframes scanAnimation {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* ==========================================================================
   Filtration (Cakefication) Section
   ========================================================================== */
.filtration-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.filtration-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
    align-items: center;
}

.filtration-visual .image-wrapper {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.step-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.filtration-note {
    border-left: 2px solid var(--accent-blue);
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    background: rgba(255, 255, 255, 0.01);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* ==========================================================================
   Applications Section
   ========================================================================== */
.applications-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.app-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
    margin-top: 3.5rem;
}

.app-item {
    overflow: hidden;
}

.app-img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.app-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.app-item:hover .app-img-box img {
    transform: scale(1.05);
}

.app-content {
    padding: 2rem;
}

.app-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.75rem;
}

.app-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.app-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

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

.contact-box {
    padding: 4rem;
}

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

.contact-info-panel h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.contact-info-panel p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-cyan);
}

.meta-item span {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.tech-assurance {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1.25rem;
    border-left: 2px solid var(--accent-emerald);
}

.assurance-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.08);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.tech-assurance p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Consultation Form Panel */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(6, 9, 17, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-main);
}

.form-group textarea {
    resize: none;
}

/* Custom Checkbox */
.form-agreement {
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    background: rgba(6, 9, 17, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-label:hover input ~ .custom-checkbox {
    border-color: var(--accent-cyan);
}

.checkbox-label input:checked ~ .custom-checkbox {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-color: transparent;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #060911;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .custom-checkbox::after {
    display: block;
}

/* Status Message */
.form-status-msg {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    text-align: left;
    margin-top: 1.5rem;
    transition: var(--transition-smooth);
}

.form-status-msg.success {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}

.form-status-msg.error {
    background-color: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05);
}

.form-status-msg .status-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.form-status-msg .status-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-status-msg .status-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: inherit;
}

.form-status-msg .status-text p {
    font-size: 0.825rem;
    margin: 0;
    opacity: 0.85;
    line-height: 1.4;
}

.hidden {
    display: none;
}

/* Agreement Error Highlight & Shake */
.form-agreement.error-highlight .custom-checkbox {
    border-color: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
}

.form-agreement.error-highlight .checkbox-label {
    color: #f87171;
}

.error-shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #04060b;
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

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

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--text-main), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.link-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-col a {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 300;
}

.link-col a:hover {
    color: var(--accent-cyan);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 2.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.company-info {
    font-size: 0.775rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.company-info span {
    color: var(--text-muted);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-dark);
}

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Hero elements initial animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid, .filtration-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .about-visual {
        order: -1;
    }
    .filtration-visual {
        order: -1;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .robot-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .robot-graphic {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-title {
        font-size: 3.25rem;
    }
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .about-section, .advantages-section, .robots-section, .filtration-section, .applications-section, .contact-section {
        padding: 4rem 0 !important;
    }

    .nav-menu {
        display: none; /* Will be toggled by Mobile Menu class */
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 2rem;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .hero-desc {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .section-title {
        font-size: 1.85rem;
        line-height: 1.3;
    }
    .section-desc {
        font-size: 0.95rem;
    }
    .section-intro {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .advantage-card {
        padding: 2rem 1.5rem;
    }
    .advantage-card h3 {
        font-size: 1.2rem;
    }
    
    .app-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-box {
        padding: 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .robot-tab-content {
        padding: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .robot-tab-buttons {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 0.5rem;
        gap: 0.5rem;
        max-width: 500px;
    }
    
    .tab-btn {
        flex: 1 1 calc(50% - 0.25rem);
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .about-section, .advantages-section, .robots-section, .filtration-section, .applications-section, .contact-section {
        padding: 3rem 0 !important;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .robot-tab-content {
        padding: 1.25rem;
    }
    .contact-box {
        padding: 1.5rem;
    }
}
