@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;

    /* Corporate Palette (Light & Crisp) */
    --color-brand-blue: #1D84C6;
    /* Electric Corporate Blue */
    --color-brand-blue-dim: rgba(29, 132, 198, 0.1);
    --color-slate-900: #0f172a;
    /* Deep Navy Header/Footer */
    --color-slate-800: #1e293b;
    --color-slate-50: #f8fafc;
    /* Light Blue-Grey Background */
    --color-white: #ffffff;

    /* Textures & Effects */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --shadow-tech: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-tech-hover: 0 12px 30px rgba(29, 132, 198, 0.15);
}

html, body {
	width: 100%,
	overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    background-color: var(--color-slate-50);
    color: var(--color-slate-900);
    position: relative;
    overflow-x: hidden;
}

/* Global Noise Texture (Film Grain) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em !important;
    /* Engineered Feel */
    text-transform: uppercase;
    color: var(--color-slate-900);
}

/* --- Deep Tech Utilities (Light Mode) --- */

/* Tech Grid: Very faint slate lines on white */
.bg-tech-grid {
    background-color: var(--color-slate-50);
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(29, 132, 198, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(29, 132, 198, 0.03) 1px, transparent 1px);
}

/* Radial Lighting for Depth */
.bg-tech-light {
    background: radial-gradient(circle at top, #ffffff, #f1f5f9);
}

/* Tech Card: Clinical, Precision, White */
.tech-card {
    background: var(--color-white);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    /* Sharper corners */
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    box-shadow: var(--shadow-tech);
    overflow: hidden;
}

/* Corner Markers (The "Bracket" Effect) */
.tech-card::before,
.tech-card::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
    opacity: 0;
}

/* Top Left Bracket */
.tech-card::before {
    top: 0;
    left: 0;
    border-top: 2px solid var(--color-brand-blue);
    border-left: 2px solid var(--color-brand-blue);
}

/* Bottom Right Bracket */
.tech-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--color-brand-blue);
    border-right: 2px solid var(--color-brand-blue);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-tech-hover);
    border-color: rgba(29, 132, 198, 0.4);
}

.tech-card:hover::before,
.tech-card:hover::after {
    opacity: 1;
    width: 12px;
    height: 12px;
}

/* Separators: Fading Blue Line */
.tech-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-brand-blue-dim), transparent);
    margin: 2rem 0;
}

/* --- Animations --- */

/* Base class */
.reveal-on-scroll {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Directional Entrances */
.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

/* Stagger Delays */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

/* Subtle Zoom for Hero */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-out infinite alternate;
}
