/* 
 * Main Stylesheet for Estonian IT Company Landing Page
 * Theme: Deep Blue & Turquoise (Modern B2B Tech)
 */

:root {
    /* Color Palette */
    --color-bg-primary: #0a192f;
    --color-bg-secondary: #112240;
    --color-bg-tertiary: #233554;
    
    --color-text-main: #ccd6f6;
    --color-text-muted: #8892b0;
    --color-text-accent: #64ffda;
    --color-white: #e6f1ff;
    
    --color-accent: #64ffda;
    --color-accent-hover: #4cdbb3;
    
    /* Typography */
    --font-main: 'Inter', 'Roboto', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --glass-bg: rgba(17, 34, 64, 0.75);
    --glass-border: 1px solid rgba(230, 241, 255, 0.1);
    --glass-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(100, 255, 218, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(25, 55, 109, 0.15) 0%, transparent 25%);
    background-attachment: fixed;
    padding-top: 80px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(100, 255, 218, 0); }
    100% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- New Animations & Effects --- */

/* Logo Animations */
.logo-svg {
    display: inline-block;
    width: 240px;
    height: 64px;
    transition: var(--transition);
}

.logo-svg:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(100, 255, 218, 0.3));
}

/* 1. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #00b4d8);
    z-index: 1001;
    transition: width 0.1s;
    pointer-events: none;
}

/* 2. 3D Tilt Effect Class (applied via JS) */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-content {
    transform: translateZ(20px);
}

/* 3. Glitch Effect for Titles */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    5% { clip: rect(80px, 9999px, 90px, 0); }
    10% { clip: rect(10px, 9999px, 40px, 0); }
    15% { clip: rect(50px, 9999px, 20px, 0); }
    20% { clip: rect(20px, 9999px, 60px, 0); }
    100% { clip: rect(70px, 9999px, 30px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(10px, 9999px, 80px, 0); }
    5% { clip: rect(60px, 9999px, 10px, 0); }
    10% { clip: rect(30px, 9999px, 50px, 0); }
    15% { clip: rect(90px, 9999px, 20px, 0); }
    20% { clip: rect(10px, 9999px, 40px, 0); }
    100% { clip: rect(50px, 9999px, 30px, 0); }
}

/* 4. Coming Soon / Cases Section Styles */
.cases-section {
    padding: 80px 0;
    background: rgba(10, 25, 47, 0.5);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.case-image {
    height: 200px;
    background: #112240;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image i {
    font-size: 48px;
    color: rgba(100, 255, 218, 0.2);
}

.case-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    color: var(--color-white);
    margin-bottom: 10px;
    font-size: 20px;
}

.case-content p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.case-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-tag {
    font-size: 12px;
    color: var(--color-accent);
    font-family: var(--font-mono);
}

/* Coming Soon Badge */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.coming-soon-text {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-size: 18px;
    border: 1px solid var(--color-accent);
    padding: 10px 20px;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.info-placeholder {
    border: 1px dashed rgba(100, 255, 218, 0.3);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
    background: rgba(100, 255, 218, 0.02);
}

.info-placeholder p {
    color: var(--color-text-muted);
    font-style: italic;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

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

ul {
    list-style: none;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 24px; }

.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #2e4366;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    border-bottom: 1px solid rgba(100, 255, 218, 0.15);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
}

.main-nav a {
    font-size: 14px;
    color: var(--color-white);
}

.main-nav a:hover {
    color: var(--color-accent);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.lang-switcher a {
    opacity: 0.5;
    transition: var(--transition);
    text-decoration: none;
    color: var(--color-text-main);
}

.lang-switcher a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.lang-switcher a.active {
    opacity: 1;
    color: var(--color-accent);
}

.header-cta {
    margin-left: 20px;
    padding: 8px 16px;
    font-size: 14px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: var(--color-accent);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 40px 0 100px;
    position: relative;
    overflow: hidden;
    background: transparent; /* Canvas will handle bg */
}
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, #112240 0%, #0a192f 60%);
    pointer-events: none;
}

.hero-panel-label {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.hero-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-panel-list li {
    background: rgba(100, 255, 218, 0.04);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    padding: 16px;
}

.hero-panel-list li span {
    display: block;
    font-weight: 600;
    color: var(--color-white);
}

.hero-panel-list li small {
    color: var(--color-text-muted);
    font-size: 13px;
    letter-spacing: 0.05em;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--color-accent);
    background: rgba(100, 255, 218, 0.08);
}

.hero-pills {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-pills span {
    border: 1px dashed rgba(100, 255, 218, 0.4);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--color-white);
    background: rgba(100, 255, 218, 0.05);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

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

.hero-subtitle {
    color: var(--color-accent);
    font-family: var(--font-mono);
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 10px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.hero-list {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.hero-list li {
    position: relative;
    padding-left: 25px;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.hero-list li:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.hero-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-description {
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 520px;
    margin-top: 20px;
}

.hero-meta {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hero-metric {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.15);
    padding: 20px;
    border-radius: 10px;
}

.hero-metric h3 {
    font-size: 36px;
    margin-bottom: 5px;
    color: var(--color-accent);
}

.hero-panel {
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.15);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.hero-panel h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.hero-panel ul li {
    color: var(--color-text-muted);
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-hint:hover {
    color: var(--color-accent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Sections General */
section {
    padding: var(--section-padding);
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    white-space: nowrap;
}

.section-title::after {
    content: '';
    display: block;
    width: 300px;
    height: 1px;
    background-color: var(--color-bg-tertiary);
    margin-left: 20px;
}

.section-title::before {
    content: attr(data-number);
    margin-right: 10px;
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 400;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-facts li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.about-facts li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
    border-color: var(--color-accent);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 40px;
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--color-text-muted);
}

/* Detailed Service Sections (Web, AI, Energy, Micro) */
.detail-section {
    background-color: transparent;
    position: relative;
}

.detail-section:nth-of-type(even) {
    background-color: rgba(17, 34, 64, 0.3);
}

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

.detail-content ul {
    margin: 20px 0;
}

.detail-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.detail-visual {
    position: relative;
    height: 400px;
    background: var(--color-bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

/* Visual Placeholders using CSS Animations */
.visual-web {
    background: linear-gradient(135deg, #112240 0%, #233554 100%);
}
.visual-web::after {
    content: '</>';
    font-family: monospace;
    font-size: 100px;
    color: rgba(100, 255, 218, 0.1);
    animation: float 4s ease-in-out infinite;
}
.visual-web::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 20px;
    background: rgba(100, 255, 218, 0.05);
    transform: rotate(-45deg);
    animation: float 6s ease-in-out infinite reverse;
}

.visual-ai {
    background: radial-gradient(circle, #233554 0%, #112240 100%);
}
.visual-ai::after {
    content: 'AI';
    font-weight: 900;
    font-size: 120px;
    color: rgba(100, 255, 218, 0.1);
    animation: pulse-glow 3s infinite;
    border-radius: 50%;
    padding: 20px;
}

.visual-energy {
    background: linear-gradient(to bottom, #112240 50%, #233554 50%);
    overflow: hidden;
}
.visual-energy::after {
    content: '⚡';
    font-size: 100px;
    color: rgba(255, 255, 100, 0.2);
    animation: float 2s ease-in-out infinite;
    z-index: 2;
}
.visual-energy .sun-ray {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,100,0.1) 0%, transparent 70%);
    animation: rotate-slow 10s linear infinite;
}

.visual-micro {
    background-image: 
        linear-gradient(rgba(17, 34, 64, 0.9), rgba(17, 34, 64, 0.9)),
        repeating-linear-gradient(45deg, #64ffda 0, #64ffda 1px, transparent 0, transparent 50%);
    background-size: 100% 100%, 20px 20px;
}
.visual-micro::after {
    content: 'CHIP';
    font-family: monospace;
    font-size: 80px;
    color: rgba(100, 255, 218, 0.2);
    border: 4px solid rgba(100, 255, 218, 0.2);
    padding: 20px;
    animation: pulse-glow 4s infinite;
}

/* Why Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 8px;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.why-icon {
    font-size: 36px;
    color: var(--color-accent);
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: rgba(100, 255, 218, 0.2);
    transform: rotate(10deg);
}

/* Metrics */
.metrics-section {
    background-color: var(--color-bg-tertiary);
    text-align: center;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-ribbon {
    background: linear-gradient(90deg, rgba(100,255,218,0.08), rgba(0, 180, 216, 0.15));
    border-top: 1px solid rgba(100,255,218,0.2);
    border-bottom: 1px solid rgba(100,255,218,0.2);
    padding: 40px 0;
}

.cta-ribbon .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-ribbon h3 {
    margin: 0;
    font-size: 28px;
}

.cta-ribbon p {
    margin: 0;
    color: var(--color-text-muted);
}

.case-preview {
    background: rgba(17, 34, 64, 0.5);
}

.case-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.info-update {
    border: 1px dashed rgba(100, 255, 218, 0.3);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    color: var(--color-text-muted);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.cta-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-card .hero-tags {
    margin-top: auto;
}

.cta-card h3 {
    margin: 0;
}

.cta-card p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.cta-card .btn {
    align-self: flex-start;
}

.metric-item h3 {
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.metric-item p {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-white);
}

/* Contact */

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    text-align: left;
}

.contact-form {
    margin-top: 40px;
    text-align: left;
    background: var(--color-bg-secondary);
    padding: 40px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-main);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-bg-tertiary);
    border-radius: 4px;
    color: var(--color-text-main);
    font-family: var(--font-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.checkbox-group input {
    margin-top: 4px;
}

/* Footer */
.site-footer {
    background-color: #020c1b;
    padding: 40px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(100, 255, 218, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-brand,
.footer-links,
.footer-social {
    min-width: 200px;
}

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

/* Page Header (for sub-pages) */
.page-header {
    padding: 120px 0 60px;
    background: radial-gradient(circle at 50% 50%, #112240 0%, #0a192f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
    position: relative;
    z-index: 2;
}

.breadcrumbs a {
    color: var(--color-accent);
}

.breadcrumbs span {
    margin: 0 10px;
}

/* Content Sections for Sub-pages */
.content-section {
    padding: 80px 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.tech-badge {
    padding: 10px 20px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 14px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    color: rgba(100, 255, 218, 0.1);
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.step-card h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    color: var(--color-white);
}

.step-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .site-header {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-bg-secondary);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
        padding: 20px;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .about-grid, .detail-grid {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .cta-ribbon .container {
        flex-direction: column;
        text-align: center;
    }
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title::after {
        width: 100px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.hero-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    text-align: center;
}

.hero-bottom-section .hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 0;
}

.hero-bottom-section .hero-pills {
    justify-content: center;
    margin-top: 0;
}
