/* ========================================
   Nodo Security - Static Site Styles
   Colors: Cold Blue Palette
   ======================================== */

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

:root {
    /* Cold Blue Palette */
    --blue-900: #0a1628;
    --blue-800: #0f2140;
    --blue-700: #152d54;
    --blue-600: #1a3a6b;
    --blue-500: #1e4d8c;
    --blue-400: #2563eb;
    --blue-300: #3b82f6;
    --blue-200: #60a5fa;
    --blue-100: #93c5fd;
    --blue-50: #dbeafe;
    --blue-25: #eff6ff;

    /* Neutrals */
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    /* Accents */
    --cyan: #06b6d4;
    --cyan-light: #22d3ee;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --glow: 0 0 30px rgba(37, 99, 235, 0.3);

    /* Transitions */
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--blue-50);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--blue-900);
}

.logo-img {
    height: 72px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--blue-500);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--blue-500);
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--blue-400);
    box-shadow: 0 4px 15px rgba(30, 77, 140, 0.4);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-25) 0%, var(--white) 50%, var(--blue-50) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-500);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--blue-900);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 77, 140, 0.4);
}

.btn-primary:hover {
    background: var(--blue-400);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-500);
    border: 2px solid var(--blue-200);
}

.btn-secondary:hover {
    border-color: var(--blue-400);
    background: var(--blue-25);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue-500);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hexagon-grid {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
    gap: 12px;
    transform: rotate(15deg);
}

.hex {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    animation: float 6s ease-in-out infinite;
}

.hex-1 { animation-delay: 0s; }
.hex-2 { animation-delay: 1s; }
.hex-3 { animation-delay: 2s; }
.hex-4 { animation-delay: 0.5s; }
.hex-5 { animation-delay: 1.5s; }
.hex-6 { animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ========================================
   Section Common Styles
   ======================================== */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-500);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--blue-900);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-400), var(--cyan));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
    transform: translateY(-4px);
}

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

.service-card.featured {
    border-color: var(--blue-300);
    box-shadow: 0 4px 20px rgba(30, 77, 140, 0.15);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--blue-500);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(30, 77, 140, 0.3);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 12px;
}

.service-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
    padding: 6px 0;
}

.service-features li::before {
    content: '✓';
    color: var(--blue-500);
    font-weight: 700;
    font-size: 14px;
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
    background: var(--blue-25);
}

.solutions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.solutions-intro {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 12px;
    transition: all var(--transition);
}

.solution-item:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.solution-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--blue-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.solution-content p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

.solutions-visual {
    position: sticky;
    top: 100px;
}

.visual-card {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
    border-radius: 20px;
    padding: 36px 28px;
    color: var(--white);
}

.visual-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.visual-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.visual-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    padding-left: 20px;
}

.contact-description {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--blue-25);
    border: 1px solid var(--blue-100);
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--blue-300);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.method-label {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.method-value {
    font-size: 15px;
    color: var(--blue-600);
    font-weight: 600;
}

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--blue-500);
    flex-shrink: 0;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 77, 140, 0.3);
}

.card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-900);
}

.contact-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    margin-bottom: 12px;
}

.contact-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(30, 77, 140, 0.5);
    transform: translateY(-2px);
}

.contact-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}

.contact-cta-btn:hover svg {
    transform: translateX(4px);
}

.contact-cta-hint {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--cyan);
}

.footer-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
}

.footer-logo .highlight {
    color: var(--blue-200);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--blue-200);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

/* ========================================
   Animations & Utility
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.solution-item {
    animation: fadeInUp 0.6s ease both;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }

/* Selection */
::selection {
    background: rgba(37, 99, 235, 0.2);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--blue-25);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-400);
}

/* ========================================
   Culture / Elearning Section Layout Fix
   ======================================== */
.culture {
    background: var(--white);
}

.culture-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 32px;
}

.culture-text {
    max-width: 720px;
}

.culture-text p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.culture-media {
    display: flex;
    justify-content: flex-end;
}

.culture-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.culture-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}
