:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2A;
    --primary-light: #FF8A5B;
    --secondary: #004E89;
    --dark: #1A1A2E;
    --dark-alt: #16213E;
    --light: #FFFFFF;
    --text: #2D2D2D;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --glow: rgba(255, 107, 53, 0.15);
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-cta {
    background: var(--dark);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    padding: 100px 0 3rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

h1 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    width: fit-content;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.hero-link {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-link a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: all 0.2s;
}

.hero-link a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin: -1rem;
}

.hero-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.hero-card-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-card-title {
    font-weight: 600;
    color: var(--dark);
}

.hero-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

.chat-message {
    background: #F3F4F6;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text);
    animation: fadeInUp 0.5s ease;
}

.chat-response {
    background: var(--dark);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border-bottom-right-radius: 4px;
    margin-left: auto;
    max-width: 90%;
    font-size: 0.95rem;
    animation: fadeInUp 0.5s ease 0.3s both;
}

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

.floating-badge {
    position: absolute;
    background: #FFFFFF;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-badge.top-right {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-badge.bottom-left {
    bottom: 40px;
    right: -30px;
    animation-delay: 1.5s;
}

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

.badge-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: #FFFFFF;
}

.stats .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.stats-content h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.stats-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.stats-content p strong {
    color: var(--primary);
    font-weight: 700;
}

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

.stat-card {
    background: #FFFFFF;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--primary);
}

.stat-number {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 3rem 0;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 78, 137, 0.1) 0%, transparent 50%);
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-4px);
}

.step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.step p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Channels */
.channels {
    padding: 3rem 0;
    background: #FFFFFF;
}

.channels .section-header h2 {
    color: var(--dark);
}

.channels .section-header p {
    color: var(--text-light);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.channel-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.channel-card:hover {
    border-color: var(--primary);
    background: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.channel-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.channel-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.channel-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Industries */
.industries {
    padding: 2.5rem 0;
    background: #F9FAFB;
}

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

.industries h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.industry-tag {
    background: #FFFFFF;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.industry-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
}

/* Trust */
.trust {
    padding: 3rem 0;
    background: #FFFFFF;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-card {
    padding: 1.25rem;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.trust-card:hover {
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.1);
}

.trust-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8A5B 50%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta > .container > p {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.form-container {
    max-width: 520px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 40px rgba(255, 255, 255, 0.1);
}

.form-container iframe {
    border-radius: 8px;
}

.waitlist-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Footer */
footer {
    padding: 2.5rem 0 1.5rem;
    background: var(--dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .stats .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .channel-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .floating-badge {
        display: none;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

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

/* Chat Widget */
#chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
}

#chat-widget-iframe {
    width: 420px;
    height: 720px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-toggle-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
}

.chat-icon-open,
.chat-icon-close {
    position: absolute;
    transition: all 0.3s ease;
}

/* Collapsed state (default) */
.chat-widget-collapsed #chat-widget-iframe {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.chat-widget-collapsed .chat-icon-open {
    opacity: 1;
    transform: rotate(0deg);
}

.chat-widget-collapsed .chat-icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

/* Expanded state */
.chat-widget-expanded #chat-widget-iframe {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-widget-expanded .chat-toggle-btn {
    bottom: calc(720px + 10px);
}

.chat-widget-expanded .chat-icon-open {
    opacity: 0;
    transform: rotate(90deg);
}

.chat-widget-expanded .chat-icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Mobile responsiveness for chat widget */
@media (max-width: 480px) {
    #chat-widget-iframe {
        width: calc(100vw - 40px);
        height: 500px;
    }
    
    .chat-widget-expanded .chat-toggle-btn {
        bottom: calc(500px + 10px);
    }
    
    .chat-toggle-btn {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}
