:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #00add8; /* Go Blue */
    --accent: #ff007f;
    --text-main: #f8f8f8;
    --text-muted: #a0a0b0;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 173, 216, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 127, 0.15), transparent 25%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-nav {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
}

.cta-nav:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5% 2rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 173, 216, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 173, 216, 0.2);
    animation: pulse 2s infinite;
}

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

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

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

.cta-primary {
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 173, 216, 0.3);
}

.cta-primary:hover {
    background: #00c3f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 173, 216, 0.4);
}

.cta-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    padding: 1rem 2rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    perspective: 1000px;
}

.code-window {
    background: rgba(15, 15, 20, 0.9);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.window-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

pre {
    margin: 0;
}

.keyword { color: #ff7b72; }
.string { color: #a5d6ff; }
.function { color: #d2a8ff; }
.type { color: #79c0ff; }
.comment { color: #8b949e; font-style: italic; }
.number { color: #79c0ff; }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #15151e;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    text-align: center;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.close-btn:hover {
    color: var(--text-main);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal h2 {
    margin-bottom: 0.5rem;
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.subscribe-form input:focus {
    border-color: var(--primary);
}

.full-width {
    width: 100%;
}

.success-message {
    color: #27c93f;
    margin-top: 1rem;
    font-weight: 600;
}
