/* 
    HONDUBOTS CSS 
    Premium, Modern, Glassmorphism Aesthetics
*/

:root {
    /* Color Palette */
    --primary: #25D366; /* WhatsApp Green */
    --primary-dark: #128C7E;
    --primary-light: #dcf8c6;
    
    --secondary: #3b82f6; /* Trust Blue */
    --secondary-light: #eff6ff;
    
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(37, 211, 102, 0.3);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-blue { color: #3b82f6; }
.text-purple { color: #8b5cf6; }
.text-green { color: #10b981; }

.bg-blue-light { background-color: #eff6ff; }
.bg-purple-light { background-color: #f5f3ff; }
.bg-green-light { background-color: #ecfdf5; }

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: #94a3b8; }
.bg-dark { background-color: var(--bg-dark); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; }
.btn-block { width: 100%; display: block; text-align: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 0;
    transition: all 0.3s ease;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 500;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite alternate;
}

.shape-1 { width: 400px; height: 400px; background: #dcf8c6; top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #e0e7ff; bottom: 100px; left: -50px; animation-delay: -5s; }
.shape-3 { width: 250px; height: 250px; background: #fce7f3; top: 40%; right: 20%; animation-duration: 15s; }

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Glass Card & Phone Mockup */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.phone-mockup {
    width: 320px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: rotate(-2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
    transform: rotate(0) scale(1.02);
}

.phone-header {
    background: #075E54;
    color: white;
    padding: 20px 16px 12px;
    display: flex;
    align-items: center;
}

.phone-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px; height: 40px;
    background: #fff;
    color: #075E54;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong { font-size: 1rem; }
.user-info span { font-size: 0.75rem; opacity: 0.8; }

.phone-body {
    flex: 1;
    background: #efeae2 url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    animation: slideIn 0.4s ease forwards;
    opacity: 0;
}

.msg-in {
    background: white;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.msg-out {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.msg-time {
    display: block;
    font-size: 0.65rem;
    color: #667781;
    text-align: right;
    margin-top: 4px;
}

.typing-indicator {
    background: white;
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    width: fit-content;
}

.typing-indicator span {
    width: 6px; height: 6px;
    background: #667781;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}
.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

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

.message:nth-child(1) { animation-delay: 0.2s; }
.message:nth-child(2) { animation-delay: 1.5s; }
.message:nth-child(3) { animation-delay: 3s; }
.message:nth-child(4) { animation-delay: 4s; }


/* Features Grid */
.grid {
    display: grid;
    gap: 32px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    padding: 32px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Niches */
.niches-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.niche-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.niche-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.niche-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.niche-content {
    padding: 24px;
}

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

.niche-content p {
    color: #94a3b8;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    padding: 48px;
    border-top: 4px solid var(--primary);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-header h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 16px;
}

.currency { font-size: 1.5rem; font-weight: 600; margin-top: 8px; }
.amount { font-size: 4rem; font-family: 'Outfit', sans-serif; font-weight: 800; line-height: 1; }
.period { font-size: 1rem; color: var(--text-muted); align-self: flex-end; margin-bottom: 12px; }

.pricing-features ul {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
}

/* Footer */
footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 80px 0 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: white;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 12px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-cta { justify-content: center; }
    .stats-row { justify-content: center; }
    
    .phone-mockup { margin: 40px auto 0; }
    
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .stats-row { flex-direction: column; gap: 24px; }
    
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
}
