:root {
    --dark-green--dark: #071019;
    --green--light: #a8b5ad;
    --link-color--link-primary: #ffffff;
    --text-color--text-primary: #ffffff;
    --dark-green--light: #17395b;
    --dark-green--default: #0c1b2a;
    --dark-green--lighter: #316eff;
    --green--default: #437bff;
    --border-color: rgb(19 48 77);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-green--dark);
    color: var(--text-color--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    background: var(--dark-green--dark);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(7, 16, 25, 0.9);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--green--default);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--green--default);
}

.demo-btn {
    padding: 0.5rem 1rem;
    background: var(--green--default);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    background: var(--dark-green--lighter);
}

/* Main Container */
.main-container {
    display: flex;
    flex: 1;
    margin-top: 0;
}

.side-border {
    width: 1px;
    background: var(--border-color);
}

.content-area {
    width: 600px;
    margin: 0 auto;
    position: relative;
    border-right: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

/* Auth Form Container */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding: 2rem;
}

.auth-form {
    width: 100%;
    max-width: 400px;
    /* background: var(--dark-green--default); */
    /* border: 1px solid var(--border-color); */
    padding: 2rem;
}

/* Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--green--light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--text-color--text-primary);
    border-bottom-color: var(--green--default);
}

.tab-btn:hover {
    color: var(--text-color--text-primary);
}

/* Form */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color--text-primary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-green--dark);
    border: 1px solid var(--border-color);
    color: var(--text-color--text-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--green--default);
}

.form-group input::placeholder {
    color: var(--green--light);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--green--default);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.submit-btn:hover {
    background: var(--dark-green--lighter);
}

/* Auth Links */
.auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.auth-links a {
    color: var(--green--default);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--dark-green--lighter);
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--green--light);
    margin-top: auto;
}

/* Register Form Additional Fields */
.register-form .form-group {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .content-area {
        width: 100%;
        padding: 0 1rem;
    }

    .side-border {
        display: none;
    }
}


/* Header */
.header {
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    background: var(--dark-green--dark);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(7, 16, 25, 0.9);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--green--default);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.support-btn {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-btn:hover {
    background: var(--dark-green--light);
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: var(--dark-green--light);
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green--default);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--dark-green--default);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color--text-primary);
    text-decoration: none;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: var(--dark-green--light);
}

/* Main Content */
.main {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Tabs */
.pricing-section {
    margin-bottom: 3rem;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    background: var(--green--default);
    border-color: var(--green--default);
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Pricing Cards */
.pricing-grid {
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    background: var(--dark-green--default);
}

.pricing-card {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pricing-card:last-child {
    border-right: none;
}

.pricing-cards-container {
    display: flex;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green--default);
    margin-bottom: 0.5rem;
}

.plan-period {
    color: var(--green--light);
    margin-bottom: 0.5rem;
}

.plan-words {
    margin-bottom: 2rem;
}

.buy-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--green--default);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: var(--dark-green--lighter);
}


.buy-btn-free {
    width: 250px;
    padding: 0.75rem;
    background: var(--green--default);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn-free:hover {
    background: var(--dark-green--lighter);
}

/* Sites Section */
.sites-section h2 {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-site-btn {
    padding: 0.5rem 1rem;
    background: var(--green--default);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-card {
    background: var(--dark-green--default);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.sites-section {
    border: 1px solid var(--border-color);
}

.sites-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-green--default);
}

.sites-header h2 {
    margin: 0;
}

.site-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.site-domain {
    font-weight: 600;
    min-width: 120px;
}

.site-plan {
    color: var(--green--default);
    min-width: 60px;
}

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--dark-green--light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--green--default);
    transition: width 0.3s ease;
}

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

.site-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--dark-green--light);
}

.action-btn.primary {
    background: var(--green--default);
    border-color: var(--green--default);
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--dark-green--dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-color--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.modal-body {
    padding: 1.5rem;
}

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

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

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-green--default);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color--text-primary);
}

.discount-toggle {
    color: var(--green--default);
    cursor: pointer;
    text-decoration: underline;
}

.invoice-section {
    background: var(--dark-green--default);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Chat Modal */
.chat-modal .modal {
    max-width: 600px;
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.message {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--dark-green--default);
}

.message.user .message-bubble {
    background: var(--green--default);
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    background: var(--dark-green--default);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color--text-primary);
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color--text-primary);
    cursor: pointer;
}

.icon-btn:hover {
    background: var(--dark-green--light);
}

.send-btn {
    background: var(--green--default);
    border-color: var(--green--default);
}


.rhombus-svg.top-left {
    inset: 0 auto auto 0;
    transform: translate(-50%, -50%);
}

.rhombus-svg {
    width: .9rem;
    height: .9rem;
    position: absolute;
    z-index: 9999 !important;
}

.rhombus-svg.top-right {
    z-index: 99;
    inset: 0 0 auto auto;
    transform: translate(50%, -50%);
}

.rhombus-svg.bottom-right {
    inset: auto 0 0 auto;
    transform: translate(50%, 50%);
}

.rhombus-svg.bottom-left {
    inset: auto auto 0 0;
    transform: translate(-50%, 50%);
}

.rhombus-svg img {
    display: block;
}

.add-btn {
    padding: 8px 15px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

/* OTP Modal Styles */
.otp-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.otp-modal {
    background: var(--dark-green--dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.otp-modal h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color--text-primary);
}

.otp-modal p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--green--light);
}

.otp-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-green--default);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
}

.otp-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--green--default);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.otp-btn:hover {
    background: var(--dark-green--lighter);
}

.close-otp {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color--text-primary);
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.number-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.number-option {
    width: 80px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px;
}

.number-option.selected {
    border: 2px solid #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.6);
}

.highlight-btn {
    box-shadow: 0 0 12px 4px gold;
    transition: box-shadow 0.6s;
}
