:root {
    --primary: #00d2ff;
    --primary-dark: #0088ff;
    --bg-dark: #07090e;
    --bg-card: rgba(20, 24, 35, 0.7);
    --text-main: #f0f4f8;
    --text-muted: #a0aec0;
    --accent: #ff2a5f;
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

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

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* Glassmorphism utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary, .btn-primary-sm {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    padding: 14px 28px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
}

.btn-primary-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-primary:hover, .btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary-sm) {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    background: url('./assets/hero_bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 9, 14, 0.9) 0%, rgba(7, 9, 14, 0.6) 50%, rgba(7, 9, 14, 0.3) 100%);
    z-index: 1;
}

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-main);
    border-radius: 50%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

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

/* Services */
.services {
    padding: 100px 10%;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    padding: 40px 30px;
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
}

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.tech-spec {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(0, 210, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    border: 1px dashed rgba(0, 210, 255, 0.3);
}

/* About */
.about {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(10, 15, 25, 0.8) 100%);
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.about p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.features-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-stats {
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
}

.about-stats::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(0, 210, 255, 0.2);
    border-radius: 16px;
    z-index: -1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat:not(:last-child) {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact */
.contact {
    padding: 100px 10%;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-info {
    padding: 60px;
    background: rgba(0, 0, 0, 0.2);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.method-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-details a, .method-details p {
    color: var(--text-muted);
}

.method-details a:hover {
    color: var(--primary);
}

.contact-form {
    padding: 60px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--bg-dark);
    padding: 0 5px;
    color: var(--primary);
}

.contact-form button {
    width: 100%;
    justify-content: center;
}

/* Footer */
footer {
    padding: 40px 10%;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .hero { padding: 0 5%; }
    .services, .about, .contact { padding: 80px 5%; }
    .about { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); padding: 30px; }
    .stat:not(:last-child) { border-bottom: none; border-right: 1px solid var(--glass-border); padding-bottom: 0; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-info { padding: 40px; }
    .contact-form { padding: 40px; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 5%; }
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(7, 9, 14, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active { right: 0; }
    
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { width: 100%; justify-content: center; }
    
    .section-header h2 { font-size: 2.3rem; }
    
    .about-stats { grid-template-columns: 1fr; padding: 20px; }
    .stat:not(:last-child) { border-right: none; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; margin-bottom: 20px; }
    .stat-number { font-size: 2.8rem; }
    
    .contact-info, .contact-form { padding: 30px 20px; }
    .contact-info h2 { font-size: 2rem; }
    
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 30px 20px; }
}
