:root {
    --home-dark: #1a1a1a;
    --home-navy: #0a192f;
    --home-blue: #007bff;
    --home-light: #f8f9fa;
    --home-gray: #333333;
    --transition-speed: 0.6s;
}

/* Base Styles for Home V2 */
.home-v2-section {
    padding: 80px 20px;
}

.home-v2-section,
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-speed) ease-out;
}

.home-v2-section.active,
.gallery-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--home-navy) 0%, #001f3f 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 600px;
    opacity: 0.9;
    margin: auto;
    margin-bottom: 40px;
}

/* Feature Pillars */
.pillars-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pillar-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--home-blue);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
}

.pillar-card i {
    font-size: 3rem;
    color: var(--home-blue);
    margin-bottom: 20px;
    display: block;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--home-dark);
}

/* Performance Section */
.performance-section {
    background: var(--home-dark);
    color: white;
}

.performance-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.performance-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--home-blue);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.final-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.performance-metrics-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.05);
    padding: 20px 40px;
    border-radius: 50px;
}

.metric-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4ade80;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* CTA */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--home-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .home-v2-section {
        padding: 50px 15px;
    }
}
