/* 
   Botgran Rebranding - Minimalist & Clean Light Theme (Kiwify Style)
*/

:root {
    /* Color Palette - Kiwify Style */
    --clr-bg-gray: #F3F4F6;       /* Solid gray background for sections */
    --clr-bg-white: #FFFFFF;      /* Pure white for alternating sections & cards */
    --clr-accent: #2563EB;        /* Primary Blue */
    --clr-accent-hover: #1D4ED8;  /* Darker blue hover */
    --clr-text-main: #4B5563;     /* Paragraph gray (Gray 600) */
    --clr-text-muted: #6B7280;    /* Muted text (Gray 500) */
    --clr-dark: #111827;          /* High contrast headings (Gray 900) */
    --clr-border: #E5E7EB;        /* Soft border for cards and dividers */
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition: all 0.2s ease-in-out;
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-gray);
    /* Technological dot-grid clean background */
    background-image: radial-gradient(#E5E7EB 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations CSS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes tech-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); filter: drop-shadow(0 10px 10px rgba(37, 99, 235, 0.15)); }
    100% { transform: translateY(0px); }
}

.tech-float-animation {
    animation: tech-float 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-tech-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-dark);
    letter-spacing: -0.025em; /* Tighter letter spacing for modern look */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--clr-accent);
}

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

/* Primary Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 350px;
    height: 350px;
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    animation: pulse-tech-glow 2s infinite;
}

.btn-secondary {
    background-color: var(--clr-white);
    color: var(--clr-dark);
    border: 1px solid #D1D5DB;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #F9FAFB;
    border-color: #9CA3AF;
}

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

.w-100 {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-card);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px; /* Slimmer navbar */
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--clr-accent);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--clr-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.highlight {
    color: var(--clr-dark);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0; /* Add padding to push content down below fixed nav */
    background-color: var(--clr-bg-gray); /* Solid gray like Kiwify */
    text-align: center;
}

/* Hide the overlay and background image completely to force flat gray */
.hero-bg, .hero-overlay {
    display: none;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--clr-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-main);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Generic Section settings */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--clr-dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--clr-text-main);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* Features (4 Ways) */
.features-section {
    background-color: var(--clr-bg-white);
    border-top: 1px solid var(--clr-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--clr-white);
    border-radius: 8px; /* Square-ish modern corners */
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.feature-img-wrapper {
    width: 100%;
    height: 160px;
    background-color: #F8FAFC;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-info {
    padding: 24px;
}

.feature-info h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #EFF6FF; /* Very light blue */
    color: var(--clr-accent);
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

/* Remove absolute positioning of icon to keep it clean internal layout */
.feature-info .feature-icon {
    position: static;
    box-shadow: none;
    border: none;
}

/* About Section */
.about-section {
    background-color: var(--clr-bg-gray);
    border-top: 1px solid var(--clr-border);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--clr-text-main);
}

.about-list {
    margin-top: 24px;
}

.about-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--clr-dark);
}

.about-list li i {
    color: #10B981; /* Success green check */
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    border: 1px solid var(--clr-border);
}

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

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--clr-white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--clr-border);
}

.experience-badge .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-accent);
    line-height: 1;
}

.experience-badge .text {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

/* Markets Section */
.markets-section {
    background-color: var(--clr-bg-white);
    border-top: 1px solid var(--clr-border);
}

.markets-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.markets-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    border: 1px solid var(--clr-border);
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background-color: var(--clr-bg-gray);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
}

.stat-card h3 {
    font-size: 1.8rem;
    color: var(--clr-accent);
    margin-bottom: 4px;
}

.stat-card p {
    color: var(--clr-text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Ads / Info Products Section */
.ads-section {
    background-color: var(--clr-bg-gray);
    border-top: 1px solid var(--clr-border);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--clr-white);
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #10B981; /* Green highlight for products */
    color: var(--clr-white);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-img {
    height: 180px;
    background-color: #F8FAFC;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img i {
    font-size: 3.5rem;
    color: #94A3B8;
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.product-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pricing-box {
    background-color: var(--clr-bg-gray);
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.price-normal, .price-community {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-community {
    margin-bottom: 0;
    border-top: 1px solid var(--clr-border);
    padding-top: 8px;
}

.price-normal span {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.strikethrough {
    text-decoration: line-through;
    color: #9CA3AF !important;
}

.price-community span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clr-dark);
}

.price-community .target {
    color: var(--clr-accent);
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background-color: var(--clr-white);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--clr-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 1.75rem;
    color: var(--clr-accent);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-brand span {
    color: var(--clr-dark);
}

.footer-brand p {
    color: var(--clr-text-muted);
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links h3, .footer-contact h3 {
    color: var(--clr-dark);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--clr-text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--clr-accent);
}

.footer-contact p {
    color: var(--clr-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--clr-accent);
}

.footer-bottom {
    border-top: 1px solid var(--clr-border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* Fix CSS placeholders */
.placeholder-icon {
    font-size: 3rem !important;
    color: #94A3B8 !important;
}
.feature-card .feature-img-wrapper[style*="background"] {
    background: #F8FAFC !important;
}

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

    .about-container, .markets-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media(max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}
