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

:root {
    --primary-color: #915C83;
    --primary-dark: #7a4d6f;
    --primary-light: #a97298;
    --secondary-color: #E7E0EA;
    --accent-color: #D4A5C3;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #F5F7FA;
    --background-accent: #F5EFF3;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(145, 92, 131, 0.1);
    --shadow-lg: 0 10px 25px rgba(145, 92, 131, 0.2);
    --shadow-colored: 0 8px 16px rgba(145, 92, 131, 0.15);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--background-light);
}

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

/* Navigation */
.navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(145, 92, 131, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar.scrolled .logo {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.navbar.scrolled .logo span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-color);
    background: var(--background-accent);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.navbar.scrolled .nav-links a.active {
    background: var(--background-accent);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

.mobile-menu-toggle:hover span {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #915C83 0%, #D4A5C3 50%, #E7E0EA 100%);
    color: var(--white);
    padding: 140px 20px 80px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    max-width: 100%;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-waitlist {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: var(--shadow-colored);
}

.btn-waitlist:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(145, 92, 131, 0.25);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    position: relative;
    z-index: 1;
    background: transparent;
}

.phone-mockup {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    background: transparent;
    display: block;
}

.phone-mockup:hover {
    transform: translateY(-10px);
}

/* App Showcase Section */
.app-showcase {
    padding: 80px 20px;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    overflow: hidden;
}

.phone-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 600px;
}

.stacked-phone {
    width: 240px;
    height: auto;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: absolute;
    background: transparent;
    display: block;
}

.stacked-phone:nth-child(1) {
    transform: translateX(-240px) rotate(-8deg);
    z-index: 1;
}

.stacked-phone:nth-child(2) {
    transform: translateX(-120px) rotate(-4deg);
    z-index: 2;
}

.stacked-phone:nth-child(3) {
    transform: translateX(0) rotate(0deg);
    z-index: 3;
    width: 260px;
}

.stacked-phone:nth-child(4) {
    transform: translateX(120px) rotate(4deg);
    z-index: 2;
}

.stacked-phone:nth-child(5) {
    transform: translateX(240px) rotate(8deg);
    z-index: 1;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-align: center;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
    background: linear-gradient(to bottom, var(--white), var(--background-accent));
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: var(--background-accent);
    border-radius: 50%;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.about-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(145, 92, 131, 0.2));
    transition: transform 0.3s ease;
}

.about-logo:hover {
    transform: scale(1.05);
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-lg);
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: var(--background-light);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download-subtitle {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 2px solid transparent;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
    background: var(--background-accent);
    border-color: var(--accent-color);
}

.download-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

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

.download-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-small {
    font-size: 0.75rem;
    color: var(--text-light);
}

.download-large {
    font-size: 1.25rem;
    font-weight: 600;
}

.coming-soon-message {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-top: 1rem;
}

.waitlist-section {
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.waitlist-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-waitlist:hover .waitlist-icon {
    transform: scale(1.1) rotate(10deg);
    animation: bell-ring 0.5s ease;
}

@keyframes bell-ring {
    0%, 100% { transform: scale(1.1) rotate(10deg); }
    25% { transform: scale(1.1) rotate(-10deg); }
    75% { transform: scale(1.1) rotate(10deg); }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

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

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

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

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Support Page Styles */
.support-header {
    background: linear-gradient(135deg, #915C83 0%, #E7E0EA 100%);
    color: var(--white);
    padding: 140px 20px 60px;
    margin-top: 0;
    text-align: center;
}

.support-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.support-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.privacy-section,
.contact-section {
    padding: 60px 20px;
    background: var(--white);
}

.privacy-section {
    background: var(--background-light);
}

.support-content {
    max-width: 900px;
    margin: 0 auto;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

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

.contact-method {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-method h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--text-light);
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        width: 250px;
        padding: 2rem 1rem;
        box-shadow: -4px 0 12px rgba(145, 92, 131, 0.15);
        transition: right 0.3s ease;
        gap: 0.5rem;
        border-radius: 12px 0 0 12px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
    }

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

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .showcase-grid {
        gap: 4rem;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .showcase-image img {
        max-width: 250px;
    }

    .phone-stack {
        min-height: 400px;
    }

    .stacked-phone {
        width: 160px;
    }

    .stacked-phone:nth-child(1) {
        transform: translateX(-140px) rotate(-10deg);
    }

    .stacked-phone:nth-child(2) {
        transform: translateX(-70px) rotate(-5deg);
    }

    .stacked-phone:nth-child(3) {
        transform: translateX(0) rotate(0deg);
        width: 180px;
    }

    .stacked-phone:nth-child(4) {
        transform: translateX(70px) rotate(5deg);
    }

    .stacked-phone:nth-child(5) {
        transform: translateX(140px) rotate(10deg);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .placeholder-image {
        height: 300px;
        font-size: 6rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        width: 200px;
    }

    .phone-mockup {
        max-width: 250px;
    }

    .showcase-image img {
        max-width: 220px;
    }

    .phone-stack {
        min-height: 350px;
    }

    .stacked-phone {
        width: 120px;
    }

    .btn-waitlist {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    .waitlist-icon {
        width: 20px;
        height: 20px;
    }

    .stacked-phone:nth-child(1) {
        transform: translateX(-100px) rotate(-12deg);
    }

    .stacked-phone:nth-child(2) {
        transform: translateX(-50px) rotate(-6deg);
    }

    .stacked-phone:nth-child(3) {
        transform: translateX(0) rotate(0deg);
        width: 140px;
    }

    .stacked-phone:nth-child(4) {
        transform: translateX(50px) rotate(6deg);
    }

    .stacked-phone:nth-child(5) {
        transform: translateX(100px) rotate(12deg);
    }

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