/* Style.css - VR Wholesale Information Platform (Daylight Tech VR) */

/* Core Variables & Colors */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.85);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-cyan: #0ea5e9;
    --accent-cyan-glow: rgba(14, 165, 233, 0.2);
    --accent-indigo: #6366f1;
    --accent-indigo-glow: rgba(99, 102, 241, 0.15);
    --accent-purple: #a855f7;
    --accent-purple-glow: rgba(168, 85, 247, 0.15);
    
    --border-color: #e2e8f0;
    --border-tech: rgba(14, 165, 233, 0.4);
    
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-tech: 0 0 20px rgba(14, 165, 233, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(var(--border-color) 1px, transparent 1px),
        radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-indigo);
}

/* Global Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-normal);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.logo img {
    display: block;
    max-height: 48px;
    width: auto;
}

.logo-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-cyan);
    border-radius: 4px;
    position: relative;
    display: inline-block;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid var(--accent-indigo);
    border-left: 2px solid var(--accent-indigo);
    top: 6px;
    left: 5px;
    transform: rotate(-10deg);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.auth-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Button UI Components */
.btn {
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    border-color: var(--text-muted);
}

.btn-tech {
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    position: relative;
    overflow: hidden;
    background: rgba(14, 165, 233, 0.05);
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-tech:hover::before {
    left: 100%;
}

.btn-tech:hover {
    background: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Tech Elements / Badges */
.badge {
    padding: 3px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-cyan {
    background-color: var(--accent-cyan-glow);
    color: var(--accent-cyan);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-indigo {
    background-color: var(--accent-indigo-glow);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-purple {
    background-color: var(--accent-purple-glow);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Glass Card with Tech Borders */
.tech-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    position: relative;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-cyan);
}

/* Tech Corners Decorator */
.tech-card::before, .tech-card::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    transition: var(--transition-normal);
}

.tech-card::before {
    top: -1px;
    left: -1px;
    border-top: 2.5px solid var(--accent-cyan);
    border-left: 2.5px solid var(--accent-cyan);
}

.tech-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2.5px solid var(--accent-indigo);
    border-right: 2.5px solid var(--accent-indigo);
}

.tech-card:hover::before, .tech-card:hover::after {
    opacity: 1;
}

/* Sections Common */
.section {
    padding: 80px 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--bg-secondary);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-tag {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-indigo);
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
    border-radius: 2px;
}

/* Footer Section */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 60px 0 30px 0;
    border-top: 2px solid var(--accent-indigo);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    display: block;
    max-height: 48px;
    width: auto;
}

.vr-img-box img,
.cockpit-visual-box img,
.bag-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-about {
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-fast);
}

.footer-social-btn:hover {
    background: var(--accent-cyan);
    color: #0b0f19;
    transform: translateY(-3px);
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(14, 165, 233, 0.2); }
    50% { box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); }
    100% { box-shadow: 0 0 5px rgba(14, 165, 233, 0.2); }
}

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

/* Responsive Grid Helper */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
    .nav-menu { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
