/* ===== Custom Properties ===== */
:root {
    --og-dark: #0b0f1a;
    --og-navy: #101729;
    --og-card: #151d30;
    --og-accent: #6c5ce7;
    --og-accent2: #00cec9;
    --og-gradient: linear-gradient(135deg, #6c5ce7, #00cec9);
    --og-text: #c8d6e5;
    --og-heading: #ffffff;
    --og-muted: #636e85;
    --og-border: rgba(108, 92, 231, .15);
    --og-glass: rgba(21, 29, 48, .65);
    --og-radius: 16px;
    --og-transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--og-dark);
    color: var(--og-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--og-heading);
    font-weight: 700;
}

a { color: var(--og-accent2); text-decoration: none; transition: color var(--og-transition); }
a:hover { color: #55efc4; }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--og-dark), 0 0 0 0.25rem var(--og-accent);
}

/* ===== Animated Background ===== */
.og-bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(108, 92, 231, .08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 206, 201, .06) 0%, transparent 50%);
    z-index: -1;
    animation: bgFloat 20s ease-in-out infinite alternate;
}

@keyframes bgFloat {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, 20px) rotate(3deg); }
}

/* ===== Navbar ===== */
.og-navbar {
    background: rgba(11, 15, 26, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--og-border);
    padding: .75rem 0;
    transition: background var(--og-transition);
}

.og-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--og-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.og-navbar .nav-link {
    color: var(--og-text) !important;
    font-weight: 500;
    padding: .5rem 1rem !important;
    border-radius: 8px;
    transition: all var(--og-transition);
    position: relative;
}

.og-navbar .nav-link:hover,
.og-navbar .nav-link.active {
    color: var(--og-heading) !important;
    background: rgba(108, 92, 231, .1);
}

.og-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--og-gradient);
    transition: all var(--og-transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.og-navbar .nav-link:hover::after,
.og-navbar .nav-link.active::after {
    width: 60%;
}

/* ===== Hero ===== */
.og-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.og-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, .12), transparent 70%);
    animation: heroPulse 8s ease-in-out infinite alternate;
}

.og-hero::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 206, 201, .08), transparent 70%);
    animation: heroPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroPulse {
    0%   { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.15); opacity: 1; }
}

.og-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--og-border);
    background: var(--og-glass);
    backdrop-filter: blur(10px);
    font-size: .85rem;
    color: var(--og-accent2);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp .8s ease-out;
}

.og-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp .8s ease-out .15s both;
}

.og-hero h1 .og-gradient-text {
    background: var(--og-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.og-hero p.lead {
    font-size: 1.15rem;
    color: var(--og-text);
    max-width: 540px;
    animation: fadeInUp .8s ease-out .3s both;
}

.og-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp .8s ease-out .45s both;
}

/* ===== Buttons ===== */
.btn-og-primary {
    padding: .75rem 2rem;
    border: none;
    border-radius: 50px;
    background: var(--og-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--og-transition);
    position: relative;
    overflow: hidden;
}

.btn-og-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, .35);
    color: #fff;
}

.btn-og-outline {
    padding: .75rem 2rem;
    border: 1px solid var(--og-border);
    border-radius: 50px;
    background: transparent;
    color: var(--og-text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--og-transition);
}

.btn-og-outline:hover {
    border-color: var(--og-accent);
    color: var(--og-heading);
    background: rgba(108, 92, 231, .08);
}

/* ===== Glass Card ===== */
.og-card {
    background: var(--og-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--og-border);
    border-radius: var(--og-radius);
    padding: 2rem;
    transition: all var(--og-transition);
    position: relative;
    overflow: hidden;
}

.og-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--og-gradient);
    opacity: 0;
    transition: opacity var(--og-transition);
}

.og-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, .3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.og-card:hover::before { opacity: 1; }

.og-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(108, 92, 231, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--og-accent);
}

.og-card h3 {
    font-size: 1.2rem;
    margin-bottom: .75rem;
}

.og-card p {
    color: var(--og-muted);
    font-size: .95rem;
}

/* ===== Sections ===== */
.og-section {
    padding: 6rem 0;
    position: relative;
}

.og-section-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--og-border);
    background: rgba(108, 92, 231, .06);
    font-size: .8rem;
    color: var(--og-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.og-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1rem;
}

.og-section-subtitle {
    color: var(--og-muted);
    font-size: 1.05rem;
    max-width: 600px;
}

/* ===== Stats Row ===== */
.og-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.og-stat {
    text-align: center;
}

.og-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--og-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.og-stat-label {
    font-size: .85rem;
    color: var(--og-muted);
    margin-top: .25rem;
}

/* ===== CTA Section ===== */
.og-cta {
    background: var(--og-card);
    border: 1px solid var(--og-border);
    border-radius: var(--og-radius);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.og-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(108, 92, 231, .06), transparent 60%);
}

.og-cta h2 { position: relative; z-index: 1; }
.og-cta p  { position: relative; z-index: 1; }
.og-cta a  { position: relative; z-index: 1; }

/* ===== Footer ===== */
.og-footer {
    background: var(--og-navy);
    border-top: 1px solid var(--og-border);
    padding: 4rem 0 1.5rem;
}

.og-footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--og-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .75rem;
    display: inline-block;
}

.og-footer h6 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--og-muted);
    margin-bottom: 1rem;
}

.og-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.og-footer-links li { margin-bottom: .5rem; }

.og-footer-links a {
    color: var(--og-text);
    font-size: .9rem;
    transition: all var(--og-transition);
}

.og-footer-links a:hover {
    color: var(--og-accent2);
    padding-left: 4px;
}

.og-footer-bottom {
    border-top: 1px solid var(--og-border);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--og-muted);
    font-size: .85rem;
}

/* ===== Page Header ===== */
.og-page-header {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
}

.og-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--og-gradient);
    border-radius: 3px;
}

/* ===== Process Steps ===== */
.og-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.og-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--og-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

/* ===== Values Grid ===== */
.og-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.og-value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(108, 92, 231, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* ===== Contact Form ===== */
.og-form .form-control,
.og-form .form-select {
    background: var(--og-card);
    border: 1px solid var(--og-border);
    color: var(--og-heading);
    border-radius: 12px;
    padding: .75rem 1rem;
    transition: all var(--og-transition);
}

.og-form .form-control:focus,
.og-form .form-select:focus {
    border-color: var(--og-accent);
    background: var(--og-navy);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .15);
    color: var(--og-heading);
}

.og-form .form-control::placeholder {
    color: var(--og-muted);
}

.og-form label {
    color: var(--og-text);
    font-weight: 500;
    margin-bottom: .4rem;
}

/* ===== Contact Info Card ===== */
.og-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.og-contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108, 92, 231, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--og-accent);
    font-size: 1.1rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.og-fade-in {
    animation: fadeInUp .7s ease-out both;
}

.og-fade-in-d1 { animation-delay: .1s; }
.og-fade-in-d2 { animation-delay: .2s; }
.og-fade-in-d3 { animation-delay: .3s; }
.og-fade-in-d4 { animation-delay: .4s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--og-dark); }
::-webkit-scrollbar-thumb { background: var(--og-accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7c6cf0; }

/* ===== Selection ===== */
::selection {
    background: rgba(108, 92, 231, .3);
    color: var(--og-heading);
}

/* ===== Utility ===== */
.og-gradient-text {
    background: var(--og-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.og-divider {
    width: 60px;
    height: 3px;
    background: var(--og-gradient);
    border-radius: 3px;
    margin: 1rem 0;
}