/* =========================================
   Vetri - Government Grade Landing Page
   ========================================= */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --primary-blue: #1E3A8A; /* Trustworthy deep blue */
    --dark-blue: #0F172A;   /* Near black for text/footers */
    --light-blue: #DBEAFE;  /* Soft blue for backgrounds */
    --accent-blue: #3B82F6; /* Vibrant blue for CTAs */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-800: #1E293B;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Effects & Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.1), 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

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

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

html, body {
    overflow-x: hidden;
}

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;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* --- Layout & Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-light {
    background-color: var(--gray-50);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue), #818CF8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Animated Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: floatOrb 10s infinite alternate ease-in-out;
}
.orb-1 {
    width: 400px; height: 400px;
    background: var(--light-blue);
    top: -100px; left: -100px;
}
.orb-2 {
    width: 500px; height: 500px;
    background: rgba(59, 130, 246, 0.15);
    top: 30%; right: -200px;
    animation-delay: -3s;
}
.orb-3 {
    width: 300px; height: 300px;
    background: rgba(129, 140, 248, 0.2);
    bottom: 10%; left: 10%;
    animation-delay: -6s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

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

.section-header.align-left {
    text-align: left;
    margin: 0 0 48px 0;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: #BFDBFE;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: none;
}

.btn-shine:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.disabled-btn {
    cursor: not-allowed;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.disabled-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo img {
    height: 60px; /* Increased logo size */
    object-fit: contain;
}

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

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-list a {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.mockup-img {
    max-height: 600px;
    filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.2));
}

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

/* --- About Section --- */
.about {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: var(--gray-50);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.about-list {
    margin-top: 32px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.about-list i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Glassmorphism subtle touch and glow border */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent, var(--accent-blue), var(--primary-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--light-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
}

/* --- Infrastructure Section --- */
.infrastructure {
    padding: 100px 0;
    position: relative;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.infra-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.infra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.infra-icon-wrap {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.infra-glow {
    position: absolute;
    top: 40px; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: var(--accent-blue);
    filter: blur(40px);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.infra-card:hover .infra-glow {
    opacity: 0.3;
}

.infra-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.infra-card p {
    color: var(--gray-600);
    position: relative;
    z-index: 2;
}

/* --- Benefits Section --- */
.benefits {
    padding: 100px 0;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.benefit-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.benefit-text p {
    color: var(--gray-600);
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
}

.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    padding: 80px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.cta-banner h2 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-banner p {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-btns .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-btns .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
    background: var(--dark-blue);
    color: var(--gray-400);
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 60px;
    background-color: var(--white);
    padding: 8px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-brand p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
}

.neutral-disclaimer {
    font-style: italic;
    opacity: 0.7;
}

.highlight-link {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition);
}

.highlight-link:hover {
    color: var(--light-blue);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    .hero p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    
    .about-container { grid-template-columns: 1fr; }
    .about-visual { order: 2; }
    .about-content { order: 1; }
    
    .benefits-container { grid-template-columns: 1fr; }
    .section-header.align-left { text-align: center; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 120px 0 80px; }
    
    .cta-banner h2 { font-size: 2rem; }
    .cta-btns { flex-direction: column; }
    
    .footer-top { flex-direction: column; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    
    .features-grid, .infra-grid { grid-template-columns: 1fr; gap: 24px; }
    .feature-card, .infra-card { padding: 24px; }
    
    .cta-banner { padding: 40px 20px; }
    .cta-btns .btn { width: 100%; justify-content: center; }
    
    .about { padding: 60px 0; }
    .features { padding: 60px 0; }
    .infrastructure { padding: 60px 0; }
    .benefits { padding: 60px 0; }
    .cta { padding: 60px 0; }
}
