@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --black: #050505;
    --dark-gray: #121212;
    --light-blue: #00d4f5;
    --white: #ffffff;
    --text-gray: #a3a3a3;
    --border-radius: 16px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0; font-family: var(--font-body);
    background: var(--black); color: var(--white);
    overflow-x: hidden; scroll-behavior: smooth;
    line-height: 1.6;
}

/* Nav */
header {
    position: fixed; top: 0; width: 100%; height: 90px;
    background: rgba(5, 5, 5, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; box-sizing: border-box; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo img { height: 42px; mix-blend-mode: screen; filter: drop-shadow(0 0 10px rgba(0, 212, 245, 0.3));}

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 1rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--light-blue); }

.btn-primary {
    background: var(--light-blue); color: var(--black); font-family: var(--font-display);
    padding: 14px 34px; border-radius: 30px; font-weight: 800; font-size: 1rem;
    border: none; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 212, 245, 0.4); color: var(--black);}

.btn-outline {
    background: transparent; color: var(--white); font-family: var(--font-display);
    padding: 12px 32px; border-radius: 30px; font-weight: 800; font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Common Layouts */
.section { padding: 120px 5%; position: relative; }
.section-sm { padding: 80px 5%; }
.section-white { background: var(--white); color: var(--black); border-radius: 40px; margin: 20px 5%; padding: 100px 5%; box-shadow: 0 20px 50px rgba(0,0,0,0.5);}

.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-display); margin-top: 0; }
h2 { font-size: 3.2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px;}
h3 { font-size: 2rem; font-weight: 800; }
p.lead { font-size: 1.25rem; color: var(--text-gray); max-width: 800px; margin: 0 auto 50px;}
.section-white p.lead { color: #475569; }

/* Grid Types */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }

/* Hero Variant - Text Left */
.hero-page { padding: 200px 5% 100px; background: radial-gradient(circle at top right, rgba(0,212,245,0.15) 0%, var(--black) 60%); }
.hero-page h1 { font-size: 4.5rem; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px; }

/* Image Wrappers */
.img-wrap { border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.img-wrap img { width: 100%; display: block; object-fit: cover; }

/* Cards */
.feature-card { background: #f8fafc; border-radius: 20px; padding: 40px; transition: 0.3s; border: 1px solid #e2e8f0; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--light-blue);}
.feature-icon { width: 60px; height: 60px; background: var(--black); border-radius: 12px; margin-bottom: 25px; display:flex; align-items:center; justify-content:center; color: var(--light-blue);}
.feature-card h3 { font-size: 1.6rem; margin:0 0 15px; color: var(--black);}
.feature-card p { color: #475569; margin: 0;}

/* Dark Cards */
.dark-card { background: var(--dark-gray); border: 1px solid rgba(255,255,255,0.05); padding: 40px; border-radius: 20px; transition: 0.3s; }
.dark-card:hover { border-color: rgba(0,212,245,0.4); transform: translateY(-5px);}
.dark-card h3 { color: var(--white); margin-bottom: 10px; }

/* Login Modal Overlays */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 2000;
    align-items: center; justify-content: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.modal.active { display: flex; animation: fadeIn 0.3s ease; }
.modal-content {
    background: var(--dark-gray); padding: 50px 40px; border-radius: 24px;
    width: 100%; max-width: 420px; box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1); position: relative;
}
.modal-content h3 { font-size: 2.2rem; margin: 0 0 10px; color: var(--white); font-weight: 800;}
.modal-content p { color: var(--text-gray); margin-bottom: 30px;}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.95rem; color: #e2e8f0;}
.form-group input {
    width: 100%; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; font-family: var(--font-body); font-size: 1rem; color: white; box-sizing: border-box; transition: 0.3s;
}
.form-group input:focus { border-color: var(--light-blue); outline: none; background: rgba(0,212,245,0.05);}
.close-btn { position: absolute; top: 25px; right: 25px; font-size: 1.5rem; cursor: pointer; color: #999; border:none; background:none; transition:0.3s;}
.close-btn:hover { color: var(--white); transform: scale(1.1);}
.error-msg { background: rgba(225, 29, 72, 0.1); color: #fb7185; padding: 12px; border-radius: 8px; font-size: 0.9rem; margin-bottom: 20px; display: none; font-weight: 500;}

footer { text-align: center; padding: 60px 5%; color: var(--text-gray); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); background: var(--black);}

@keyframes fadeIn { from {opacity: 0; transform: translateY(20px);} to {opacity: 1; transform: translateY(0);} }
