:root {
    --primary-color: #2D9596;
    --primary-dark: #266c6d;
    --secondary-color: #f0f2f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --error: #d93025;
    --success: #2e7d32;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-right: 25px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Typography */
h1,
h2,
h3 {
    margin-top: 0;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(45, 149, 150, 0.1);
}

.btn-white {
    background: white;
    color: #2D3436;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(45, 149, 150, 0.05) 0%, rgba(45, 149, 150, 0.15) 100%);
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.store-badge img {
    height: 50px;
    transition: transform 0.2s;
    border-radius: 8px;
}

.store-badge:hover img {
    transform: scale(1.05);
}

/* Section Common */
.section {
    padding: 5rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 149, 150, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(45, 149, 150, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* Founder Section */
.founder-section {
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.founder-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    padding: 4px;
    background: white;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.founder-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.founder-role {
    display: inline-block;
    background: rgba(45, 149, 150, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.founder-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.founder-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Org Section */
.org-section {
    background: #2D3436;
    color: white;
    text-align: center;
}

.org-content {
    max-width: 700px;
    margin: 0 auto;
}

.org-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.org-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 3rem 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

/* Deep Link Overlay Styles from original */
#deep-link-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f2f5;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.id-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.id-card-header {
    background: linear-gradient(135deg, #2D9596 0%, #00695C 100%);
    height: 140px;
    position: relative;
}

.header-circles {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.circle-1 {
    top: -30px;
    right: -30px;
}

.circle-2 {
    bottom: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
}

/* ID CARD STYLING UPDATE */
.profile-section {
    padding: 0 24px;
    margin-top: -60px;
    /* Increased overlap */
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    position: relative;
}

.profile-image-container {
    width: 110px;
    /* Slightly larger */
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-right: 15px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #eee;
}

.profile-info {
    flex: 1;
    padding-bottom: 12px;
    /* Adjusted alignment */
}

/* Status Badge - floating next to image or inline? 
   Flutter usually puts it in the column. Here we keep it in profile-info but ensure it looks good. */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-verified {
    background-color: #e0f2f1;
    /* Lighter background */
    color: #00695C;
}

.status-suspended {
    background-color: #fee2e2;
    color: #dc2626;
}

.id-card-body {
    padding: 0 24px 30px;
    /* Increased bottom padding */
}

.user-name {
    font-size: 1.6rem;
    /* Slightly larger */
    font-weight: 700;
    color: #2D3436;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.user-id {
    font-family: monospace;
    color: #636e72;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.user-location {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #636e72;
    margin-bottom: 20px;
    /* Added spacing before tagline/buttons */
}

.user-location i {
    margin-right: 6px;
    color: var(--primary-color);
}

.tagline {
    font-style: italic;
    color: #2D3436;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.05rem;
}

.action-area {
    margin-top: 10px;
    text-align: center;
}

.btn-open-app {
    display: block;
    width: 100%;
    background-color: #00897B;
    /* App primary teal */
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 137, 123, 0.2);
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    /* Reset */
}

.btn-open-app:hover {
    background-color: #00796B;
    transform: translateY(-2px);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.error-message {
    color: #dc2626;
    background: #fee2e2;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu not implemented for simplicity, relying on footer links */
    }

    .app-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .logo img {
        height: 32px;
    }
}

/* Form Styles for Support Page */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.2s;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 149, 150, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}