:root{
    --bg-dark: #12171d;
    --bg-medium: #1a2229;
    --bg-light: #242d36;
    --panel: #2a3440;
    --border: #3a4756;
    --muted: #99a5b3;
    --text: #dde4ec;
    --text-bright: #f0f4f8;
    --accent-cyan: #4dd4e8;
    --accent-blue: #5eb8ff;
    --accent-dim: rgba(78, 212, 232, 0.1);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
    margin-left: 0.5rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Support Button in Nav */
.nav-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 212, 232, 0.25);
    margin-left: 1rem;
    border: 2px solid transparent;
}

.nav-support-btn:hover {
    box-shadow: 0 6px 25px rgba(78, 212, 232, 0.4);
    transform: translateY(-2px);
}

.support-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 0 2rem;
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-bright);
    letter-spacing: -0.03em;
}

.accent {
    color: var(--accent-cyan);
    font-weight: 700;
}

.hero-description {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 1.5rem 0 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(78, 212, 232, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(78, 212, 232, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-bright);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: var(--accent-dim);
    color: var(--accent-cyan);
}

.tech-graphic {
    font-size: 5rem;
    opacity: 0.6;
    filter: grayscale(20%);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 700px;
}

/* About Section */
.about {
    background: var(--bg-medium);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--panel);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    color: var(--text-bright);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.about-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background: var(--bg-dark);
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.services-list li {
    padding: 1rem 1.2rem;
    background: var(--panel);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.95rem;
}

.support-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.support-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}
.support-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* References Section */
.references {
    background: var(--panel);
    margin: 4rem 0;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.reference-card {
    background: var(--bg-medium);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.reference-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(78, 212, 232, 0.15);
}

.ref-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.reference-card h3 {
    color: var(--text-bright);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reference-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.reference-card strong {
    color: var(--accent-cyan);
}

.ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.tag {
    background: var(--accent-dim);
    color: var(--accent-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(78, 212, 232, 0.2);
}

/* Gallery Section */
.gallery-section {
    background: var(--bg-dark);
}

.gallery-slider {
    margin-top: 1.5rem;
}

.slider-container {
    position: relative;
}

.slides {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.slide {
    min-width: 100%;
    transition: transform 0.4s ease;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slider-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--muted);
}

.dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(78, 212, 232, 0.5);
}

/* Contact Section */
.contact {
    background: var(--bg-medium);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.contact-info {
    background: var(--panel);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-info h3 {
    color: var(--text-bright);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--muted);
    line-height: 1.8;
}

.contact-info strong {
    color: var(--accent-cyan);
}

.contact-info a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--panel);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-bright);
    font-weight: 500;
    font-size: 0.95rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-medium);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

button[type="submit"] {
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    background: var(--bg-dark);
}

.footer-bottom {
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile nav toggle button */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.nav-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--text-bright);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 800px) {
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-inner {
        flex-direction: column;
        padding: 0 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .tech-graphic {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-support-btn {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        right: 1rem;
        left: 1rem;
        background: var(--panel);
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--border);
        z-index: 50;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .slide img {
        height: 280px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .references {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
    }
}
