/* Sifty Landing Page - Dark Theme Design */

:root {
    --bg-dark: #0a0e27;
    --bg-darker: #050812;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.8);
    --accent-blue: #00a8ff;
    --accent-blue-bright: #00d4ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-white);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white) !important;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo-asterisk {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--text-white);
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav-link {
    color: var(--text-white) !important;
    font-weight: 400;
    margin: 0 1rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

.nav-link-button {
    border: 1px solid var(--text-white);
    border-radius: 4px;
    padding: 0.5rem 1.5rem !important;
}

.nav-link-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
}

.navbar-toggler {
    border-color: var(--text-white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.glowing-orb {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    color: var(--accent-blue-bright);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.hero-subscribe-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.email-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.email-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
    z-index: 1;
    pointer-events: none;
}

.email-icon i {
    display: inline-block;
}

.email-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 1rem 1rem 1rem 3rem;
    color: var(--text-white);
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: var(--text-gray);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}

.btn-join {
    background: var(--accent-blue);
    border: none;
    border-radius: 4px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 150px;
}

.btn-join:hover {
    background: var(--accent-blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.btn-arrow {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.btn-arrow i {
    display: inline-block;
}

.beta-text {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 168, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--accent-blue);
    border: none;
    border-radius: 4px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: var(--accent-blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.btn-cta-outline {
    background: transparent;
    border: 1px solid var(--text-white);
    border-radius: 4px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.footer-brand .logo-img {
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-blue);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.05em;
}

.footer-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-icon {
    color: var(--text-white);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.footer-icon:hover {
    color: var(--accent-blue);
}

.footer-icon i {
    display: inline-block;
    line-height: 1;
}

/* Loading States */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-loader .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    border-color: var(--text-white) transparent var(--text-white) transparent;
}

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

/* Alert Styles */
.alert {
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0;
    border: none;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #4ade80;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #f87171;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-subscribe-form {
        flex-direction: column;
    }
    
    .btn-join {
        width: 100%;
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .glowing-orb {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: var(--accent-blue-bright);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-buttons .btn {
    white-space: nowrap;
}

.cookie-consent-buttons .btn-link {
    color: var(--text-gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.cookie-consent-buttons .btn-link:hover {
    color: var(--accent-blue);
}

/* Cookie Preferences Modal */
.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--card-border);
    color: var(--text-white);
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
}

.modal-title {
    color: var(--text-white);
    font-weight: 600;
}

.modal-body {
    color: var(--text-white);
}

.modal-body h6 {
    color: var(--text-white);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
}

.modal-body ul li strong {
    color: var(--text-white);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.cookie-preference-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
}

.form-check-label {
    color: var(--text-white);
    cursor: pointer;
}

.form-check-label small {
    color: var(--text-white);
    display: block;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.form-check-input:focus {
    border-color: var(--accent-blue);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 255, 0.25);
}

.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-buttons {
        justify-content: stretch;
    }
    
    .cookie-consent-buttons .btn {
        flex: 1;
    }
}
