/* --- RESET & BASICS --- */
:root {
    --primary-color: #00bdbd; 
    --dark-bg: #111827;       
    --light-bg: #f9fafb;      
    --text-main: #374151;     
    --text-light: #f3f4f6;    
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --accent-green: #10b981;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-main);
    background-color: #fff;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn:hover { 
    background-color: #009ac0; 
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* --- RESPONSIVE TOGGLES --- */
.mobile-only { 
    display: none !important; 
}

.desktop-only { 
    display: inline-block !important; 
}

/* --- FLOATING CONTACT BUTTON --- */
.floating-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 999;
}

.floating-contact-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,189,189,0.4);
    text-decoration: none;
    transition: transform 0.3s;
}

.floating-contact-btn a:hover {
    transform: scale(1.1);
}

/* --- NAVIGATION --- */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.nav-menu { 
    display: flex; 
    gap: 30px; 
    align-items: center;
    list-style: none;
}

.nav-item {}

.nav-link { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 500; 
    transition: color 0.3s; 
}

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: all 0.3s;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu ul li {
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 { 
    font-size: 2.5rem; 
    color: var(--dark-bg); 
    margin-bottom: 10px; 
}

.section-header p { 
    font-size: 1.1rem; 
    color: #6b7280; 
}

/* --- MANAGED PLANS SECTION --- */
.plans {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.plans-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: flex-start;
}

.plan-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    flex: 1 1 300px; 
    max-width: 350px;
    width: 100%;
    position: relative;
    transition: transform 0.2s;
}

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

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.featured:hover { 
    transform: scale(1.05) translateY(-5px); 
}

.plan-tag {
    background: var(--primary-color);
    color: white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-title { 
    font-size: 1.5rem; 
    margin-bottom: 10px; 
    font-weight: 800; 
    color: var(--dark-bg); 
}

.plan-desc { 
    color: #6b7280; 
    font-size: 0.95rem; 
    margin-bottom: 30px; 
    min-height: 40px; 
}

.plan-features { 
    list-style: none; 
    margin-bottom: 30px; 
    text-align: left; 
}

.plan-features li { 
    margin-bottom: 12px; 
    font-size: 0.95rem; 
    color: #4b5563; 
    display: flex; 
    align-items: center; 
}

.plan-features li::before { 
    content: "✓"; 
    color: var(--accent-green); 
    font-weight: 900; 
    margin-right: 10px; 
    font-size: 1.1rem;
}

/* --- CONTACT SECTION --- */
#contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1f2937 100%);
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,189,189,0.3);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-title {
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.contact-detail {
    color: #6b7280;
    font-size: 0.9rem;
}

/* --- CONTACT FORM --- */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-bg);
    font-size: 1.8rem;
}

.contact-form-container .form-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
}

/* --- CONTACT PREFERENCE MODAL --- */
.preference-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.preference-modal-overlay.active {
    display: flex;
}

.preference-modal {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.preference-modal h3 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.preference-modal .subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 30px;
}

.preference-option {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.preference-option:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
}

.preference-option.selected {
    border-color: var(--primary-color);
    background: #e0f7f7;
}

.preference-option input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.preference-option-content {
    flex: 1;
}

.preference-option-title {
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 1rem;
}

.preference-option-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 2px;
}

.preference-remember {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
}

.preference-remember input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.preference-remember label {
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
}

.preference-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.preference-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.preference-btn-cancel {
    background: #e5e7eb;
    color: var(--text-main);
}

.preference-btn-cancel:hover {
    background: #d1d5db;
}

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

.preference-btn-connect:hover {
    background: #009ac0;
}

.preference-btn-connect:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Settings Icon */
.contact-settings-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px;
    border-radius: 50%;
}

.contact-settings-icon:hover {
    color: var(--primary-color);
    background: var(--light-bg);
}

/* --- FOOTER --- */
.footer {
    background: var(--dark-bg);
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

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

.location-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.location-icon {
    font-size: 1.5rem;
}

.location-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.location-subtitle {
    font-size: 0.85rem;
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 768px) {
    .mobile-only { 
        display: inline-block !important; 
    }
    
    .desktop-only { 
        display: none !important; 
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero h1 { 
        font-size: 2.2rem; 
    }
    
    .hero p { 
        font-size: 1.1rem; 
        padding: 0 10px; 
    }
    
    .nav-container { 
        height: auto; 
        padding: 15px 0; 
    }
    
    .plans-grid { 
        flex-direction: column; 
        align-items: center; 
    }
    
    .plan-card.featured { 
        transform: none; 
    }
    
    .plan-card.featured:hover { 
        transform: translateY(-5px); 
    }
    
    .contact-form-container { 
        padding: 30px 20px; 
    }
    
    .floating-contact-btn {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .floating-contact-btn a {
        font-size: 1.3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
