/* VESTED WHISKY - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Lato', sans-serif;
    background: linear-gradient(135deg, #1a2533 0%, #0f1823 50%, #1a2533 100%);
    background-attachment: fixed;
    color: #F4F4F4;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.gold-text {
    background: linear-gradient(135deg, #D4AF37, #B8871B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-shimmer {
    background: linear-gradient(90deg, #B8871B 0%, #D4AF37 25%, #F4E5B8 50%, #D4AF37 75%, #B8871B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

:root {
    --navy: #1a2533;
    --navy-dark: #0f1823;
    --navy-light: #253343;
    --charcoal: #202b38;
    --gold-start: #D4AF37;
    --gold-end: #B8871B;
    --off-white: #F4F4F4;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 37, 51, 0.98), rgba(15, 24, 35, 0.95));
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
}

header.scrolled {
    background: linear-gradient(180deg, rgba(26, 37, 51, 1), rgba(15, 24, 35, 0.98));
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.9);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 6px 30px rgba(212, 175, 55, 0.8));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    transition: width 0.4s ease;
}

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

.nav-links a:hover {
    color: var(--gold-start);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--gold-start);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    color: var(--navy);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-start);
    border: 2px solid var(--gold-start);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    color: var(--navy);
    transform: translateY(-3px);
}

/* Hero Section with Background Image */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(26, 37, 51, 0.85), rgba(15, 24, 35, 0.90)),
        url('/images/hero-mobile.webp') center/cover;
    background-attachment: fixed;
}

@media (min-width: 769px) {
    .hero {
        background: 
            linear-gradient(135deg, rgba(26, 37, 51, 0.85), rgba(15, 24, 35, 0.90)),
            url('/images/hero-optimized.webp') center/cover;
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--gold-start);
    border-radius: 50%;
    animation: float 15s infinite;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.4; }
    50% { transform: translateY(-100vh) translateX(50px); opacity: 0.6; }
    90% { opacity: 0.4; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1000px;
    padding: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
    max-width: 420px;
    width: 85%;
    height: auto;
    margin: 0 auto 3rem;
    filter: drop-shadow(0 25px 70px rgba(212, 175, 55, 0.8));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(244, 244, 244, 0.8);
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 8rem 3rem;
    position: relative;
}

.section-dark {
    background: linear-gradient(135deg, #1a2533 0%, #0f1823 50%, #1a2533 100%);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.1) 2px, rgba(0, 0, 0, 0.1) 4px);
    pointer-events: none;
}

.section-charcoal {
    background: linear-gradient(135deg, #253343 0%, #202b38 50%, #253343 100%);
    position: relative;
}

.section-charcoal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0, 0, 0, 0.08) 2px, rgba(0, 0, 0, 0.08) 4px);
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(244, 244, 244, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(37, 51, 67, 0.6), rgba(32, 43, 56, 0.7));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(244, 244, 244, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.pillar-card {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(37, 51, 67, 0.5), rgba(32, 43, 56, 0.6));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.pillar-card:hover::after {
    transform: scaleX(1);
}

.pillar-card:hover {
    transform: translateY(-15px);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.25);
}

.pillar-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.pillar-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.pillar-card p {
    color: rgba(244, 244, 244, 0.8);
    line-height: 1.8;
}

/* Lead Capture */
.lead-capture {
    background: linear-gradient(135deg, #202b38, #0f1823);
    padding: 6rem 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lead-capture-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.lead-capture h3 {
    margin-bottom: 1.5rem;
}

.lead-capture p {
    color: rgba(244, 244, 244, 0.8);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.lead-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.lead-form input {
    flex: 1;
    min-width: 250px;
    padding: 1.2rem 1.5rem;
    background: rgba(15, 24, 35, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--off-white);
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--gold-start);
    background: rgba(15, 24, 35, 1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.lead-form input::placeholder {
    color: rgba(244, 244, 244, 0.4);
}

/* Footer */
footer {
    background: #0f1823;
    padding: 5rem 3rem 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4,
.footer-heading,
.footer-brand {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(244, 244, 244, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold-start);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    color: rgba(244, 244, 244, 0.75);
    font-size: 0.9rem;
}

.footer-bottom p {
    color: rgba(244, 244, 244, 0.75);
}

.compliance-text {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(244, 244, 244, 0.75);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.compliance-text p {
    color: rgba(244, 244, 244, 0.75);
}

.compliance-text strong {
    color: rgba(244, 244, 244, 0.9);
    font-weight: 600;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    nav {
        padding: 1rem 2rem;
    }
    
    .logo {
        height: 60px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: rgba(15, 24, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    section {
        padding: 5rem 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .lead-form {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .logo {
        height: 50px;
    }
    
    .hero-logo {
        max-width: 280px;
    }
}