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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 24px;
}

.navbar-logo {
    flex-shrink: 0;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.navbar-logo a:hover {
    opacity: 0.8;
}

.navbar-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
}

.navbar-menu li {
    display: flex;
    align-items: center;
}

.navbar-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
    line-height: 1.5;
}

.navbar-menu li a:not(.btn-nav):not(.btn-nav-secondary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s;
}

.navbar-menu li a:not(.btn-nav):not(.btn-nav-secondary):hover::after {
    width: 100%;
}

.navbar-menu li a:not(.btn-nav):not(.btn-nav-secondary):hover {
    color: #1890ff;
}

.navbar-menu li a.active {
    color: #1890ff;
    font-weight: 600;
}

/* Dropdown Menu */
.navbar-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 8px;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s;
    vertical-align: middle;
}

.navbar-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 4px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile: show dropdown when active class is present - styles moved to main mobile section */

.dropdown-menu li {
    margin: 0;
    padding: 0;
    border-bottom: none;
    list-style: none;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-menu li:first-child {
    margin-top: 0;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.15s ease;
    position: relative;
    border-radius: 4px;
    margin: 0;
    line-height: 1.5;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li:hover > a {
    color: #1890ff;
}

.dropdown-menu li a.active {
    color: #1890ff;
    font-weight: 600;
}

.dropdown-menu li a.active:hover {
    color: #1890ff;
}

.btn-nav {
    background: #1890ff;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: #40a9ff;
    transform: translateY(-1px);
}

.btn-nav-secondary {
    background: transparent;
    color: #1890ff !important;
    padding: 8px 16px;
    border: 1px solid #1890ff;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.btn-nav-secondary::after {
    display: none;
}

.btn-nav-secondary:hover {
    background: #1890ff;
    color: white !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.hero-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.hero-link {
    margin-top: 8px;
    font-size: 14px;
}

.hero-link a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s;
}

.hero-link a:hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Bot Info Section */
.bot-info {
    padding: 80px 0;
    background: #f8f9ff;
}

/* Safety Section */
.safety {
    padding: 100px 0;
    background: #fafafa;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.safety-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.safety-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #1890ff;
}

.safety-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.safety-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

.bot-info-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bot-info-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
}

.bot-info-card p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #1890ff;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}


/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.use-case-card {
    padding: 32px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.use-case-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #1890ff;
}

.use-case-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.use-case-card p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0 80px;
    background: #fafafa;
    overflow: visible;
}

.pricing-container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: visible;
}

.pricing-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
    padding-top: 15px;
}

.pricing-grid::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    flex: 0 0 calc(19% - 13px);
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: start;
}

.pricing-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 32px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.pricing-carousel-btn:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.pricing-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.pricing-carousel-btn-prev {
    left: -60px;
}

.pricing-carousel-btn-next {
    right: -60px;
}

.pricing-carousel-btn span {
    line-height: 1;
    display: block;
}

@media (max-width: 1400px) {
    .pricing-card {
        flex: 0 0 calc(24% - 13px);
        min-width: 250px;
    }
}

@media (max-width: 1100px) {
    .pricing-card {
        flex: 0 0 calc(32% - 11px);
        min-width: 230px;
    }
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 0 20px;
    }
    
    .pricing-grid {
        padding-top: 15px;
    }
    
    .pricing-card {
        flex: 0 0 calc(85% - 16px);
    }
    
    .pricing-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .pricing-carousel-btn-prev {
        left: 5px;
    }
    
    .pricing-carousel-btn-next {
        right: 5px;
    }
}

.pricing-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 28px 20px;
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
}

.pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #1890ff;
    z-index: 5;
}

.pricing-card-popular {
    border-color: #1890ff;
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.2);
}

.pricing-card-popular:hover {
    box-shadow: 0 8px 32px rgba(24, 144, 255, 0.3);
    border-color: #1890ff;
    border-width: 2px;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #1890ff;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 10;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.pricing-price {
    margin-bottom: 16px;
}

.price {
    font-size: 38px;
    font-weight: 700;
    color: #1890ff;
    line-height: 1.2;
}

.period {
    font-size: 15px;
    color: #666;
    margin-left: 4px;
}

.pricing-description {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px;
    min-height: 240px;
}

.pricing-features li {
    padding: 8px 0;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

.pricing-features li:first-child {
    font-weight: 600;
    color: #1890ff;
    font-size: 15px;
}

.btn-outline {
    background: white;
    color: #1890ff;
    border: 2px solid #1890ff;
}

.btn-outline:hover {
    background: #1890ff;
    color: white;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-card {
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
}

.cta-card > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.cta-footer {
    margin-top: 32px;
    color: #666;
    font-size: 14px;
}

.cta-footer a {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
}

.cta-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0 20px;
    }

    .navbar-content {
        padding: 12px 0;
    }

    .navbar-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0 !important;
        padding-top: 90px !important;
        margin: 0 !important;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
        border-right: 2px solid #e8e8e8;
        transform: translateX(-100%);
        transition: transform 0.3s;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        box-sizing: border-box;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-menu li {
        width: 100%;
        max-width: 100%;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
    }
    
    .navbar-dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar-menu li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 24px;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .navbar-menu li a.btn-nav,
    .navbar-menu li a.btn-nav-secondary {
        display: block;
        justify-content: center;
        text-align: center;
    }
    
    .navbar-menu li:first-child {
        border-top: none;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .navbar-menu li:first-child a {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 14px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    .navbar-dropdown {
        width: 100%;
    }
    
    .dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-arrow {
        margin-left: auto;
        font-size: 10px;
    }

    .navbar-menu li a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        margin: 0;
        padding: 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #e8e8e8;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .navbar-menu .dropdown-menu li a {
        padding-left: 96px !important;
        padding-right: 24px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .navbar-dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .navbar-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .btn-nav {
        margin: 32px 24px 8px 24px;
        text-align: center !important;
        display: block;
        padding: 12px 24px;
        width: calc(100% - 48px);
        max-width: calc(100% - 48px);
        box-sizing: border-box;
    }
    
    .btn-nav-secondary {
        margin: 8px 24px 12px 24px;
        text-align: center !important;
        display: block;
        padding: 12px 24px;
        width: calc(100% - 48px);
        max-width: calc(100% - 48px);
        box-sizing: border-box;
    }
    
    .navbar-menu li:last-of-type {
        padding-bottom: 20px;
        border-bottom: none;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .how-it-works,
    .bot-info,
    .use-cases,
    .safety,
    .pricing,
    .cta {
        padding: 60px 0;
    }

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

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

    .bot-info-card {
        padding: 40px 24px;
    }

    .bot-info-card h2 {
        font-size: 28px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-container {
        padding: 0 20px;
    }
    
    .pricing-grid {
        flex-direction: row;
        overflow-x: auto;
        padding-top: 15px;
    }
    
    .pricing-card {
        flex: 0 0 calc(85% - 16px);
    }
    
    .pricing-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .pricing-carousel-btn-prev {
        left: 5px;
    }
    
    .pricing-carousel-btn-next {
        right: 5px;
    }

    .price {
        font-size: 40px;
    }

    .pricing-features {
        min-height: auto;
    }

    .section-header h2,
    .benefits-text h2,
    .cta-card h2 {
        font-size: 32px;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-card {
        padding: 40px 24px;
    }
}
