/* TA9 Landing Page - Custom Styles */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0b14;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* TA9 Brand Variables */
:root {
    --ta9-dark: #0a0b14;
    --ta9-darker: #050609;
    --ta9-blue: #2563eb;
    --ta9-cyan: #06b6d4;
    --ta9-gray: #64748b;
    --ta9-light: #e2e8f0;
    --ta9-accent: #3b82f6;
}

/* Section defaults */
section {
    position: relative;
    z-index: 1;
}

/* Container Utilities */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }

/* Spacing Utilities */
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-6 { padding: 1.5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* Typography */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text Colors */
.text-white { color: #ffffff; }
.text-white-90 { color: rgba(255, 255, 255, 0.9); }
.text-white-80 { color: rgba(255, 255, 255, 0.8); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-ta9-blue { color: var(--ta9-accent); }

/* Layout */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }

.min-h-screen { min-height: 100vh; }

/* Grid Responsive */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-3xl { font-size: 1.875rem; }
    .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* TA9 Brand Gradient */
.ta9-gradient {
    background: linear-gradient(135deg, var(--ta9-dark) 0%, #1e293b 50%, var(--ta9-dark) 100%);
    position: relative;
    overflow: hidden;
}

.ta9-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.ta9-brand {
    font-weight: 800;
    background: linear-gradient(135deg, var(--ta9-blue) 0%, var(--ta9-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Section Background */
.gradient-section {
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.03), transparent);
}

/* Glass Morphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Skill Tags */
.skill-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.2));
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Achievement Cards */
.achievement-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.02));
    border-left: 4px solid var(--ta9-accent);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.05));
    transform: translateX(10px);
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, var(--ta9-accent) 0%, transparent 100%);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--ta9-accent);
    border: 3px solid var(--ta9-dark);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.timeline-dot.current {
    background: var(--ta9-cyan);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.8);
    }
}

/* Buttons */
.cta-button {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--ta9-blue) 0%, var(--ta9-cyan) 100%);
    color: white;
    font-weight: 600;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

/* LinkedIn button style */
.linkedin-button {
    background: linear-gradient(135deg, #0077B5 0%, #00A0DC 100%);
}

.linkedin-button:hover {
    box-shadow: 0 20px 40px rgba(0, 119, 181, 0.4);
}

/* WhatsApp button style */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-button:hover {
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.secondary-button {
    padding: 16px 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Impact Metrics */
.impact-metric {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.impact-metric:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.03));
    transform: scale(1.05);
}

.impact-number {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--ta9-blue), var(--ta9-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Links */
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.contact-link:hover {
    color: #ffffff;
}

/* TA9 Security Animation */
.security-animation {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 100;
}

.security-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ta9-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: securityFloat 3s ease-out forwards;
}

@keyframes securityFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Border Utilities */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-style: solid;
}

.border-gray-800 {
    border-color: #1f2937;
}

.border-ta9-blue-20 {
    border-color: rgba(37, 99, 235, 0.2);
}

.rounded-2xl {
    border-radius: 1rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-5xl { font-size: 2rem; }
    .text-4xl { font-size: 1.75rem; }

    .glass-card {
        padding: 20px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .impact-number {
        font-size: 36px;
    }
}