/* ==========================================================================
   RESET & VARIABLE DECLARATIONS
   ========================================================================== */
:root {
    --primary-blue: #3B82F6;
    --purple: #8B5CF6;
    --pink: #EC4899;
    --dark: #0F172A;
    --dark-surface: #1E293B;
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    --gradient-main: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(139, 92, 246, 0.15);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(139, 92, 246, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--primary-blue);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* NAVBAR */
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon { font-size: 1.8rem; }

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-text.light { color: var(--white); }
.logo-highlight { color: var(--primary-blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover { color: var(--primary-blue); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* HERO SECTION */
.hero-section {
    padding: 80px 0 100px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 90%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-container {
    position: relative;
    width: 280px;
    height: 570px;
}

.app-image-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.floating-animation { animation: float 5s ease-in-out infinite; }

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

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    border: 1px solid rgba(226, 232, 240, 0.8);
    white-space: nowrap;
}

.float-icon { font-size: 1.5rem; }
.floating-card strong { display: block; font-size: 0.8rem; color: var(--dark); }
.floating-card small { font-size: 0.7rem; color: var(--text-muted); }

.float-1 { top: 40px; left: -30px; }
.float-2 { bottom: 140px; right: -30px; }
.float-3 { bottom: 20px; left: -30px; }

/* SCREENSHOTS SECTION */
.screenshots-section {
    padding: 100px 0;
    background: var(--white);
}

.screenshots-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px;
    overflow-x: auto !important;
    padding: 10px 10px 30px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshots-scroll-container::-webkit-scrollbar { display: none; }

.screenshot-card {
    flex: 0 0 260px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    scroll-snap-align: center;
    transition: var(--transition);
}

.screenshot-card:hover { transform: translateY(-5px); }

.image-wrapper {
    width: 100%;
    height: 520px;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.screenshot-label {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

/* FEATURES SECTION */
.features-section {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.gradient-1 { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.gradient-2 { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.gradient-3 { background: linear-gradient(135deg, #EC4899, #F472B6); }
.gradient-4 { background: linear-gradient(135deg, #10B981, #34D399); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ABOUT ACCORDION SECTION */
.about-section {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.about-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.accordion-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.accordion-item.active {
    background: #FFFFFF;
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 28px -8px rgba(139, 92, 246, 0.12);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toggle-icon {
    font-size: 1rem;
    color: #94A3B8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .toggle-icon {
    transform: rotate(135deg);
    color: var(--pink);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    background: #FFFFFF;
}

.accordion-item.active .accordion-content {
    padding: 0 24px;
}

.accordion-content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
    padding-bottom: 24px;
}

/* DOWNLOAD CTA SECTION */
.download-section { padding: 80px 0; }

.download-box {
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.download-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.download-content p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.google-play-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.google-play-badge:hover {
    transform: translateY(-3px);
    background: #000;
}

.google-play-badge i { font-size: 2rem; }

.badge-text small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.badge-text strong { font-size: 1.2rem; }

.download-visual {
    display: flex;
    justify-content: center;
}

.cta-img-wrapper {
    width: 220px;
    height: 440px;
}

.app-image-cta {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 12px 0;
}

.footer-about {
    color: #94A3B8;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-nav h4, .footer-socials h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--dark-surface);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-main);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-surface);
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #94A3B8;
    text-decoration: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description { margin: 0 auto 36px auto; }
    .hero-buttons { justify-content: center; }
    .download-box { grid-template-columns: 1fr; text-align: center; padding: 40px 24px; }
    .download-content { display: flex; flex-direction: column; align-items: center; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }
    .nav-menu.active { left: 0; }
    .nav-list { flex-direction: column; align-items: center; gap: 32px; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .floating-card { padding: 6px 10px; }
    .floating-card strong { font-size: 0.75rem; }
    .floating-card small { font-size: 0.65rem; }
    
    .float-1 { top: 10px; left: -10px; }
    .float-2 { bottom: 120px; right: -10px; }
    .float-3 { bottom: 10px; left: -10px; }

    .screenshot-card { flex: 0 0 220px !important; }
    .image-wrapper { height: 440px; }

    .accordion-header { padding: 16px 20px; font-size: 1rem; }
    .accordion-content { padding: 0 20px; }
    .accordion-item.active .accordion-content { padding: 0 20px; }
    .accordion-content p { padding-top: 14px; padding-bottom: 20px; text-align: left; }
   }
