/* ==========================================================================
   Conflo Coming Soon Stylesheet (Premium Light Theme)
   ========================================================================== */

/* Typography & Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* HSL Theme Colors (Premium Light Theme) */
    --bg-light: hsl(210, 20%, 98%);
    --bg-light-accent: hsl(210, 20%, 95%);
    --bg-white: hsl(0, 0%, 100%);
    
    /* Brand Accents */
    --brand-primary: hsl(165, 100%, 33%); /* Modern WhatsApp Green */
    --brand-primary-rgb: 0, 168, 132;
    --brand-primary-hover: hsl(165, 100%, 26%);
    --brand-secondary: hsl(180, 85%, 38%); /* Teal Cyan */
    --brand-secondary-rgb: 15, 178, 184;
    
    /* Text Tokens */
    --text-main: hsl(222, 47%, 12%); /* Obsidian Deep Slate */
    --text-muted: hsl(215, 16%, 45%);
    --text-dim: hsl(215, 16%, 60%);
    
    /* Glassmorphism Cards (Light) */
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(0, 0, 0, 0.06);
    --card-hover-border: rgba(0, 168, 132, 0.25);
    
    /* Custom layout variables */
    --max-width: 900px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & general defaults */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

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

/* Background canvas for particles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ambient glow highlights (Light Theme adjusted) */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    top: -100px;
    right: -50px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-secondary) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}

/* Page structural wrapper */
.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
}

/* Header style */
.site-header {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.2rem;
    height: 2.2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 168, 132, 0.15);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-main) 60%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main Content Styles */
.main-content {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto 0;
}

/* Launch badge pulsing */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 168, 132, 0.06);
    border: 1px solid rgba(0, 168, 132, 0.12);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 168, 132, 0.05);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--brand-primary);
    top: 0;
    left: 0;
    animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

/* Hero Section */
.hero-header {
    margin-bottom: 4rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 40%, hsl(222, 20%, 30%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sneak Peek Tabs Section */
.sneak-peek-section {
    width: 100%;
    margin-bottom: 2rem;
    text-align: left;
}

.sneak-peek-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    text-align: center;
    color: var(--text-main);
}

.tab-selectors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--card-border);
    padding: 0.4rem;
    border-radius: 0.85rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 0.5rem;
    border-radius: 0.6rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.01);
}

.tab-btn.active {
    color: var(--brand-primary);
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04),
                0 1px 2px rgba(0,0,0,0.02);
}

.tab-icon {
    font-size: 1rem;
}

/* Tab Content Display Area */
.tab-contents {
    position: relative;
    min-height: 180px;
}

.tab-pane {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03),
                0 1px 3px rgba(0,0,0,0.02);
    display: none;
    transition: var(--transition-smooth);
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

.tab-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.tab-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Mock-UI Preview Cards (Light Theme) */
.mock-ui {
    background: var(--bg-light-accent);
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 1.15rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.mock-ui-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding-bottom: 0.4rem;
}

/* Smart Tab Preview Details */
.mock-tag-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mock-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.03);
}

.mock-tag.active {
    color: var(--brand-primary);
    background: rgba(0, 168, 132, 0.08);
    border-color: rgba(0, 168, 132, 0.2);
    font-weight: 600;
}

/* Custom Profiles Preview Details */
.mock-profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.mock-field-label {
    color: var(--text-dim);
}

.mock-field-val {
    color: var(--text-main);
    font-weight: 600;
}

.mock-field-badge {
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
}

.status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: hsl(35, 95%, 45%);
}

/* Quick Replies Preview Details */
.mock-template-item {
    font-size: 0.7rem;
    padding: 0.45rem;
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    border-radius: 0.4rem;
    margin-bottom: 0.4rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}

.mock-template-item strong {
    color: var(--brand-secondary);
}

.mock-template-item span {
    color: var(--text-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 0.1rem;
}

/* Excel Export Preview Details */
.mock-export-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-export-format {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mock-export-format span {
    color: var(--text-main);
    font-weight: 600;
}

.mock-btn-action {
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    color: var(--text-dim);
    padding: 0.45rem;
    border-radius: 0.4rem;
    font-size: 0.7rem;
    cursor: not-allowed;
    text-align: center;
    font-weight: 500;
}

/* More Features Section Minimal */
.more-features-minimal {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    font-style: italic;
    opacity: 0.8;
}

/* Footer Section */
.site-footer {
    width: 100%;
    max-width: var(--max-width);
    border-top: 1px solid var(--card-border);
    padding-top: 1.75rem;
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.bullet {
    opacity: 0.4;
}

/* Responsiveness Media Queries */
@media (max-width: 768px) {
    .tab-selectors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tab-pane {
        padding: 1.5rem;
    }
    
    .site-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
