/* 
    Seesec Solutions Hub — Premium Theme
    Dark Navy + Teal Accent + Modern Glassmorphism
*/

/* ================= Design Tokens ================= */
:root {
    --bg-dark: #080c14;
    --bg-surface: #0d1219;
    --bg-navbar: rgba(8, 12, 20, 0.8);
    --bg-card: rgba(16, 22, 36, 0.7);
    --bg-card-hover: rgba(22, 30, 48, 0.85);

    --primary-teal: #3EF7B1;
    --primary-teal-dim: rgba(62, 247, 177, 0.15);
    --primary-teal-hover: #2de29e;
    --primary-glow: rgba(62, 247, 177, 0.25);

    --accent-purple: #7c5cfc;
    --accent-purple-dim: rgba(124, 92, 252, 0.15);

    --text-main: #f0f4f8;
    --text-muted: #7b8ba3;
    --text-heading: #ffffff;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(62, 247, 177, 0.25);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* ================= Reset & Base ================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    display: block;
    max-width: 100%;
}

/* ================= Utilities ================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================= Keyframe Animations ================= */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.08);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ================= Login Prompt (Full-Screen Gate) ================= */
.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Animated background orbs for login */
.login-screen::before,
.login-screen::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: pulse-glow 6s ease-in-out infinite;
}

.login-screen::before {
    width: 450px;
    height: 450px;
    background: var(--primary-teal);
    top: -180px;
    left: -120px;
    opacity: 0.15;
}

.login-screen::after {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -200px;
    right: -150px;
    opacity: 0.12;
    animation-delay: 3s;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    animation: fade-up 0.6s ease-out;
}

.login-logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(62, 247, 177, 0.2));
}

.login-logo span {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-muted);
}

.login-card {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: 100%;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(62, 247, 177, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fade-up 0.8s ease-out 0.2s both;
}

.login-card .login-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 12px var(--primary-glow));
}

.login-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.login-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.login-btn {
    width: 100%;
    padding: 0.95rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--primary-teal), #2ad89a);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(62, 247, 177, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(62, 247, 177, 0.45);
    background: linear-gradient(135deg, #4dffc0, var(--primary-teal));
}

.login-btn:active {
    transform: translateY(0);
}

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background-color: var(--bg-navbar);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

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

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

.logo-divider {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

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

/* Nav Buttons */
.btn-nav {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-nav-primary {
    background: var(--primary-teal);
    color: var(--bg-dark) !important;
}

.btn-nav-primary:hover {
    background: var(--primary-teal-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 247, 177, 0.3);
    color: var(--bg-dark) !important;
}

.btn-nav-outline {
    background: transparent;
    border: 1px solid rgba(62, 247, 177, 0.4);
    color: var(--primary-teal) !important;
}

.btn-nav-outline:hover {
    background: var(--primary-teal-dim);
    border-color: var(--primary-teal);
    color: var(--primary-teal) !important;
}

.btn-nav-ghost {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main) !important;
}

.btn-nav-ghost:hover {
    border-color: rgba(62, 247, 177, 0.3);
    color: var(--primary-teal) !important;
}

.welcome-badge {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-teal);
    padding: 0.35rem 0.8rem;
    background: var(--primary-teal-dim);
    border-radius: 20px;
    white-space: nowrap;
}

/* ================= Buttons (Shared) ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

/* ================= Hero Section ================= */
.hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-teal);
    top: -200px;
    left: -150px;
    opacity: 0.12;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    bottom: -250px;
    right: -200px;
    opacity: 0.1;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    animation: fade-up 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-teal), #7cf5d0, var(--primary-teal));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================= Solutions Section ================= */
.solutions {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ================= Card Styles ================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Gradient top border on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Inner glow on hover */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center,
            rgba(62, 247, 177, 0.04) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(62, 247, 177, 0.06);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-teal-dim);
    color: var(--primary-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.card:hover .card-icon {
    background: var(--primary-teal);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
    position: relative;
    z-index: 1;
}

.card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* Card CTA Button */
.btn-card {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
    background: none;
    border: none;
    position: relative;
    z-index: 1;
}

.btn-card i {
    transition: transform 0.3s ease;
}

.card:hover .btn-card {
    text-shadow: 0 0 8px var(--primary-glow);
}

.card:hover .btn-card i {
    transform: translateX(6px);
}

/* ================= Footer ================= */
.footer {
    background-color: var(--bg-surface);
    padding: 50px 0 25px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 380px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-teal);
    border-color: var(--border-glow);
    background: var(--primary-teal-dim);
    transform: translateY(-2px);
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .login-card {
        padding: 2.5rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
    }
}