/* ==========================================
   Cell C Registration & Home Page Styles
   ========================================== */

   :root {
    --cellc-blue: #ea5b0c;
    --cellc-dark: #1a1a1a;
    --cellc-gray: #6B7280;
    --cellc-light-gray: #F3F4F6;
    --cellc-border: #E5E7EB;
    --cellc-white: #FFFFFF;
    --cellc-salmon: #FA9F82;
    --cellc-orange: #FF5722;
    --font-primary: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--cellc-dark);
    background: var(--cellc-white);
}

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

/* ==========================================
   REGISTRATION PAGE
   ========================================== */

.registration-page {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header-reg {
    background: var(--cellc-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--cellc-border);
}

.site-header-reg .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header-reg .logo img {
    height: 50px;
}

.registration-container {
    flex: 1;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.registration-card {
    background: var(--cellc-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    margin-bottom: 2rem;
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--cellc-gray);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--cellc-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.tab-navigation {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-radius: 50px;
    background: var(--cellc-light-gray);
    padding: 0.25rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    background: transparent;
    color: var(--cellc-gray);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--cellc-dark);
    color: var(--cellc-white);
}

.registration-form {
    width: 100%;
}

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

.form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--cellc-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--cellc-white);
}

.form-input::placeholder {
    color: var(--cellc-gray);
}

.form-input:focus {
    outline: none;
    border-color: var(--cellc-blue);
}

.password-hint {
    font-size: 0.85rem;
    color: var(--cellc-gray);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.95rem;
    color: var(--cellc-dark);
    line-height: 1.5;
}

.terms-link {
    color: var(--cellc-orange);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

.btn-back {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--cellc-dark);
    background: var(--cellc-white);
    border: 2px solid var(--cellc-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-back:hover {
    background: var(--cellc-dark);
    color: var(--cellc-white);
}

.site-footer-reg {
    background: var(--cellc-white);
    padding: 1.5rem 0;
    border-top: 1px solid var(--cellc-border);
    margin-top: auto;
}

.site-footer-reg .footer-bottom {
    text-align: center;
    color: var(--cellc-gray);
    font-size: 0.9rem;
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--cellc-gray);
}

.toggle-password:hover {
    color: var(--cellc-dark);
}

.eye-icon {
    width: 24px;
    height: 24px;
}

.error-message {
    color: var(--cellc-orange);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.forgot-password {
    text-align: right;
    margin-bottom: 1.5rem;
}

.forgot-link {
    color: var(--cellc-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--cellc-dark);
    background: var(--cellc-salmon);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #ff8a65;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(250, 159, 130, 0.4);
}

.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--cellc-border);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: var(--cellc-white);
    padding: 0 1rem;
    color: var(--cellc-dark);
    font-weight: 700;
}

.register-link {
    text-align: center;
    font-size: 1rem;
    color: var(--cellc-dark);
}

.register-action {
    color: var(--cellc-orange);
    text-decoration: none;
    font-weight: 700;
}

.register-action:hover {
    text-decoration: underline;
}

.rica-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cellc-border);
}

.rica-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rica-text {
    font-weight: 600;
    color: var(--cellc-dark);
}

.btn-get-started {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cellc-dark);
    background: transparent;
    border: 2px solid var(--cellc-dark);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-get-started:hover {
    background: var(--cellc-dark);
    color: var(--cellc-white);
}

/* ==========================================
   HOME PAGE
   ========================================== */

.site-header {
    background: var(--cellc-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--cellc-border);
}

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

.logo {
    flex-shrink: 0;
}

.cellc-logo {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--cellc-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

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

.btn-login,
.btn-logout {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    background: var(--cellc-blue);
    color: var(--cellc-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-logout:hover {
    background: #000;
    transform: translateY(-2px);
}

.d-none {
    display: none !important;
}

/* Hero Section */
.hero-section {
    background: #ea5b0c;
    color: var(--cellc-white);
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    background: var(--cellc-white);
    color: var(--cellc-blue);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Quick Actions */
.quick-actions {
    padding: 3rem 0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: var(--cellc-light-gray);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    background: var(--cellc-blue);
    color: var(--cellc-white);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 169, 224, 0.3);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.action-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* What's New Section */
.whats-new {
    padding: 4rem 0;
    background: var(--cellc-light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--cellc-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.trending-card {
    background: var(--cellc-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.trending-badge {
    display: inline-block;
    background: var(--cellc-blue);
    color: var(--cellc-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trending-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.trending-description {
    color: var(--cellc-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
        min-height: 50px;
}

.btn-trending {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    background: var(--cellc-blue);
    color: var(--cellc-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-trending:hover {
    background: #000;
    transform: translateX(5px);
}

/* Footer */
.site-footer {
    background: var(--cellc-dark);
    color: var(--cellc-white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cellc-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Login Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    z-index: 10000;
    background: var(--cellc-white);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--cellc-dark);
    line-height: 1.2;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--cellc-gray);
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--cellc-dark);
}

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .registration-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }
}