/* Zinx App Website Styles */

:root {
    --wine-primary: #9C2F60;       /* Brighter wine */
    --wine-secondary: #C15B86;     /* Brighter secondary */
    --wine-dark: #4A1B30;
    --wine-background: #1A0D19;    /* Darker background */
    --wine-card: #2A1427;          /* Dark wine for cards */
    --dark-background: #0F0910;    /* Nearly black background */
    --gold-accent: #D4AF37;
    --text-light: #f0e6f0;         /* Light purple-tinted text */
    --text-muted: #B0A0B0;         /* Muted purple text */
    --glass-gradient: linear-gradient(135deg, rgba(156, 47, 96, 0.2), rgba(74, 27, 48, 0.1));
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-light);
    background-color: var(--dark-background);
    background-image: radial-gradient(circle at 80% 40%, var(--wine-background) 0%, var(--dark-background) 70%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    color: white;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 2px;
}

.section-title.centered {
    text-align: center;
}

.section-title.centered:after {
    left: 50%;
    transform: translateX(-50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--wine-primary), var(--wine-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(156, 47, 96, 0.4);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Glass morphism */
.glass-effect {
    background: var(--glass-gradient);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: 800;
    font-size: 2rem;
    color: white !important;
}

.navbar-brand span {
    color: var(--gold-accent);
}

.navbar-scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 2rem;
    background: rgba(26, 13, 25, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-link {
    font-weight: 600;
    color: var(--text-light) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

.nav-link:hover {
    color: var(--wine-secondary) !important;
}

.navbar-toggler {
    border-color: transparent;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-main {
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 47, 96, 0.3);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 47, 96, 0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--wine-primary);
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--wine-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 47, 96, 0.4);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: var(--dark-background);
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../images/hero-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(156, 47, 96, 0.3));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: transparent;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: var(--glass-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(156, 47, 96, 0.2), rgba(193, 91, 134, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card .icon i {
    font-size: 2rem;
    color: var(--wine-secondary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(156, 47, 96, 0.2));
    border-radius: 0 1rem 0 100%;
    transition: all 0.3s ease;
    opacity: 0;
}

.feature-card:hover:before {
    opacity: 1;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background-color: transparent;
    position: relative;
}

.step-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--glass-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    height: 100%;
}

.step-number {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(156, 47, 96, 0.3);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--wine-primary), var(--wine-secondary), var(--wine-primary));
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.3;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: transparent;
}

.accordion-item {
    background: var(--glass-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    color: white;
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--gold-accent);
    background-color: rgba(156, 47, 96, 0.1);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(290deg);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
    background-color: rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: transparent;
}

.contact-form {
    padding: 2.5rem;
    border-radius: 1rem;
    background: var(--glass-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.form-control {
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--wine-secondary);
    box-shadow: none;
    color: white;
}

.form-label {
    color: var(--text-light);
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}

.contact-item.justify-content-center {
    justify-content: center;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    border-radius: 50%;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(156, 47, 96, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: white;
}

.contact-text p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 5rem 0 0;
    background-color: rgba(10, 5, 10, 0.7);
    position: relative;
    margin-top: 3rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--wine-primary), var(--wine-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer h5 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 1.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--wine-secondary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons li {
    margin-right: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--wine-secondary);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.download:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.download:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.download h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.download p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge:hover {
    transform: translateY(-5px);
}

.store-badge img {
    height: 50px;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(26, 13, 25, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
    }
    
    .process-line {
        display: none !important;
    }
    
    .step-card {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-image {
        text-align: center;
        margin: 2rem auto 0;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .contact-item.justify-content-center {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-icons.justify-content-center {
        justify-content: center;
    }
    
    .contact-form, .contact-info {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

.delay-5 {
    transition-delay: 1s;
}

.policy-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.policy-content h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: white;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

.team-member {
    margin-bottom: 3rem;
}

.team-photo {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.team-photo img {
    width: 100%;
    transition: all 0.3s ease;
}

.team-photo:hover {
    transform: translateY(-10px);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: white;
}

.team-role {
    color: var(--wine-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
}

.about-section {
    padding: 6rem 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(180deg, var(--wine-primary), var(--wine-secondary), var(--wine-primary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background: var(--gold-accent);
    border: 4px solid var(--wine-primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: ' ';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--wine-primary);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--wine-primary);
}

.right::before {
    content: ' ';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--wine-primary);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--wine-primary) transparent transparent;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--glass-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    position: relative;
    border-radius: 6px;
}

@media screen and (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--wine-primary) transparent transparent;
    }
    
    .left::after, .right::after {
        left: 19px;
    }
    
    .right {
        left: 0;
    }
}

/* Scroll to top button */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(156, 47, 96, 0.4);
}

#backToTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#backToTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(156, 47, 96, 0.5);
} 