/* Ranger Products - Main Landing Page Styles */

:root {
    /* Colors */
    --primary: #0073aa;
    --primary-dark: #005177;
    --accent: #00a0d2;
    --success: #46b450;
    --warning: #ffb900;
    --danger: #dc3545;
    
    /* Neutrals */
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray-dark: #333;
    --gray: #666;
    --gray-light: #999;
    --light: #f5f5f5;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buy Now menu item with gradient */
.nav-buy-now {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
    color: var(--white) !important;
}

.blog-button {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 var(--space-xxl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.1;
    z-index: -1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xxl);
    margin-top: var(--space-xl);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

/* Audience Pills */
.audience-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* Hero Audience Pills */
.hero-pills {
    margin-bottom: var(--space-xl);
    animation: fadeInDown 1s ease-out;
}

.hero-pills .pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--dark);
    font-weight: 600;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pill {
    background: var(--light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: var(--space-xxl) 0;
    background: var(--light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.25rem;
    margin-bottom: var(--space-xxl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--space-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.product-price {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.product-description {
    color: var(--gray);
    margin-bottom: var(--space-lg);
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.product-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: var(--space-sm);
    color: var(--gray-dark);
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.btn-product {
    background: var(--primary);
    color: var(--white);
    display: block;
    text-align: center;
}

.btn-product:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Marketplace Preview */
.marketplace-preview {
    padding: var(--space-xxl) 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.marketplace-preview .section-title,
.marketplace-preview .section-subtitle {
    color: var(--white);
}

.marketplace-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
}

.marketplace-cta {
    text-align: center;
}

.small-text {
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.6);
}

/* Bundle Section */
.bundle {
    padding: var(--space-xxl) 0;
}

.bundle-box {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 24px;
    padding: var(--space-xxl);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bundle-box h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.bundle-price {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.currency {
    font-size: 2rem;
    vertical-align: super;
}

.period {
    font-size: 1.5rem;
    font-weight: 400;
}

.bundle-savings {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.bundle-includes {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.bundle-includes h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.bundle-includes ul {
    list-style: none;
}

.bundle-includes li {
    padding: var(--space-sm) 0;
    font-size: 1.1rem;
}

.btn-bundle {
    background: var(--white);
    color: var(--primary);
    font-size: 1.25rem;
    padding: var(--space-lg) var(--space-xxl);
}

.btn-bundle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: var(--space-xxl) 0;
    background: var(--light);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--space-xxl) 0 var(--space-lg);
}

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

.footer-section h4 {
    margin-bottom: var(--space-md);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color 0.3s;
}

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

.footer-mission {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Audience Bar */
.audience-bar {
    background: var(--light);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 60px;
    z-index: 999;
}

.audience-text {
    text-align: center;
    color: var(--gray);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

/* Button Sizes */
.btn-large {
    font-size: 1.25rem;
    padding: var(--space-lg) var(--space-xxl);
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
}

.btn-small {
    font-size: 0.9rem;
    padding: var(--space-sm) var(--space-lg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    display: flex;
}

/* Buy Now Popup */
.buy-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    display: none;
    z-index: 1001;
}

.buy-popup.show {
    display: block;
    animation: slideInRight 0.5s ease-out;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.buy-popup h3 {
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.buy-popup p {
    margin-bottom: var(--space-lg);
    color: var(--gray);
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Bottom Bundle Offer */
.bottom-bundle-offer {
    padding: var(--space-xxl) 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.bottom-bundle-offer .section-title {
    color: var(--white);
    margin-bottom: var(--space-xxl);
}

.bundle-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.comparison-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    border-radius: 16px;
    text-align: center;
}

.comparison-card.featured {
    background: var(--gradient-primary);
    transform: scale(1.05);
    position: relative;
}

.savings-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--warning);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.comparison-card h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.comparison-card ul {
    list-style: none;
    margin-bottom: var(--space-lg);
    text-align: left;
}

.comparison-card li {
    padding: var(--space-sm) 0;
}

.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.bundle-price-large {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.bundle-price-large span {
    font-size: 1.5rem;
    font-weight: 400;
}

.guarantee {
    text-align: center;
    opacity: 0.8;
    font-style: italic;
}

/* Company Details Section */
.company-details {
    padding: var(--space-xxl) 0;
    background: var(--light);
}

.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.company-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-card h3 {
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.company-card p {
    margin-bottom: var(--space-sm);
    color: var(--gray-dark);
}

.company-card a {
    color: var(--primary);
    text-decoration: none;
}

.company-card a:hover {
    text-decoration: underline;
}

.company-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--space-sm);
        font-size: 0.9rem;
    }
    
    .nav-links a {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .audience-bar {
        position: relative;
        top: 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .audience-pills {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .bundle-price {
        font-size: 3rem;
    }
    
    .buy-popup {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .company-info {
        grid-template-columns: 1fr;
    }
}