@import 'tailwindcss';

@theme {
	--color-bg: #06090e;
	--color-surface: #0b1219;
	--color-card: #0e1a27;
	--color-border: #162436;
	--color-accent: #0ea5e9;
	--color-accent-bright: #38bdf8;
	--color-accent-dim: #075985;
	--color-accent-glow: rgba(14, 165, 233, 0.12);
	--color-text: #dce8f2;
	--color-muted: #7a9ab5;
	--color-dim: #3d5470;

	--font-heading: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

@layer base {
	html {
		scroll-behavior: smooth;
		background-color: var(--color-bg);
	}

	body {
		font-family: var(--font-body);
		color: var(--color-text);
		font-weight: 300;
		-webkit-font-smoothing: antialiased;
		background-color: var(--color-bg);
	}

	::selection {
		background-color: var(--color-accent);
		color: var(--color-bg);
	}
}

@layer components {
	.reveal {
		opacity: 0;
		transform: translateY(24px);
		transition:
			opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
			transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
	}
	.reveal.visible {
		opacity: 1;
		transform: translateY(0);
	}
	.delay-1 { transition-delay: 0.1s; }
	.delay-2 { transition-delay: 0.2s; }
	.delay-3 { transition-delay: 0.3s; }
	.delay-4 { transition-delay: 0.4s; }

	.section-tag {
		font-family: var(--font-mono);
		font-size: 0.68rem;
		letter-spacing: 0.2em;
		color: var(--color-accent);
		text-transform: uppercase;
		margin-bottom: 1.25rem;
	}

	.accent-bar {
		width: 40px;
		height: 2px;
		background: linear-gradient(to right, var(--color-accent), transparent);
		margin-bottom: 1.75rem;
	}

	.field-label {
		display: block;
		font-family: var(--font-mono);
		font-size: 0.65rem;
		letter-spacing: 0.15em;
		color: var(--color-muted);
		text-transform: uppercase;
		margin-bottom: 0.5rem;
	}

	.field-input {
		width: 100%;
		background: var(--color-surface);
		border: 1px solid var(--color-border);
		color: var(--color-text);
		padding: 0.75rem 1rem;
		font-family: var(--font-body);
		font-size: 0.875rem;
		transition:
			border-color 0.2s,
			box-shadow 0.2s;
		outline: none;
	}
	.field-input::placeholder {
		color: var(--color-dim);
	}
	.field-input:focus {
		border-color: var(--color-accent-dim);
		box-shadow: 0 0 0 3px var(--color-accent-glow);
	}

	.btn-primary {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		background: var(--color-accent);
		color: var(--color-bg);
		padding: 0.875rem 2rem;
		font-family: var(--font-heading);
		font-weight: 600;
		font-size: 0.875rem;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		transition:
			background 0.2s,
			box-shadow 0.2s;
	}
	.btn-primary:hover {
		background: var(--color-accent-bright);
		box-shadow: 0 0 24px rgba(14, 165, 233, 0.4);
	}

	.btn-secondary {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		border: 1px solid var(--color-border);
		color: var(--color-muted);
		padding: 0.875rem 2rem;
		font-family: var(--font-heading);
		font-weight: 500;
		font-size: 0.875rem;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		transition:
			border-color 0.2s,
			color 0.2s;
	}
	.btn-secondary:hover {
		border-color: var(--color-accent-dim);
		color: var(--color-accent);
	}

	.industry-card {
		background: var(--color-surface);
	}
	.industry-card:hover {
		background: var(--color-card);
	}
}

@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scroll-data {
	0% { transform: translateY(0); }
	100% { transform: translateY(-50%); }
}

@keyframes cursor-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}
