/* Vanguard Peak - Premium Dark Mode Theme (Corporate Version) */

:root {
    /* Color Palette - Logo Synchronized */
    --bg-dark: #04121d; /* Deep Navy */
    --bg-darker: #020a10; /* Darker Navy */
    --text-main: #f9fafb;
    --text-muted: #a1a1aa;
    
    /* Neon Accents */
    --primary: #6ca8b8; /* Logo Teal */
    --primary-glow: rgba(108, 168, 184, 0.4);
    --secondary: #a3c4cf; /* Logo Light Blue */
    --accent: #ebfafd; /* Logo Light Cyan */
    
    /* Glassmorphism System */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.mt-4 { margin-top: 1rem; }

/* ------------------------------------- */
/* GLOWING ORB BACKGROUNDS */
/* ------------------------------------- */
.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 25s infinite alternate ease-in-out;
    pointer-events: none;
}

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

.glow-2 {
    width: 600px;
    height: 600px;
    background: rgba(163, 196, 207, 0.25);
    bottom: -100px;
    right: -150px;
    animation-delay: -5s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: rgba(235, 250, 253, 0.15);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.1); }
}

/* ------------------------------------- */
/* TYPOGRAPHY */
/* ------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ------------------------------------- */
/* UI COMPONENTS */
/* ------------------------------------- */

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4, 18, 29, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px; /* Increased from 38px */
    filter: drop-shadow(0 0 15px rgba(108,168,184,0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo {
    text-decoration: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    font-family: var(--font-body);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #020a10 !important; /* contrast fix for light buttons */
    border: none;
    box-shadow: 0 8px 20px rgba(108, 168, 184, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 168, 184, 0.4);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--glass-highlight);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.w-full { width: 100%; }
.shadow-glow { box-shadow: 0 0 30px rgba(108, 168, 184, 0.4); }

/* Global Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: var(--glass-highlight);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* ------------------------------------- */
/* LAYOUT SECTIONS */
/* ------------------------------------- */
main {
    padding-top: 100px;
}

section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.section-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

/* ------------------------------------- */
/* HERO SECTION */
/* ------------------------------------- */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 550px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.mockup-card {
    position: relative;
    height: 440px;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero:hover .mockup-card {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mockup-line {
    height: 12px;
    background: var(--glass-border);
    border-radius: 6px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; }
.w-50 { width: 50%; }
.w-40 { width: 40%; }

.mockup-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-glow);
    margin-top: auto;
    align-self: flex-end;
    box-shadow: 0 0 30px var(--primary-glow);
}

/* ------------------------------------- */
/* SERVICES */
/* ------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.col-span-2 {
    grid-column: span 2;
}

.service-card h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    align-self: flex-start; /* THIS FIXES STRETCHING EMOJIS! */
}

.feature-card {
    background: linear-gradient(135deg, rgba(108, 168, 184, 0.1) 0%, rgba(255,255,255,0.02) 100%);
    border-color: rgba(108, 168, 184, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card .card-icon {
    background: var(--primary-glow);
    border-color: var(--primary);
}

/* ------------------------------------- */
/* PROCESS */
/* ------------------------------------- */
.process-steps {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    padding-top: 2rem;
}

.step-card {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    margin-bottom: -1.5rem;
    margin-left: -1rem;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
}

.step-card h3 { 
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.step-card p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    position: relative;
    z-index: 2;
}

.step-connector {
    width: 40px;
    height: 1px;
    background: var(--glass-border);
    margin-top: 50px;
}

/* ------------------------------------- */
/* STATS OVERLAY */
/* ------------------------------------- */
.stats {
    padding: 2rem;
}

.stats-container {
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    text-shadow: 0 0 20px var(--primary-glow);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-top: 1rem;
    display: block;
    font-weight: 600;
}

.stat-separator {
    width: 2px;
    height: 70px;
    background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
}

/* ------------------------------------- */
/* REVIEWS */
/* ------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-stars {
    color: #ffbd2e;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.review-author strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.highlight-review {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(108,168,184,0.1));
    border-color: rgba(108,168,184,0.3);
}

/* ------------------------------------- */
/* CONTACT FORM */
/* ------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

.glass-input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 15px var(--primary-glow);
}

.glass-input::placeholder {
    color: rgba(255,255,255,0.3);
}

/* ------------------------------------- */
/* PRICING */
/* ------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-target {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: white;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.features-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.features-list li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.features-list li.disabled::before {
    content: '×';
    color: var(--text-muted);
}

.featured-pricing {
    background: linear-gradient(180deg, rgba(108, 168, 184, 0.15), rgba(255,255,255,0.03));
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.featured-pricing:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #020a10;
    padding: 0.5rem 1.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(108,168,184,0.3);
}

/* ------------------------------------- */
/* FOOTER */
/* ------------------------------------- */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 5rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
}

.footer-logo {
    height: 35px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
}

.footer-links a, .footer-contact a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.85rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ------------------------------------- */
/* ANIMATIONS */
/* ------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------- */
/* RESPONSIVE DESIGN */
/* ------------------------------------- */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding-top: 8rem; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 4rem; }
    
    .stats-container { flex-direction: column; gap: 3rem; }
    .stat-separator { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border), transparent); }
    
    .pricing-grid { grid-template-columns: 1fr; gap: 3rem; }
    .pricing-card.featured-pricing { transform: scale(1); z-index: 1; }
    .pricing-card.featured-pricing:hover { transform: translateY(-8px); }
    
    .process-steps { flex-direction: column; gap: 2rem; }
    .step-connector { width: 1px; height: 30px; margin: 0 auto; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn { display: flex; }
    
    .services-grid, .reviews-grid { grid-template-columns: 1fr; }
    .col-span-2 { grid-column: span 1; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .footer-brand p { margin: 0 auto; }
    
    .form-row { grid-template-columns: 1fr; }
}
