:root {
    --bg-color: #02050a;
    --bg-accent: #050c18;
    --neon-blue: #00d2ff;
    --neon-blue-glow: rgba(0, 210, 255, 0.4);
    --text-white: #ffffff;
    --text-grey: #b0b8c1;
    --accent-orange: #ff4d00;
    --card-bg: rgba(0, 0, 0, 0.6);
    --border-grey: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, #0a1a30 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

.bg-tech-graphics {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at right, black, transparent);
    -webkit-mask-image: radial-gradient(circle at right, black, transparent);
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    height: 80px;
    position: relative;
    z-index: 10;
    background-color: #000000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-img {
    height: 48px;
    width: auto;
}

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

nav ul li a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-info {
    text-align: right;
    font-size: 12px;
    color: var(--text-grey);
    line-height: 1.5;
}

.contact-info span {
    color: var(--text-white);
    font-weight: 500;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-access {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-access:hover {
    background-color: #0056b3;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-white);
}

.lang-selector .arrow {
    font-size: 10px;
    opacity: 0.6;
}

/* Main Content */
main {
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero {
    margin-top: 100px;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: var(--text-grey);
    max-width: 600px;
    line-height: 1.4;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 4px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.neon-card {
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.neon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--neon-blue-glow);
}

.card-icon {
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card p {
    font-size: 15px;
    color: var(--text-grey);
    line-height: 1.6;
}

/* Secondary Cards */
.secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.subtle-card {
    border: 1px solid var(--border-grey);
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.subtle-card .card-icon {
    margin-bottom: 20px;
}

.subtle-card p {
    font-size: 15px;
    color: var(--text-grey);
    line-height: 1.6;
    max-width: 250px;
}

.subtle-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Login Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.login-modal {
    background: #0a0f1a;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    width: 380px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    margin-right: 20px;
    margin-top: 20px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-grey);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: white;
}

.brand-logo {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--neon-blue);
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-style: italic;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 13px;
    color: var(--text-grey);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    background: #050c18;
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    padding: 12px 12px 12px 40px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--neon-blue);
}

.input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-grey);
    pointer-events: none;
}

.visibility-icon {
    position: absolute;
    right: 12px;
    color: var(--text-grey);
    cursor: pointer;
    transition: color 0.3s;
}

.visibility-icon:hover {
    color: white;
}

.btn-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0056b3;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--neon-blue);
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    padding: 6px 14px;
    margin-bottom: 24px;
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

/* Browser Showcase */
.browser-showcase {
    margin-bottom: 100px;
}

.browser-mock {
    background: #0a0f1a;
    border: 1px solid var(--border-grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #0d1320;
    border-bottom: 1px solid var(--border-grey);
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-url-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    background: #050c18;
    border-radius: 5px;
    padding: 6px 12px;
    margin-left: 10px;
    color: var(--text-grey);
    font-size: 13px;
}

.url-text {
    color: var(--text-white);
    opacity: 0.7;
}

.browser-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
}

.site {
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-allowed {
    background: rgba(40, 200, 64, 0.08);
    border-left: 4px solid #28c840;
}

.site-blocked {
    background: rgba(255, 77, 0, 0.08);
    border-left: 4px solid var(--accent-orange);
}

.site-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-white);
}

.site-allowed .site-status { color: #28c840; }
.site-blocked .site-status { color: var(--accent-orange); }

.site-url {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-white);
}

.site p {
    font-size: 13px;
    color: var(--text-grey);
    margin: 0;
}
