:root {
    --bg-dark: #020c1b;
    --bg-card: rgba(17, 34, 64, 0.7);
    --bg-card-hover: rgba(23, 42, 69, 0.9);
    --text-main: #e6f1ff;
    --text-secondary: #8892b0;
    --accent: #00f2ff;
    --accent-glow: rgba(0, 242, 255, 0.3);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
}

h1 {
    font-size: clamp(40px, 8vw, 80px);
}

h2 {
    font-size: clamp(26px, 5vw, 42px);
}

h3 {
    font-size: 1.5rem;
    color: var(--accent);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(2, 12, 27, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

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

.btn-primary {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

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

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    margin-bottom: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

/* Services / Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Utilities */
.text-accent {
    color: var(--accent);
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple mobile hide for now */
    }

    h1 {
        font-size: 50px;
    }
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img-header {
    height: 55px;
    /* Increased visibility */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.3));
    transition: var(--transition);
}

.logo-img-header:hover {
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.6));
    transform: scale(1.05);
    /* Subtle zoom */
}

.logo-img-login {
    height: 110px;
    /* Prominent and centered */
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.5));
}

/* Login Page Styles */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
    /* Override section padding */
}

.login-card {
    background: rgba(17, 34, 64, 0.75);
    backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-actions a:hover {
    color: var(--accent);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-block:hover {
    background: var(--accent-glow);
}