/* ================================================================
   IMPORT FONTS
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ================================================================
   CSS CUSTOM PROPERTIES (ROOT VARIABLES)
   ================================================================ */
:root {
    /* Color Variables - Dark Theme */
    --primary-color: #ffffff;
    --secondary-color: rgba(255, 255, 255, 0.8);
    --tertiary-color: rgba(255, 255, 255, 0.6);
    --quaternary-color: rgba(255, 255, 255, 0.3);
    --quinary-color: rgba(255, 255, 255, 0.1);
    --background-primary: #000000;
    --background-secondary: rgba(0, 0, 0, 0.9);

    /* Accent Colors */
    --accent-primary: #ffffff;
    --accent-secondary: #f5f5f5;
    --accent-tertiary: #e5e5e5;
    --accent-green: #00b900;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    --space-xxxl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50px;

    /* Typography */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ================================================================
   GLOBAL RESET & BASE STYLES
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-primary);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
#hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-primary);
    overflow: hidden;
}

/* Animated Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0%;
    z-index: 1;
}

/* Main Container */
.hero-container {
    position: relative;
    z-index: 10;
    width: fit-content;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg) var(--space-lg);
    margin: 0 auto;
}

/* ================================================================
   CONTENT SECTION - ALWAYS VISIBLE BY DEFAULT
   ================================================================ */
.hero-content {
    /* Always visible by default - no hiding */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation enhancement - only when specifically triggered */
.hero-content.animate-enhanced {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--quinary-color);
    border: 1px solid var(--quaternary-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--secondary-color);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Always visible */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-badge.animate-enhanced {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Typography */
.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    /* Always visible */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-title.animate-enhanced {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.hero-title .accent {
    color: var(--accent-primary);
    position: relative;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 4vw, 1.75rem);
    font-weight: var(--font-weight-medium);
    color: var(--secondary-color);
    margin-bottom: var(--space-lg);
    /* Always visible */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-subtitle.animate-enhanced {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.125rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
    color: var(--tertiary-color);
    margin-bottom: var(--space-xxl);
    max-width: 600px;
    /* Always visible */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-description.animate-enhanced {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.4s;
}

/* ================================================================
   CTA BUTTONS
   ================================================================ */
.hero-cta {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    justify-content: flex-start;
    /* Always visible */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-cta.animate-enhanced {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    border: none;
    min-height: 48px;
}

/* Primary Button */
.primary-btn {
    background: var(--accent-primary);
    color: var(--background-primary);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
    transition: left 0.4s ease;
    z-index: -1;
}

.primary-btn:hover::before {
    left: 0;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.primary-btn:active {
    transform: translateY(0);
}

/* Secondary Button */
.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    border: 1px solid var(--quaternary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.secondary-btn:hover::before {
    width: 100%;
}

.secondary-btn:hover {
    color: var(--background-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.secondary-btn:active {
    transform: translateY(0);
}

/* Button Icons */
.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.primary-btn:hover .btn-icon,
.secondary-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ================================================================
   PROFILE SECTION - ALWAYS VISIBLE
   ================================================================ */
.hero-profile {
    position: relative;
    /* Always visible */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    justify-self: center;
    max-width: 400px;
    width: 100%;
}

.hero-profile.animate-enhanced {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

.profile-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-slow);
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
}

.profile-card:hover .profile-image {
    transform: scale(1.02);
}

/* ================================================================
   ENHANCED RESPONSIVE DESIGN
   ================================================================ */

/* Desktop and Large Tablets */
@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 400px;
        gap: var(--space-xxl);
        align-items: center;
        text-align: left;
        padding: var(--space-xl) var(--space-lg);
    }

    .hero-content {
        justify-self: start;
    }

    .hero-profile {
        justify-self: end;
        max-width: 400px;
    }

    .hero-cta {
        justify-content: flex-start;
    }
}

/* Medium Tablets */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
        padding: var(--space-xl) var(--space-lg);
        max-width: 800px;
    }

    .hero-profile {
        order: -1;
        max-width: 350px;
    }

    .profile-image {
        height: 350px;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 767px) {
    :root {
        --space-xxxl: 2.5rem;
        --space-xxl: 2rem;
        --space-xl: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
        padding: var(--space-lg) var(--space-md);
    }

    .hero-profile {
        order: -1;
        max-width: 280px;
    }

    .profile-image {
        height: 300px;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: var(--space-lg) var(--space-xl);
        font-size: 0.9rem;
        margin: 0 auto;
    }

    .hero-badge {
        margin-bottom: var(--space-lg);
        font-size: 0.8125rem;
        padding: var(--space-xs) var(--space-lg);
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    :root {
        --space-xxl: 1.5rem;
        --space-xl: 1.25rem;
        --space-lg: 1rem;
    }

    .hero-container {
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-lg);
    }

    .hero-profile {
        max-width: 260px;
    }

    .profile-image {
        height: 280px;
    }

    .hero-badge {
        margin-bottom: var(--space-md);
        padding: var(--space-xs) var(--space-md);
        font-size: 0.75rem;
    }

    .hero-title {
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        margin-bottom: var(--space-md);
    }

    .hero-description {
        margin-bottom: var(--space-lg);
        font-size: 0.875rem;
    }

    .primary-btn,
    .secondary-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.875rem;
        max-width: 100%;
        min-height: 44px;
    }

    .btn-icon {
        width: 14px;
        height: 14px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .hero-container {
        padding: var(--space-md) var(--space-sm);
    }

    .hero-profile {
        max-width: 240px;
    }

    .profile-image {
        height: 260px;
    }

    .primary-btn,
    .secondary-btn {
        font-size: 0.8125rem;
        padding: var(--space-sm) var(--space-md);
    }
}

/* ================================================================
   ACCESSIBILITY & PERFORMANCE
   ================================================================ */

/* Reduced Motion - Disable all animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .badge-dot {
        animation: none;
    }

    /* Ensure everything is visible */
    .hero-content,
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .hero-cta,
    .hero-profile {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus Styles for Accessibility */
.primary-btn:focus-visible,
.secondary-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .primary-btn:hover,
    .secondary-btn:hover,
    .profile-card:hover {
        transform: none;
    }

    .primary-btn:active {
        transform: scale(0.98);
    }

    .secondary-btn:active {
        transform: scale(0.98);
    }
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}