/*Fonts*/

@font-face {
	font-family: 'Roboto Flex';
	src: url('/fonts/robotoflex.ttf') format('truetype'); 
  
	font-weight: 100 900; 
  
	font-style: normal;
  
	font-display: swap; 
}

@font-face {
	font-family: 'Alimama FangYuanTi VF';
	src: url('/fonts/alimamafytvf.woff2') format('woff2'); 
  
	font-weight: 100 900; 
  
	font-style: normal;
  
	font-display: swap;
	
	unicode-range: U+4E00-9FFF, U+3400-4DBF, U+2000-206F, U+3000-303F, U+FF00-FFEF;

}

/* Typography & Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Flex", "Alimama FangYuanTi VF", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Roboto Flex", "Alimama FangYuanTi VF", system-ui, -apple-system, sans-serif;
	transition: color 0.2s ease, font-weight 0.2s ease;
}

p {font-weight:400; transition: color 0.2s ease;}

h1 {font-weight:120;}
h2 {font-weight:180;}
h3 {font-weight:240;}
h4 {font-weight:360;}
h5 {font-weight:360;}
h6 {font-weight:360;}



/* Fluent Background - Deep Slate Grey (Not pure black) */
body {
    background: #0C0C0C; /* Pure neutral dark grey */
    color: #E0E0E0; /* Standard light grey text */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The "Glass" Utility Class repurposed into Fluent Acrylic */
.glass {
    background-color: rgba(255, 255, 255, 0.04); 
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Navigation - Floating App Bar / Navigation Bar style */
nav {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 0; 
    background-color: rgba(255, 255, 255, 0.06); 
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8); 
}

.nav-container a {
    text-decoration: none;
    color: #FFFFFF;
	font-family: "Roboto Flex", "Alimama FangYuanTi VF", system-ui, -apple-system, sans-serif; 
    font-weight: 500; 
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 0; 
    transition: background-color 0.15s ease, font-weight 0.15s ease;
}

/* Fluent State Layer on Hover - subtle darkening */
.nav-container a:hover {
    background-color: rgba(255, 255, 255, 0.1); 
	font-weight: bolder;
}

/* Main Container */
main {
    width: 100%;
    max-width: 1000px;
    margin-top: 104px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Hero Section */
.hero {
    border-radius: 0; 
    padding: 80px 48px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center;
    text-align: left; 
}

.hero h1 {
    font-size: 48px; 
    line-height: 1.2;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero h2 {
    color: #FFFFFF;
}

.hero p {
    font-size: 16px;
    line-height: 24px;
    color: #B0B0B0;
    max-width: 600px;
}

/* Grid Section */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Card Styling */
.card {
    border-radius: 0; 
    padding: 32px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left; 
    gap: 16px;
}

/* Interactive Hover States */
.card:hover {
    background-color: rgba(255, 255, 255, 0.08); 
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9); 
}

.card h2 {
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
}

.card p {
    font-size: 14px;
    line-height: 20px;
    color: #B0B0B0;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 40px;
    text-align: center;
    font-size: 12px;
    color: #666666;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 { 
        font-size: 36px; 
    }
    .hero p { 
        font-size: 14px; 
    }
    .nav-container { 
        padding: 6px 12px; 
        gap: 4px; 
    }
    .nav-container a {
        padding: 6px 12px;
    }
	.hero-top {
        min-height: 400px;
        padding: 40px 24px; /* Slightly less padding on mobile */
    }
    
    .hero-glass-panel {
        max-width: 100%; /* Let the glass card take full width on small screens */
        padding: 24px;
    }
}

/* --- TOP HERO SPECIFIC STYLES --- */

.hero-top {
    /* Put image URL here */
    background-image: url('/assets/bg.webp'); 
	
	/* THE FIX: This forces the image to completely fill the hero section without stretching */
    background-size: cover; 
    
    /* Centers the image so the most important part stays visible when cropping */
    background-position: center; 
    background-repeat: no-repeat;
    
    /* Added a minimum height so you can actually see the image behind the card */
    min-height: 450px; 
}

/* The Acrylic card wrapping the name and tagline */
.hero-glass-panel {
    padding: 40px;
    
    /* Keeps the glass card from stretching too wide across the screen */
    max-width: 600px; 
    
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.hero-glass-panel:hover {
    background-color: rgba(255, 255, 255, 0.08); 
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9);
}

/* Standard Link State */
a {
    color: #E0E0E0; /* Light grey to match your paragraph text */
    text-decoration: underline; /* Keeps the underline so people know it's clickable */
    text-underline-offset: 4px; /* Drops the underline down a bit so it looks cleaner */
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

/* Link Hover State */
a:hover {
    color: #FFFFFF; /* Bright pure white on hover */
    text-decoration-color: #FFFFFF; /* Makes the underline bright white too */
}

tagline {
    color: #E0E0E0; /* Light grey to match your paragraph text */
    transition: color 0.2s ease;
}

tagline:hover {
    color: #FFFFFF; /* Bright pure white on hover */
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    margin-top: 8px; /* Gives it a little breathing room from the text above it */
    
    /* Subtle glass background */
    background-color: rgba(255, 255, 255, 0.08); 
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 400;
    text-decoration: none;
    
    /* Sharp corners and visible border */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0; 
    
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    
    /* Smooth transition for the hover effect */
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

/* Button Hover State */
.button:hover {
    background-color: #FFFFFF; /* Fills with solid bright white */
    color: #0C0C0C; /* Text flips to your dark background color for high contrast */
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15); /* Subtle white ambient glow */
}

.shimmer-text {
    /* 1. Normal text color */    
    /* 2. Set up the gradient invisibly behind the text */
    /* This gradient uses white edges and a sleek silver center */
    background: linear-gradient(120deg, #FFFFFF 20%, #888888 50%, #FFFFFF 80%);
    background-size: 200% auto;
    
    /* 3. Clip the background to the text shape */
    -webkit-background-clip: text;
    background-clip: text;
        
    /* 4. Smooth fade into the effect */
    transition: color 0.2s ease; 
}

/* Trigger the effect ONLY on hover */
.shimmer-text:hover {
    /* Make the solid color invisible to reveal the background gradient */
    color: transparent; 
    
    /* Run the animation endlessly, but only as long as the mouse is over it */
    animation: shimmer 2s linear infinite; 
}

/* The Animation Keyframes */
@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* --- SMOOTH SCROLLING & NAV OFFSET --- */
/*html {
    /* 1. Turns the harsh jump into a buttery smooth scroll */
    /*scroll-behavior: smooth;
    
    /* 2. Adds an invisible buffer so your fixed nav bar doesn't cover the section headings */
    /* Adjust this number based on how tall your actual nav bar is */
    /*scroll-padding-top: 100px; 
}*/

.privacy-disclaimer {
    margin-top: 12px;
    font-size: 11px; /* Slightly smaller than the standard 12px footer text */
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7; /* Dims it just a bit more so it fades into the background */
}

p:hover {
    color: #FFFFFF; /* Bright pure white on hover */
}

h1:hover {
    color: #D2FF00; /* Bright pure white on hover */
	font-weight: 600;
}

h2:hover {
    color: #FF8000; /* Bright pure white on hover */
	font-weight: 600;
}

h3:hover {
    color: #FF8000; /* Bright pure white on hover */
	font-weight: 600;
}

h4:hover {
    color: #FF8000; /* Bright pure white on hover */
	font-weight: 600;
}

.clock {transition: color 0.2s ease;}
.clock:hover {color: #FFFFFF;}
