:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --border: #e2e8f0;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.plan-features ul li ion-icon {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Pricing Cards (Based on ui/sorry.html) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    /* slate-200 opacity */
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
    /* blue-200 */
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-card .description {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-card .price-section {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.pricing-card .price-amount {
    font-weight: 800;
    color: var(--primary);
    font-size: 2rem;
}

.pricing-card .price-period {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.navbar {
    display: flex;
    gap: 2rem;
}

.navbar a {
    font-weight: 500;
    color: var(--text-light);
}

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

.header-actions {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
}

/* Billing Toggle (Segmented Control) */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.billing-toggle {
    display: inline-flex;
    background: #e2e8f0;
    /* Slate 200 */
    padding: 0.25rem;
    border-radius: 9999px;
    position: relative;
    border: 1px solid #cbd5e1;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: #64748b;
    /* Slate 500 */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    outline: none;
}

.toggle-btn:hover {
    color: var(--secondary);
}

.toggle-btn.active {
    background: var(--white);
    color: var(--secondary);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.badge-save {
    background: #dcfce7;
    /* Green 100 */
    color: #166534;
    /* Green 700 */
    font-size: 0.75rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

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

.badge-new {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.stat-item ion-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
}

.mockup-screen.web {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.mockup-screen.mobile {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 160px;
    height: 320px;
    background: var(--white);
    border-radius: 2rem;
    /* Mobile border radius */
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgb(0 0 0 / 0.25));
    border: 4px solid #1e293b;
    /* Phone frame color */
    overflow: hidden;
    z-index: 2;
}

.mockup-header {
    height: 30px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
}

.mockup-header-mobile {
    height: 20px;
    background: #1e293b;
    width: 50%;
    margin: 0 auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.mockup-body {
    height: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

/* Page Header */
.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info .info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item .icon-box {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-block {
    width: 100%;
}

.text-sm {
    font-size: 0.875rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.faq-item h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.mockup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.mockup-icon {
    font-size: 4rem;
    opacity: 0.2;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: -30px;
    left: -30px;
    right: auto;
}

.card-2 {
    bottom: 20px;
    right: -50px;
    left: auto;
    animation-delay: 2s;
    z-index: 3;
}

.floating-card ion-icon {
    font-size: 2rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #f1f5f9;
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--accent);
}

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

.card-desc {
    font-weight: 700;
    color: var(--secondary);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .navbar,
    .header-actions {
        display: none;
        /* Add mobile menu logic later */
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: rotate(3deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-logo {
    color: var(--white) !important;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-group h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-group a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-group a:hover {
    color: var(--white);
}

.footer-group li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-nav {
        gap: 2rem;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
/* --- Modern Contact Feedback Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon.error {
    background: #fef2f2;
    color: #ef4444;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-btn {
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
