/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    font-weight: 400;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

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

/* Navigation */
.navbar {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #6c5ce7;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6c5ce7;
}

/* Sign In button styling */
#auth-link {
    background: linear-gradient(135deg, #6c5ce7 0%, #5b4bd3 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

#auth-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
    color: white !important;
}

#auth-link.authenticated {
    background: #f8f9fa;
    color: #333 !important;
    border: 2px solid #e9ecef;
}

#auth-link.authenticated:hover {
    background: #e9ecef;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #5b4bd3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-google {
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-apple {
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6c5ce7 0%, #5b4bd3 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    height: 75vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 85%;
    max-height: 65vh;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* Features Section */
.features-preview {
    padding: 100px 0;
    background: #fff;
}

.features-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    grid-column: span 2;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.feature-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.download-section h2 {
    margin-bottom: 1rem;
}

.download-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.store-button {
    display: inline-block;
    transition: transform 0.3s ease;
    margin: 0 8px;
}

.store-button:hover {
    transform: translateY(-2px);
}

.store-button img {
    border-radius: 8px;
    display: block;
}

/* App Store badge */
.store-button img[alt*="App Store"] {
    height: 60px;
    width: auto;
}

/* Google Play badge - make it much larger to match visual size */
.store-button img[alt*="Google Play"] {
    height: 85px;
    width: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #5b4bd3 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Features Detailed */
.features-detailed {
    padding: 100px 0;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.feature-content ul {
    list-style: none;
    padding: 0;
}

.feature-content li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.feature-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6c5ce7;
    font-weight: bold;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Content */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-section p,
.about-section li {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.about-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-card p {
    color: #666;
    font-size: 1rem;
}

blockquote {
    background: #f8f9fa;
    border-left: 4px solid #6c5ce7;
    margin: 2rem 0;
    padding: 1.5rem;
    font-style: italic;
    color: #555;
}

/* Account Section */
.account-section {
    padding: 80px 0;
}

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

.account-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.account-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.account-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.account-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
}

.privacy-notice {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.privacy-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.privacy-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.privacy-links a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
}

.privacy-links a:hover {
    text-decoration: underline;
}

.account-actions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.account-actions h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.action-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 1rem;
}

.action-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Login/Signup Section */
.login-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.signup-info {
    padding: 1rem 0;
}

.signup-info .store-badges {
    margin: 2rem 0;
}

.signup-steps ol {
    padding-left: 1.5rem;
}

.signup-steps ol li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.signup-info .login-container,
.login-container:has(.signup-info) {
    max-width: 600px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.login-header p {
    color: #666;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #6c5ce7;
}

small {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 1rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkmark {
    margin-left: 0.5rem;
}

.forgot-link {
    color: #6c5ce7;
    text-decoration: none;
    font-size: 0.9rem;
}

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

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

.login-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.login-divider span {
    background: #fff;
    padding: 0 1rem;
    color: #666;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.login-footer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.login-footer a {
    color: #6c5ce7;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Data Deletion */
.deletion-section {
    padding: 80px 0;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.warning-box p,
.warning-box li {
    color: #856404;
}

.alternatives {
    margin-bottom: 3rem;
}

.alternatives h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

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

.alternative-card {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #bee5eb;
}

.alternative-card h4 {
    color: #0c5460;
    margin-bottom: 0.5rem;
}

.alternative-card p {
    color: #0c5460;
    font-size: 0.9rem;
}

.deletion-form-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.deletion-form-container h2 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-support {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.contact-support h3 {
    margin-bottom: 1rem;
    color: #333;
}

.support-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
}

.legal-nav {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    position: sticky;
    top: 100px;
}

.legal-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-nav a {
    color: #6c5ce7;
    text-decoration: none;
    font-size: 0.9rem;
}

.legal-nav a:hover {
    text-decoration: underline;
}

.legal-sections {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    color: #333;
}

.legal-section p,
.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Support Section */
.support-section {
    padding: 80px 0;
}

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

.support-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.faq-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #6c5ce7;
    border-bottom: 2px solid #6c5ce7;
    padding-bottom: 0.5rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-option {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-option h4 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-option p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.method-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-method p {
    color: #6c5ce7;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-method small {
    color: #666;
}

.response-time {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: 8px;
}

.response-time h4 {
    margin-bottom: 1rem;
    color: #333;
}

.response-time ul {
    list-style: none;
    padding: 0;
}

.response-time li {
    padding: 0.25rem 0;
    color: #666;
}

.contact-form-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #333;
}

.quick-links {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.quick-links h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease;
    color: inherit;
}

.quick-link:hover {
    transform: translateY(-2px);
}

.link-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quick-link h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.quick-link p {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #6c5ce7 0%, #5b4bd3 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Messages */
.success-message,
.error-message {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.success-message h3,
.success-message h4,
.error-message h3,
.error-message h4 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #6c5ce7;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #6c5ce7;
}

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Ensure images don't cause horizontal scroll */
img {
    max-width: 100%;
    height: auto;
}

/* Better touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn,
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-image img {
        max-width: 70%;
        max-height: 50vh;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card:nth-child(4) {
        margin-left: 0;
        grid-column: span 1;
    }

    .feature-card:nth-child(5) {
        grid-column: span 1;
    }

    .feature-card {
        padding: 2rem;
        grid-column: span 1;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .support-options,
    .privacy-links {
        flex-direction: column;
    }

    .legal-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .faq-categories {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .features-preview {
        padding: 60px 0;
    }

    .features-preview h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .download-section {
        padding: 60px 0;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-container {
        padding: 0 15px;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image img {
        max-width: 90%;
        max-height: 40vh;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .store-button img[alt*="App Store"] {
        height: 50px;
    }

    .store-button img[alt*="Google Play"] {
        height: 70px;
    }

    .features-preview {
        padding: 40px 0;
    }

    .features-preview h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .download-section {
        padding: 40px 0;
    }

    .download-section h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .login-container,
    .contact-form-container,
    .deletion-form-container {
        padding: 2rem 1.5rem;
    }

    .signup-steps {
        padding: 1.5rem !important;
    }

    .signup-steps h3 {
        font-size: 1.1rem !important;
    }

    .signup-steps ol li {
        font-size: 0.95rem !important;
    }

    .info-icon {
        font-size: 3rem !important;
    }

    footer {
        padding: 40px 0 20px 0;
    }

    .footer-container {
        gap: 2rem;
    }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-image img {
        max-width: 95%;
        max-height: 35vh;
    }

    .features-preview h2 {
        font-size: 1.3rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .nav-logo a {
        font-size: 1.5rem;
    }

    .store-button img[alt*="App Store"] {
        height: 45px;
    }

    .store-button img[alt*="Google Play"] {
        height: 60px;
    }

    .signup-info h2 {
        font-size: 1.3rem !important;
    }

    .signup-info p {
        font-size: 0.95rem !important;
    }
}