/* CSS Variables */
:root {
    /* LeadHog Brand Colors */
    --colour-1: #FF34C6;    /* Primary Pink - Main CTAs, key highlights */
    --colour-2: #8740CD;    /* Deep Purple - Shadows, depth */
    --colour-3: #B76FFF;    /* Secondary Purple - Accents, borders */
    --color-1: #FF34C6;     /* Alias for compatibility */
    --color-2: #B76FFF;     /* Alias for compatibility */
    --color-3: #8740CD;     /* Alias for compatibility */
    
    /* Shade Variables - Whites, Grays, and Blacks */
    --shade-1: #FFFFFF;         /* Pure White */
    --shade-2: #f2f3fa;         /* Light Gray - Section backgrounds */
    --shade-2-dark: #E8E9F0;    /* Medium Gray - Borders */
    --shade-2-light: #f8f9ff;   /* Extra Light Purple */
    --shade-3: #E8E9F0;         /* Medium Gray - Borders, dividers */
    --shade-4: #2a2a2a;         /* Dark Gray - Body text */
    --shade-5: #000000;         /* Black - Main headings */
    
    /* Utility Colors */
    --success: #2FD573;
    --info: #71C9FF;
    --warning: #FFA503;
    --danger: #FF4858;
    
    /* Typography */
    --font-1: 'Inter', sans-serif;
    --font-2: 'Varela Round', sans-serif;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Varela Round', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;     /* 8px */
    --spacing-sm: 1rem;       /* 16px */
    --spacing-md: 2rem;       /* 32px */
    --spacing-lg: 3rem;       /* 48px */
    --spacing-xl: 4rem;       /* 64px */
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 10px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--shade-4);
    background-color: var(--shade-1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Navigation */
.navbar {
    background-color: var(--shade-1);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    max-width: 250px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    text-decoration: none;
    color: var(--shade-4);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--colour-2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--shade-4);
    padding: var(--spacing-xs);
}

.mobile-menu-toggle i {
    width: 24px;
    height: 24px;
}

/* Universal Button Styles */
.btn, .leadhog-submit {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    font-family: var(--font-primary);
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary, .leadhog-submit {
    background-color: var(--color-1);
    color: var(--shade-1);
}

.btn-primary:hover, .leadhog-submit:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--colour-1);
    color: var(--shade-1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:active, .leadhog-submit:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl) 0;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 15, 46, 0.85);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--shade-1);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--shade-1);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-note {
    color: var(--shade-1);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.9;
    margin-top: var(--spacing-sm);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--shade-1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--shade-1);
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-align: center;
    color: var(--shade-5);
    margin-bottom: var(--spacing-xl);
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--shade-1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--shade-1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}

.feature-icon i {
    width: 48px;
    height: 48px;
    color: var(--color-1);
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--shade-4);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--shade-4);
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    padding: var(--spacing-xl) 0;
    background-color: var(--shade-2);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.use-case-card {
    background-color: var(--shade-1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    margin-bottom: var(--spacing-sm);
}

.use-case-icon i {
    width: 48px;
    height: 48px;
    color: var(--colour-2);
    stroke-width: 1.5;
}

.use-case-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--shade-4);
    margin-bottom: var(--spacing-sm);
}

.use-case-card p {
    color: var(--shade-4);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.use-case-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
}

.use-case-benefits li {
    color: var(--shade-4);
    margin-bottom: var(--spacing-xs);
    padding-left: 1.5rem;
    position: relative;
}

.use-case-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238740CD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20,6 9,17 4,12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    top: 2px;
}

/* How It Works Section - Interactive Slider */
.how-it-works {
    padding: var(--spacing-xl) 0;
    background-color: var(--shade-1);
}

.steps-slider {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.step-slide {
    display: none;
    background-color: var(--shade-1);
    padding: var(--spacing-xl);
    text-align: center;
    border: 2px solid var(--shade-2);
    min-height: 280px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.step-slide.active {
    display: flex;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--colour-2);
    color: var(--shade-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.step-slide h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--shade-4);
    margin-bottom: var(--spacing-sm);
}

.step-slide p {
    color: var(--shade-4);
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 400px;
    margin-bottom: var(--spacing-md);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.slider-btn {
    background-color: var(--color-1);
    color: var(--shade-1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn i {
    width: 20px;
    height: 20px;
    color: var(--shade-1);
}

.slider-btn:hover {
    background-color: var(--colour-2);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--shade-3);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--color-1);
}

.dot:hover {
    background-color: var(--colour-2);
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .step-slide {
        padding: var(--spacing-lg);
        min-height: 240px;
    }
    
    .step-slide h3 {
        font-size: 1.5rem;
    }
    
    .step-slide p {
        font-size: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--shade-2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--shade-1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    margin-bottom: var(--spacing-sm);
    display: flex;
    gap: 2px;
}

.testimonial-stars .star-filled {
    width: 16px;
    height: 16px;
    color: #ffd700;
    fill: #ffd700;
    stroke-width: 1;
}

.testimonial-card p {
    color: var(--shade-4);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--shade-4);
    display: block;
}

.testimonial-author span {
    color: var(--shade-4);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: var(--shade-2);
    color: var(--shade-4);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    color: var(--shade-5);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--shade-4);
}

.cta-note {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--shade-4);
}

/* LeadHog Form Styling */
#leadhog-19 {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.lead-hog {
    background-color: var(--shade-1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: var(--spacing-md) 0;
}

.leadhog-h2 {
    color: var(--shade-4) !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    margin-bottom: var(--spacing-md) !important;
    text-align: center !important;
    font-family: var(--font-primary) !important;
}

.leadhog-p {
    color: var(--shade-4) !important;
    margin-bottom: var(--spacing-md) !important;
    text-align: center !important;
}

.lead-hog div {
    margin-bottom: var(--spacing-sm);
}

.leadhog-label {
    display: block !important;
    color: var(--shade-4) !important;
    font-weight: 600 !important;
    margin-bottom: var(--spacing-xs) !important;
    font-size: 0.95rem !important;
    font-family: var(--font-primary) !important;
}

.leadhog-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e9ecef !important;
    border-radius: var(--border-radius-md) !important;
    font-size: 1rem !important;
    font-family: var(--font-primary) !important;
    color: var(--shade-4) !important;
    background-color: var(--shade-1) !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
    box-sizing: border-box !important;
}

.leadhog-input:focus {
    outline: none !important;
    border-color: var(--colour-2) !important;
    box-shadow: 0 0 0 3px rgba(135, 64, 205, 0.1) !important;
}

.leadhog-input.textarea {
    min-height: 100px !important;
    resize: vertical !important;
    font-family: var(--font-primary) !important;
}

.leadhog-input::placeholder {
    color: var(--shade-4) !important;
    opacity: 0.7 !important;
}

.leadhog-submit {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 1.1rem !important;
    margin-top: var(--spacing-sm) !important;
}

/* Responsive adjustments for the form */
@media (max-width: 768px) {
    #leadhog-19 {
        max-width: 100%;
        margin: 0;
    }
    
    .lead-hog {
        padding: var(--spacing-md);
        margin: var(--spacing-sm) 0;
    }
    
    .leadhog-h2 {
        font-size: 1.5rem !important;
    }
}

/* Footer */
.footer {
    background-color: var(--shade-4);
    color: var(--shade-2);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 35px;
    width: auto;
    max-width: 180px;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1); /* Makes logo white for dark footer */
}

.footer-section h4 {
    color: var(--shade-1);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--shade-2);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--colour-2);
}

.footer-bottom {
    border-top: 1px solid var(--shade-3);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--shade-4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links.mobile-menu-open {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--shade-1);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        gap: var(--spacing-sm);
    }
    
    .nav-links.mobile-menu-open a {
        padding: var(--spacing-xs) 0;
        border-bottom: 1px solid var(--shade-2);
    }
    
    .nav-links.mobile-menu-open .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-card, .use-case-card, .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .navbar {
        padding: var(--spacing-xs) 0;
    }
    
    .nav-brand .logo {
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: calc(70px + var(--spacing-lg)) 0 var(--spacing-lg) 0;
    }
    
    .feature-icon i, .use-case-icon i {
        width: 40px;
        height: 40px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover, .feature-card:hover, .use-case-card:hover, 
    .testimonial-card:hover, .step-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .feature-card:active, .use-case-card:active, .testimonial-card:active {
        transform: translateY(-2px);
    }
}

/* Ensure proper scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Fix for iOS Safari viewport units */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
} 