/* ========================================
   Here2Rest Landing Page Styles
   3D Animated Landing Page
   ======================================== */

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

.landing-page-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #D8F0ED;
    color: #2C3E50;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ========================================
   Navigation
   ======================================== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(216, 240, 237, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(216, 240, 237, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4ECDC4, #2C3E50, #E74C3C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #rgba(44, 62, 80, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ECDC4, #2C3E50);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #2C3E50;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2C3E50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(216, 240, 237, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid #rgba(44, 62, 80, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #4ECDC4, #2C3E50);
    color: #2C3E50;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(78, 205, 196, 0.6);
}

.btn-outline {
    background: transparent;
    color: #2C3E50;
    border: 2px solid #rgba(44, 62, 80, 0.3);
}

.btn-outline:hover {
    background: #rgba(44, 62, 80, 0.1);
    border-color: #rgba(44, 62, 80, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.animated-btn {
    position: relative;
    overflow: hidden;
}

.animated-btn span {
    position: relative;
    z-index: 2;
}

.animated-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #rgba(44, 62, 80, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.animated-btn:hover::before {
    width: 300px;
    height: 300px;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(78, 205, 196, 0.1), rgba(216, 240, 237, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2C3E50, #a78bfa, #E74C3C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #rgba(44, 62, 80, 0.8);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4ECDC4, #2C3E50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #rgba(44, 62, 80, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #rgba(44, 62, 80, 0.2);
}

.hero-app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-app-buttons .store-button {
    width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #rgba(44, 62, 80, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-app-buttons .store-button:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #rgba(44, 62, 80, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-app-buttons .store-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    width: 100%;
}

.hero-app-buttons .store-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.hero-app-buttons .store-name {
    font-size: 1.15rem;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #rgba(44, 62, 80, 0.5);
    font-size: 0.9rem;
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 16px;
    height: 40px;
    border: 2px solid #rgba(44, 62, 80, 0.5);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #rgba(44, 62, 80, 0.5);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2C3E50, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #rgba(44, 62, 80, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: linear-gradient(180deg, #D8F0ED 0%, #1a1a2e 100%);
}

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

.feature-card {
    background: #rgba(44, 62, 80, 0.05);
    border: 1px solid #rgba(44, 62, 80, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ECDC4, #2C3E50, #E74C3C);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: #rgba(44, 62, 80, 0.08);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.2);
}

.feature-3d-container {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2C3E50;
}

.feature-desc {
    color: #rgba(44, 62, 80, 0.7);
    line-height: 1.6;
}

/* ========================================
   Properties Section
   ======================================== */
.properties-section {
    background: #D8F0ED;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    background: #rgba(44, 62, 80, 0.05);
    border: 1px solid #rgba(44, 62, 80, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #4ECDC4, #2C3E50);
    color: #2C3E50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.property-info {
    padding: 1.5rem;
}

.property-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2C3E50;
}

.property-location {
    color: #rgba(44, 62, 80, 0.6);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #rgba(44, 62, 80, 0.7);
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #rgba(44, 62, 80, 0.1);
}

.property-price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4ECDC4, #2C3E50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 0.85rem;
    color: #rgba(44, 62, 80, 0.6);
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
    background: linear-gradient(180deg, #D8F0ED 0%, #1a1a2e 50%, #D8F0ED 100%);
    position: relative;
    overflow: hidden;
}

.download-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.download-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    text-align: left;
}

.app-features {
    list-style: none;
    margin: 2rem 0;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #rgba(44, 62, 80, 0.9);
}

.app-features li span {
    color: #10b981;
    font-weight: 800;
    font-size: 1.2rem;
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.app-badge {
    display: block;
    transition: transform 0.3s ease;
}

.app-badge img {
    height: 50px;
    width: auto;
}

.app-badge:hover {
    transform: scale(1.05);
}

.app-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
}

.app-stat div {
    display: flex;
    flex-direction: column;
}

.app-stat strong {
    font-size: 1.5rem;
    color: #2C3E50;
}

.app-stat span {
    font-size: 0.9rem;
    color: #rgba(44, 62, 80, 0.6);
}

.phone-mockup-3d {
    width: 100%;
    height: 600px;
    position: relative;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: linear-gradient(135deg, #D8F0ED 0%, #D8F0ED 100%);
    position: relative;
    overflow: hidden;
    color: #D8F0ED;
    padding: 5rem 0;
}

.contact-section .section-title {
    color: #E74C3C;
    font-size: 2.5rem;
    font-weight: 800;
}

.contact-section .section-subtitle {
    color: #AEDBD6;
    opacity: 0.9;
}

.contact-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: rgba(231, 76, 60, 0.08);
    border: 2px solid rgba(231, 76, 60, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(216, 240, 237, 0.05);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
    color: #D8F0ED;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E74C3C;
    background: rgba(231, 76, 60, 0.1);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(216, 240, 237, 0.5);
}

.form-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    display: none;
}

.form-result.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
    display: block;
}

.form-result.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(231, 76, 60, 0.08);
    border: 2px solid rgba(231, 76, 60, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #E74C3C;
}

.info-card p {
    color: #AEDBD6;
    opacity: 0.9;
}

/* ========================================
   Footer
   ======================================== */
.landing-footer {
    background: #D8F0ED;
    border-top: 1px solid #rgba(44, 62, 80, 0.1);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

.footer-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4ECDC4, #2C3E50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.footer-col p {
    color: #rgba(44, 62, 80, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #rgba(44, 62, 80, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #4ECDC4;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #rgba(44, 62, 80, 0.05);
    border: 1px solid #rgba(44, 62, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #4ECDC4, #2C3E50);
    transform: translateY(-3px);
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-app-badges img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-app-badges img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #rgba(44, 62, 80, 0.1);
    color: #rgba(44, 62, 80, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .download-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone-mockup-3d {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stat-divider {
        display: none;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .app-badges {
        flex-direction: column;
    }

    .app-badge img {
        width: 100%;
        height: auto;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* ========================================
   Loading Animation
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    animation: fadeIn 0.6s ease forwards;
}

/* ========================================
   APP DOWNLOAD SECTION
   ======================================== */

.download-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.download-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

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

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-text {
    color: white;
}

.download-text .section-title {
    color: white;
    margin-bottom: 16px;
}

.download-text .section-subtitle {
    color: #rgba(44, 62, 80, 0.9);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    color: #rgba(44, 62, 80, 0.95);
    font-size: 1.1rem;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #rgba(44, 62, 80, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.app-store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


.store-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #rgba(44, 62, 80, 0.2);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: 130px;
}

.store-button:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #rgba(44, 62, 80, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

.store-label {
    font-size: 0.5rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Phone Mockup */
.download-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: float-phone 3s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 20px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.preview-header {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #rgba(44, 62, 80, 0.2);
    margin-bottom: 20px;
}

.preview-logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.preview-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-card {
    height: 120px;
    background: #rgba(44, 62, 80, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .download-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .download-section {
        padding: 80px 0;
    }

    .app-store-buttons {
        flex-direction: column;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}

/* ========================================
   Smooth Scroll Animations
   ======================================== */

html {
    scroll-behavior: smooth;
}

.scroll-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000;
    background: #rgba(44, 62, 80, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #E74C3C, #AEDBD6, #2C3E50);
    width: 0%;
    transition: width 0.1s ease;
}

/* Section Transitions */
section {
    position: relative;
    transition: all 0.6s ease;
}

/* Parallax Effect */
.hero-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animation Delays */
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }
.fade-in-up:nth-child(5) { transition-delay: 0.5s; }
.fade-in-up:nth-child(6) { transition-delay: 0.6s; }

