* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FCFDFF;
    color: #0A0F1C;
    scroll-behavior: smooth;
    line-height: 1.5;
    padding-top: 104px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

#platform,
#smtp-hub,
#whatsapp-api,
#pricing {
    scroll-margin-top: 120px;
}

/* refined button system */
.btn-primary {
    background: #0A0F1C;
    color: white;
    padding: 12px 28px;
    border-radius: 44px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-primary:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -12px rgba(0,0,0,0.2);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid #DCE3EC;
    color: #1A253B;
    padding: 10px 24px;
    border-radius: 44px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-outline:hover {
    border-color: #0A0F1C;
    background: #F8FAFE;
    transform: translateY(-1px);
}
.btn-gradient {
    background: linear-gradient(105deg, #0A0F1C 0%, #253450 100%);
    color: white;
    padding: 14px 34px;
    border-radius: 48px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.btn-gradient:hover {
    transform: translateY(-2px);
    background: linear-gradient(105deg, #121927 0%, #2F405F 100%);
    box-shadow: 0 16px 28px -10px rgba(0,0,0,0.2);
}

/* navbar polished */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 64px));
    z-index: 1400;
    background: rgba(252, 253, 255, 0.94);
    backdrop-filter: blur(10px);
    padding: 28px 0;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #EDF2F7;
}
.logo {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(125deg, #0A0F1C, #2C3F6E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span {
    background: linear-gradient(125deg, #2563EB, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-toggle {
    display: none;
    border: 1px solid #DCE3EC;
    background: #FFFFFF;
    color: #0A0F1C;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #2C3E50;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: #0A0F1C;
}

/* hero modern */
.hero {
    padding: 70px 0 90px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}
.hero-content {
    flex: 1.2;
}
.hero-badge {
    background: #EEF4FF;
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    backdrop-filter: blur(2px);
}
.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #020617;
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.5;
}
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 42px;
}
.stat-item h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0A0F1C;
}
.hero-image {
    flex: 1;
    background: linear-gradient(145deg, #F7FAFF 0%, #ECF3FA 100%);
    border-radius: 48px;
    padding: 42px 28px;
    text-align: center;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
}
.hero-image i {
    font-size: 5.8rem;
    color: #1E293B;
    opacity: 0.85;
}

/* section spacing */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}
.section-sub {
    text-align: center;
    color: #5B6E8C;
    max-width: 700px;
    margin: 0 auto 56px auto;
    font-size: 1.1rem;
}

/* unlimited card premium */
.unlimited-card {
    background: #FFFFFF;
    border-radius: 56px;
    border: 1px solid #E9F0F5;
    padding: 52px 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.03);
    transition: all 0.2s;
}
.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}
.badge-list span {
    background: #F0F4FE;
    padding: 7px 18px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.8rem;
}

/* pricing cards - elevated */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 40px 0 20px;
}
.price-card {
    background: white;
    border-radius: 40px;
    padding: 36px 28px;
    flex: 1;
    min-width: 270px;
    max-width: 340px;
    border: 1px solid #EAF0F6;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    text-align: center;
    position: relative;
    backdrop-filter: blur(2px);
}
.price-card:hover {
    transform: translateY(-8px);
    border-color: #C7D9F0;
    box-shadow: 0 24px 40px -16px rgba(0,0,0,0.12);
}
.price-card.popular {
    border-top: 4px solid #2563EB;
    background: #FFFFFF;
    box-shadow: 0 12px 28px -8px rgba(37,99,235,0.12);
}
.popular-badge {
    background: #2563EB;
    color: white;
    padding: 6px 16px;
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 800;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 24px 0 8px;
}
.feature-list {
    margin: 28px 0;
    text-align: left;
}
.feature-list li {
    list-style: none;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-list i.fa-check {
    color: #10B981;
    font-size: 0.9rem;
}

/* scheduler card */
.scheduler-demo {
    background: #0C1425;
    border-radius: 40px;
    padding: 48px;
    color: white;
    margin-top: 24px;
}
.time-range {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 32px 0 36px;
}
.time-card {
    background: #1A253B;
    border-radius: 28px;
    padding: 18px 26px;
    min-width: 180px;
    border: 1px solid #2C3A55;
}
.excel-demo {
    background: #101a2c;
    border-radius: 28px;
    padding: 20px 28px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* features grid with micro-interactions */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 34px;
}
.feature-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 34px 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    border: 1px solid #EDF2F9;
    transition: all 0.25s;
    cursor: pointer;
}
.feature-card:hover {
    border-color: #BCD0F0;
    transform: translateY(-5px);
    box-shadow: 0 24px 36px -16px rgba(0,0,0,0.08);
}
.feature-icon {
    background: #F0F4FE;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin-bottom: 28px;
    font-size: 30px;
    color: #0F172A;
}

/* steps */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
}
.step {
    text-align: center;
    max-width: 230px;
}
.step-number {
    background: #0A0F1C;
    color: white;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 8px 14px -8px rgba(0,0,0,0.2);
}

/* CTA refined */
.cta-section {
    background: linear-gradient(125deg, #F3F7FD 0%, #EAF1FA 100%);
    border-radius: 56px;
    padding: 72px 48px;
    text-align: center;
    margin-bottom: 40px;
}

/* Modal premium */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}
.modal-overlay.active {
    visibility: visible;
    opacity: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-container {
    background: white;
    max-width: 940px;
    width: 90%;
    border-radius: 56px;
    padding: 44px 40px;
    transform: scale(0.96);
    transition: transform 0.25s;
    box-shadow: 0 35px 50px -20px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}
.signup-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}
.demo-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}
.signup-form-grid .form-group {
    margin-bottom: 0;
}
.demo-form-grid .form-group {
    margin-bottom: 0;
}
.signup-form-grid > div:last-child {
    grid-column: 1 / -1;
}
.demo-form-actions {
    grid-column: 1 / -1;
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #1F2A44;
}
.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2EAF5;
    border-radius: 34px;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2EAF5;
    border-radius: 34px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fff;
}
.form-group textarea {
    border-radius: 24px;
    resize: vertical;
    min-height: 96px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

footer {
    border-top: 1px solid #EDF2F8;
    padding: 48px 0 36px;
    color: #5F6F8D;
}

@media (max-width: 800px) {
    .hero-content h1 { font-size: 2.5rem; }
    body { padding-top: 92px; }
    .navbar { gap: 14px; width: calc(100% - 48px); }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 30;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        background: #FFFFFF;
        border: 1px solid #E8EEF7;
        border-radius: 20px;
        padding: 16px;
        box-shadow: 0 16px 30px -20px rgba(0,0,0,0.35);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .nav-links.mobile-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-links a { width: 100%; }
    .nav-links #contactSalesBtn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }
    .container { padding: 0 24px; }
    .unlimited-card { padding: 32px 24px; }
    .cta-section { padding: 48px 24px; }
    .modal-container { max-width: 94vw; padding: 34px 22px; border-radius: 36px; }
    .signup-form-grid { grid-template-columns: 1fr; }
    .demo-form-grid { grid-template-columns: 1fr; }
    .signup-form-grid .form-group:nth-last-child(2),
    .signup-form-grid .form-group:last-child { grid-column: auto; }
}

@media (min-width: 801px) and (max-width: 1100px) {
    .signup-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .demo-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .signup-form-grid .form-group:nth-last-child(2),
    .signup-form-grid .form-group:last-child { grid-column: auto; }
}