@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --bg: #06040b;
    --gradient: linear-gradient(90deg, #0038ff, #ff0000);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-soft: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle cyber grid background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* Links */
a {
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

a:hover {
    opacity: 0.75;
}

/* OUROSEC hero static gradient */
.gradient-text.static {
    background-image: linear-gradient(90deg, #0038ff 35%, #7700cc 55%, #cc0022 70%, #ff0000 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    display: inline-block;
}

/* Animated gradient headers (all other headers) */
.gradient-text:not(.static) {
    background-image: linear-gradient(90deg, #0038ff 0%, #ff0000 50%, #0038ff 100%);
    background-size: 200% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    display: inline-block;
    animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    background-color: #000;
}

nav img {
    display: block;
    width: 45px;
    height: auto;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: 0.3s ease;
}

nav img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

/* Sections */
section {
    padding: 100px 8%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Hero (inner pages) */
.page-hero {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 20px;
}

.page-hero h1 {
    font-size: 3.2rem;
}

.page-hero p {
    margin-top: 16px;
    opacity: 0.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 100px;
}

.cta-section h2 {
    font-size: 2rem;
}

.cta-section p {
    margin-top: 12px;
    opacity: 0.6;
    font-weight: 400;
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 120px;
}

.hero-logo-wrapper {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 25px 40px 0;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 56, 255, 0.4);
    transition: 0.4s ease;
    text-align: center;
}

.hero-logo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.6);
}

.hero-logo-wrapper h1 {
    margin-top: -8px;
}

.hero-logo {
    width: 390px;
    display: block;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    display: block;
    text-align: center;
}

.hero p {
    margin-top: 20px;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(90deg, #0038ff, #ff0000);
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 56, 255, 0.6);
}

.button-outline {
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}

.button-outline:hover {
    background: linear-gradient(90deg, #0038ff, #ff0000);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Cards */
.card {
    border: 1px solid var(--border-soft);
    padding: 35px;
    border-radius: 14px;
    margin-top: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
    font-weight: 400;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.95;
}

.card:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-6px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 8%;
    font-size: 0.9rem;
    opacity: 0.5;
    border-top: 1px solid var(--border-soft);
}

/* Responsive */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 20px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.3rem;
    }

    .hero-logo {
        width: 280px;
    }

    section {
        padding: 80px 6%;
    }
}