@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #020807;
    --card-bg: #0d1a18;
    --text-color: #e0efed;
    --text-muted: #8fa3a1;
    --primary-color: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(13, 26, 24, 0.8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.bg-glow-bottom {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
header {
    background-color: rgba(2, 8, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-contact {
    background: var(--primary-color);
    color: #020807;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-contact:hover {
    transform: translateY(-2px);
    background: #0ea875;
}

/* Mobile Nav */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
/* Rental Page Specific Styles */
.rental-container {
    padding: 100px 20px;
    background-color: var(--bg-color);
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.rental-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.rental-info {
    padding-top: 40px;
}

.accent-title {
    font-size: 84px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--primary-glow);
}

.accent-subtitle {
    font-size: 48px;
    color: var(--text-color);
    margin-bottom: 40px;
}

.rental-benefits {
    list-style: none;
    margin-bottom: 60px;
}

.rental-benefits li {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.rental-benefits li::before {
    content: none;
}

.remaining-energy {
    font-size: 18px;
    color: var(--text-muted);
}

.energy-value {
    color: var(--primary-color);
    font-weight: bold;
    margin-left: 10px;
}

/* Form Card */
.rental-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-title {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.label-row label {
    font-weight: bold;
    font-size: 14px;
    color: var(--text-color);
}

.link-btn {
    font-size: 12px;
    color: var(--primary-color);
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
}

.input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.hint-text {
    font-size: 12px;
    color: var(--text-muted);
}

#usdtCount {
    color: #fca5a5; /* Using a muted red for contrast but fits dark theme */
    font-weight: bold;
}

.preset-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.preset-btn {
    flex: 1;
    padding: 8px 0;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background: transparent;
    color: var(--primary-color);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover, .preset-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.counter-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-color);
}

.counter-input button {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    color: var(--text-color);
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.counter-input input {
    flex: 1;
    border: none;
    text-align: center;
    font-size: 14px;
    background: transparent;
    color: var(--text-color);
}

.duration-selector {
    margin-bottom: 15px;
}

.duration-display {
    padding: 12px 15px;
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
}

.duration-tabs {
    display: flex;
}

.duration-tab {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 20px;
}

.duration-tab.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.expiry-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.order-summary {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: var(--text-color);
}

.pay-amount {
    font-size: 18px;
    font-weight: bold;
}

.unit-price-tip {
    font-size: 11px;
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    width: 450px;
    max-width: 90%;
    padding: 25px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-modal {
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.payment-box {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 20px var(--primary-glow);
}

.payment-notices {
    list-style: none;
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding: 0;
    text-align: center;
}

.payment-notices li {
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 0 8px var(--primary-glow), 0 0 16px var(--primary-glow);
    animation: noticeGlow 1.8s ease-in-out infinite alternate;
}

@keyframes noticeGlow {
    from {
        opacity: 0.82;
        text-shadow: 0 0 6px var(--primary-glow), 0 0 12px var(--primary-glow);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 10px var(--primary-color), 0 0 22px var(--primary-glow);
    }
}

.payment-amount {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.payment-address-box {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    word-break: break-all;
    text-align: center;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.payment-status {
    text-align: center;
    color: #ff4d4f;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #ff4d4f;
    border-radius: 50%;
}

.pulse {
    animation: pulse-red 1s infinite alternate;
}

@keyframes pulse-red {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.pay-btn-trigger,
.robot-btn,
.copy-address-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.copy-address-btn {
    display: flex;
    margin: 30px auto 0;
}

.pay-btn-trigger {
    background: var(--primary-color);
    color: #020807;
    box-shadow: 0 10px 20px var(--primary-glow);
}

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

.robot-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 20px var(--primary-glow);
}

@media (max-width: 768px) {
    .rental-content {
        grid-template-columns: 1fr;
    }
    .accent-title {
        font-size: 60px;
    }
    .accent-subtitle {
        font-size: 36px;
    }
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2rem;
    background: rgba(1, 6, 5, 1);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Layout Elements */
.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-label {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 6rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff 0%, #aabcb9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #020807;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 800;
    transition: 0.3s;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #0ea875;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 800;
    transition: 0.3s;
}

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

/* Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 24px;
    transition: 0.3s ease;
    height: 100%;
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Page specific elements */
.content-wrapper {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-wrapper ul {
    margin-bottom: 2rem;
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #0d1a18 0%, #081210 100%);
}

.price-card h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price-unit {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.price-features {
    text-align: left;
    margin: 2rem 0;
}

.price-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-q {
    padding: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-a {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-a {
    display: block;
}

.faq-item.active .faq-q i {
    transform: rotate(180deg);
}

/* Knowledge Hub / Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    border-radius: 24px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.blog-img {
    height: 200px;
    background: linear-gradient(135deg, #0d1a18 0%, #10b98120 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.cta-box {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    color: #020807;
    margin-top: 5rem;
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-white {
    background: white;
    color: #020807;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 800;
}

.btn-black {
    background: #020807;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 800;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-actions .btn-contact {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 3rem 1.5rem;
    }
    .cta-box h2 {
        font-size: 2rem;
    }
    .cta-btns {
        flex-direction: column;
    }
}
