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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.logo-section {
    margin-bottom: -10px;
}

.logo {
    max-width: 300px;
    height: auto;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
    max-width: 300px;
}

.app-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #888888;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    opacity: 1;
    transform: translateY(0);
}

.app-description {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 800px;
}

/* Footer styles */
.footer {
    width: 100%;
    padding: 30px 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-3px);
}

.download-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.store-button {
    display: block;
    width: 180px;
    height: 70px;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.store-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.android-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.coming-soon {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #1a1a1a;
    margin: 10% auto;
    padding: 50px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
}

.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
}

.modal-content p {
    margin-bottom: 40px;
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.5;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.subscribe-form input {
    padding: 18px 25px;
    border: 2px solid #333;
    border-radius: 15px;
    background: #000;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-form input:focus {
    border-color: #fff;
    background: #111;
}

.subscribe-form input::placeholder {
    color: #888;
}

.subscribe-form button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-description {
        white-space: normal;
        text-align: center;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .app-title {
        font-size: 2rem;
        max-width: 240px;
    }
    
    .app-subtitle {
        font-size: 1.1rem;
    }
    
    .app-description {
        font-size: 1.1rem;
    }
    
    .store-button {
        width: 180px;
        height: 70px;
    }
    
    .logo {
        max-width: 240px;
    }
    
    .subscribe-btn {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.6rem;
        max-width: 200px;
    }
    
    .app-subtitle {
        font-size: 1rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .store-button {
        width: 160px;
        height: 65px;
    }
    
    .subscribe-btn {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
    }
}

/* Policy pages specific styles */
.policy-content {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    color: #000000;
    text-align: left;
    position: relative;
    background: #ffffff;
    min-height: 100vh;
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
}

/* Back button at top left */
.back-button {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateX(-3px);
}

/* Ensure white background for policy pages */
body:has(.policy-content) {
    background: #ffffff;
}

/* Termly embed styling - let it use default colors */
div[name="termly-embed"],
div[name="termly-embed"] *,
div[name="termly-embed"] p,
div[name="termly-embed"] h1,
div[name="termly-embed"] h2,
div[name="termly-embed"] h3,
div[name="termly-embed"] h4,
div[name="termly-embed"] h5,
div[name="termly-embed"] h6,
div[name="termly-embed"] span,
div[name="termly-embed"] div,
div[name="termly-embed"] li,
div[name="termly-embed"] ul,
div[name="termly-embed"] ol,
div[name="termly-embed"] a {
    color: #000000 !important;
    background: transparent !important;
}

/* Even more specific rules for Termly content */
.policy-content div[name="termly-embed"] * {
    color: #000000 !important;
    background-color: transparent !important;
    background: transparent !important;
}

.policy-content div[name="termly-embed"] p,
.policy-content div[name="termly-embed"] span,
.policy-content div[name="termly-embed"] div,
.policy-content div[name="termly-embed"] h1,
.policy-content div[name="termly-embed"] h2,
.policy-content div[name="termly-embed"] h3,
.policy-content div[name="termly-embed"] h4,
.policy-content div[name="termly-embed"] h5,
.policy-content div[name="termly-embed"] h6 {
    color: #000000 !important;
    background: none !important;
}

/* Force override any external styles */
.policy-content * {
    color: #000000 !important;
} 