:root {
    --bg-dark: #0a1633;
    --bg-landing: #020617;
    --accent-mint: #28e09e;
    --accent-emerald: #6ee7b7;
    --text-white: #ffffff;
    --text-slate: #94a3b8;
    --text-gray: #7d8bb2;
    --input-bg: #152243;
    --input-border: #1b284e;
    --button-login: #3e4a6a;
    --button-register: transparent;
    --tab-border: #28e09e;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-dark);
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.top-gradient {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #ff8a00, #ff00c7, #5c00ff);
    position: absolute;
    top: 0;
    left: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    color: var(--text-white);
}

.logo span {
    font-weight: 400;
    font-style: normal;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
}

.title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #1b284e;
    margin-bottom: 30px;
}

.tab {
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.tab i {
    width: 24px;
    height: 24px;
}

.tab.active {
    color: var(--accent-mint);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-mint);
}

.form-view {
    display: none;
}

.form-view.active {
    display: block;
}

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

.label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.label i, .label svg {
    width: 18px;
    height: 18px;
    color: var(--accent-mint) !important;
    stroke: var(--accent-mint) !important;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    min-width: 80px;
}

.country-code i, .country-code svg {
    width: 14px;
    height: 14px;
    color: var(--text-gray);
    stroke: var(--text-gray);
}

input {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
}

input::placeholder {
    color: #4a5a8a;
}

.password-input {
    position: relative;
}

.password-input button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    stroke: var(--text-gray);
    cursor: pointer;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.remember-me input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.remember-me input[type="checkbox"]:checked {
    border-color: var(--accent-mint);
    background-color: var(--accent-mint);
}

.remember-me label {
    font-size: 12px;
    color: var(--text-gray);
    cursor: pointer;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    border: none;
}

.btn-login {
    background-color: var(--button-login);
    color: var(--text-white);
}

.btn-register {
    background-color: transparent;
    border: 1px solid var(--accent-mint);
    color: var(--accent-mint);
}

.floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    z-index: 100;
}

.floating-chat i, .floating-chat svg {
    width: 30px;
    height: 30px;
    color: var(--accent-mint) !important;
    stroke: var(--accent-mint) !important;
}

@media (min-width: 480px) {
    .app-container {
        border-left: 1px solid #1b284e;
        border-right: 1px solid #1b284e;
    }
}

/* Landing Page Specific Styles (v2) */
.landing-page {
    background-color: var(--bg-landing);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 30px 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(110, 231, 183, 0.02) 0%, transparent 100%),
        linear-gradient(rgba(110, 231, 183, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 231, 183, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

.landing-nav-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 60px;
}

.landing-nav-v2 .logo-img-v2 {
    height: 70px;
}

.nav-actions-v2 {
    display: flex;
    gap: 20px;
}

.btn-landing-v2 {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-register-landing-v2 {
    background-color: var(--accent-emerald);
    color: #000;
}

.btn-login-landing-v2 {
    background-color: transparent;
    color: #fff;
    border: 1px solid #cccccc69;
}

/* Content Wrapper v2 */
.content-wrapper-v2 {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 5%;
}

/* Base Card Style v2 */
.section-card-v2 {
    width: 100%;
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(110, 231, 183, 0.15);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

/* Hero Card Specifics v2 */
.hero-card-v2 .section-label-v2 {
    font-size: 11px;
    color: #fff;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    display: block;
    opacity: 0.8;
}

.hero-images-v2 {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-img-v2 {
    width: 46%;
    max-width: 180px;
    border-radius: 8px;
}

.hero-description-v2 {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 30px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.btn-cta-v2 {
    background-color: var(--accent-emerald);
    color: #000;
    padding: 10px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

/* Section Card Headings v2 */
.section-card-v2 h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-card-v2 p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* Feedback Grid v2 */
.feedback-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feedback-item-v2 img {
    width: 100%;
    border-radius: 6px;
}

/* Footer Section v2 */
.landing-footer-v2 {
    width: 100%;
    max-width: 860px;
    margin-top: 100px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 12px;
}

.footer-links-v2 {
    display: flex;
    gap: 20px;
}

.footer-links-v2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-v2 a:hover {
    color: var(--accent-emerald);
}

@media (max-width: 640px) {
    .feedback-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .landing-footer-v2 {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
}
