/* ================= VARIABLES ================= */
:root {
    /* THEME: VIOLET ACCENTS with BLACK TEXT */
    --primary: #7C3AED;       /* Violet 500 - Main Brand Color */
    --secondary: #7c3aed;     /* Violet 600 - Darker/Hover Color */
    --accent: #dd56f8;        /* Neon Pink */
    
    /* Text Colors */
    --dark-text: #000000;     
    --body-text: #1a1a1a;     
    --light-text: #4a4a4a;    
    --white-text: #ffffff;
    
    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-light: #f9f8ff;      
    --bg-dark: #0f172a;       /* Navy for Tech Section */
    
    /* UI Elements */
    --border: #e2e8f0;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px -10px rgba(127, 19, 236, 0.15);
}

* { font-family: 'Outfit', sans-serif; }
body { text-align: left; }
.text-content h2 {
    margin-bottom: 20px;   /* Increase space below heading */
}

.text-content p {
    margin-bottom: 15px;   /* Space between paragraphs */
}

/* ================= HERO SECTION (UPDATED) ================= */
.hero-section {
    min-height:70vh; 
    display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center; padding: 20px;
    
    /* BACKGROUND IMAGE: Cyber/Tech Theme */
    background: url('../images/vinfinity/1.jpg') no-repeat center center/cover;
    
    color: var(--white-text);
}

/* Dark Gradient Overlay for text readability */
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(32, 46, 79, 0.519), rgba(163, 110, 217, 0.186)); 
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

/* Hero Text & Buttons */
.badge-pill {
    display: inline-block; padding: 8px 24px; border-radius: 50px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    color: white; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
    margin-bottom: 25px; backdrop-filter: blur(5px);
}

.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: white; letter-spacing: -2px; }

.highlight-text {
    background: linear-gradient(135deg, #ffffff, #e9d5ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle { font-size: 1.3rem; color: #e9d5ff; max-width: 650px; margin: 0 auto 40px; }

/* Countdown Box */
.countdown-box {
    display: flex; gap: 30px; justify-content: center; margin-bottom: 40px;
}
.countdown-box div {
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.9rem; font-weight: 600; color: #e9d5ff; text-transform: uppercase;
}
.countdown-box .count {
    font-size: 3rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(227, 85, 255, 0.5);
}

.hero-btns { display: flex; gap: 20px; justify-content: center; }

.btn-primary { 
    padding: 14px 35px; background: white; color: var(--primary); 
    border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.btn-secondary { 
    padding: 14px 35px; border: 2px solid rgba(255,255,255,0.5); color: white; 
    border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; 
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.btn-secondary:hover { background: white; color: var(--primary); border-color: white; }

/* ================= SECTIONS & UTILITIES ================= */
.section { padding: 100px 0; border-bottom: 1px solid var(--border); }
.bg-offset { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); border: none; color: white; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 800; color: var(--dark-text); }
.gradient-line { width: 80px; height: 6px; margin: 0 auto 50px; background: linear-gradient(to right, var(--primary), var(--accent)); border-radius: 10px; }

.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-tag { color: var(--primary); text-transform: uppercase; font-weight: 800; letter-spacing: 2px; font-size: 0.9rem; display: block; margin-bottom: 15px; }
.text-content p { color: var(--body-text); font-size: 1.1rem; margin-bottom: 30px; }

/* Stats & Frames */
.stats-row { display: flex; gap: 50px; padding-top: 20px; border-top: 2px solid var(--border); }
.stat-item h3 { font-size: 2.5rem; color: var(--dark-text); line-height: 1; margin-bottom: 5px; }
.stat-item p { color: var(--light-text); font-size: 0.9rem; font-weight: 600; }

.clean-frame { 
    padding: 15px; background: white; border-radius: 24px; 
    box-shadow: var(--shadow-hover); transition: 0.3s; 
    border: 4px solid var(--dark-text); 
    transform: rotate(-2deg);
}
.clean-frame:hover { transform: rotate(0deg); }
.clean-frame img { width: 100%; border-radius: 16px; display: block; }

/* Tech Cards (Dark Mode) */
.tech-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 30px; border-radius: 16px; text-align: center; transition: 0.3s;
}
.tech-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); border-color: var(--accent); }
.tech-card h3 { color: white; font-size: 1.3rem; margin-bottom: 10px; }
.tech-card p { color: #cbd5e1; font-size: 0.9rem; }
.tech-icon {
    font-size: 2.5rem; color: var(--accent); margin-bottom: 20px;
    background: rgba(227, 85, 255, 0.1); width: 70px; height: 70px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto;
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.masonry-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 280px 280px; gap: 20px; }
.masonry-item { border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.masonry-item:hover img { transform: scale(1.1); }
.span-2-row { grid-row: span 2; } .span-2-col { grid-column: span 2; }
.overlay-tag { position: absolute; bottom: 15px; left: 15px; background: var(--primary); color: white; padding: 6px 16px; border-radius: 4px; font-size: 0.85rem; font-weight: 700; }

/* Standard Cards */
.clean-card { background: white; border: 1px solid var(--border); padding: 40px 30px; border-radius: 20px; text-align: center; transition: 0.3s; }
.clean-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(127, 19, 236, 0.15); border-color: var(--primary); }
.icon-box { font-size: 2.5rem; color: var(--primary); margin: 0 auto 25px; background: #f3e8ff; width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #d8b4fe; }
.clean-card h3 { margin-bottom: 15px; font-size: 1.3rem; font-weight: 700; color: var(--dark-text); }

/* Footer */


/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    .layout-split, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .masonry-grid { display: flex; flex-direction: column; height: auto; }
    .masonry-item { height: 250px; }
}

.scroll-reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeIn 1s forwards; opacity: 0; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(20px); } }