@font-face {
    font-family: 'MiSans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Regular.ttf');
}

@font-face {
    font-family: 'MiSans-Bold';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Bold.ttf');
}

 :root {
    --primary-blue: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-red: #c63232;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'MiSans', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-red {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.4);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}


/* Header */

header {
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-link {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue);
}


/* Mobile menu toggle (add to your HTML) */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

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

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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


/* Hero Section */

.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

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

.hero h1 {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 72px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-image-wrapper {
    margin-top: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: inline-block;
    background: white;
    padding: 10px;
    max-width: 1200px;
    width: 100%;
}

.hero-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}


/* Features Section */

.features {
    padding: 120px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.section-title p {
    font-size: 20px;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
    border: 4px solid var(--bg-light);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item h3 {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}


/* Tech Stack Showcase */

.tech-stack {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: center;
}

.tech-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-card img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin-bottom: 30px;
    object-fit: contain;
}

.tech-card h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}


/* Pricing Section */

.pricing {
    padding: 120px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-10px);
}

.pricing-card.featured {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid var(--primary-blue);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 24px;
    font-family: 'MiSans-Bold', sans-serif;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.plan-users {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    background: #f1f5f9;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    align-self: flex-start;
}

.plan-price {
    font-size: 48px;
    font-family: 'MiSans-Bold', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.plan-price span {
    font-size: 16px;
    color: var(--text-gray);
    margin-left: 5px;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    font-size: 16px;
}

.plan-features li i {
    color: var(--accent-red);
    margin-right: 12px;
    font-size: 20px;
}

.pricing-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-card:hover .pricing-btn,
.pricing-card.featured .pricing-btn {
    background: var(--primary-blue);
    color: white;
}


/* Support Section */

.support {
    padding: 120px 0;
    background: linear-gradient(to right, #f8fafc, #edf2f7);
    position: relative;
}

.support-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.support-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.support-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-align: center;
    border-top: 5px solid transparent;
}

.support-card:nth-child(1) {
    border-color: #94a3b8;
}

.support-card:nth-child(2) {
    border-color: #3b82f6;
}

.support-card:nth-child(3) {
    border-color: #1e3a8a;
}

.support-card:nth-child(4) {
    border-color: #e53e3e;
}

.tier-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.response-time {
    font-size: 32px;
    font-family: 'MiSans-Bold', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.response-label {
    color: var(--text-gray);
    margin-bottom: 20px;
    display: block;
}


/* Footer */

footer {
    background-color: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.6;
    max-width: 400px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
    color: #64748b;
}


/* ============================================
           RESPONSIVE MEDIA QUERIES
           ============================================ */


/* Large Tablets and Small Laptops (1200px and below) */

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    .hero h1 {
        font-size: 56px;
    }
    .hero p {
        font-size: 20px;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
}


/* Tablets (992px and below) */

@media screen and (max-width: 992px) {
    .container {
        padding: 0 24px;
    }
    header {
        height: 80px;
    }
    .logo img {
        height: 50px;
    }
    .nav-menu {
        gap: 30px;
    }
    .nav-link {
        font-size: 16px;
    }
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero p {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .hero-image-wrapper {
        margin-top: 60px;
    }
    .section-title h2 {
        font-size: 40px;
    }
    .section-title p {
        font-size: 18px;
    }
    .features {
        padding: 80px 0;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .feature-icon {
        width: 120px;
        height: 120px;
    }
    .feature-item h3 {
        font-size: 20px;
    }
    .tech-stack {
        padding: 80px 0;
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .pricing {
        padding: 80px 0;
    }
    .support {
        padding: 80px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}


/* Mobile Landscape and Small Tablets (768px and below) */

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    header {
        height: 70px;
    }
    .logo img {
        height: 40px;
    }
    /* Show mobile toggle */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    /* Hide desktop menu, show as overlay on mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
    }
    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .hero h1 {
        font-size: 36px;
        margin-bottom: 16px;
    }
    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .hero-image-wrapper {
        margin-top: 40px;
        padding: 8px;
    }
    .section-title {
        margin-bottom: 50px;
    }
    .section-title h2 {
        font-size: 32px;
    }
    .section-title p {
        font-size: 16px;
    }
    .features {
        padding: 60px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .feature-icon {
        width: 100px;
        height: 100px;
    }
    .feature-item h3 {
        font-size: 22px;
    }
    .feature-item p {
        font-size: 15px;
    }
    .tech-stack {
        padding: 60px 0;
    }
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tech-card {
        padding: 30px;
    }
    .tech-card img {
        max-height: 150px;
        margin-bottom: 20px;
    }
    .pricing {
        padding: 60px 0;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pricing-card {
        padding: 30px 24px;
    }
    .plan-price {
        font-size: 40px;
    }
    .support {
        padding: 60px 0;
    }
    .support-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    footer {
        padding: 60px 0 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-desc {
        max-width: 100%;
    }
}


/* Mobile Portrait (576px and below) */

@media screen and (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    .hero h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    .hero p {
        font-size: 15px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .section-title p {
        font-size: 15px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    .feature-icon {
        width: 90px;
        height: 90px;
    }
    .feature-item h3 {
        font-size: 20px;
    }
    .tech-card h4 {
        font-size: 20px;
    }
    .plan-name {
        font-size: 22px;
    }
    .plan-price {
        font-size: 36px;
    }
    .plan-features li {
        font-size: 15px;
    }
    .tier-name {
        font-size: 18px;
    }
    .response-time {
        font-size: 28px;
    }
    .footer-logo {
        font-size: 24px;
    }
}


/* Extra Small Mobile (400px and below) */

@media screen and (max-width: 400px) {
    .hero h1 {
        font-size: 24px;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    .plan-price {
        font-size: 32px;
    }
}


/* Contact Section */

.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.contact .section-title h2 {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.contact .section-title p {
    font-size: 18px;
    color: var(--text-gray);
}


/* Contact Form */

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* Make message textarea's form-group span both columns */

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    font-family: 'MiSans', sans-serif;
    color: var(--text-dark);
    background: white;
    transition: all 0.3s;
    width: 100%;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 45px;
}

.contact-form select option {
    padding: 10px;
    font-size: 16px;
}

.contact-form select option:disabled {
    color: #94a3b8;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(30, 58, 138, 0.2);
}

.contact-form textarea {
    resize: vertical;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    grid-column: span 2;
    justify-self: center;
    padding: 16px 40px;
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-form button {
        grid-column: span 1;
        width: 100%;
    }
}