/* ========================================
   iNeed Parking - G9000 Website v1.2
   Modern CSS Stylesheet
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #1B9AE9;
    --primary-light: #42AEF0;
    --primary-dark: #1478BE;
    --primary-50: #E3F2FD;
    --primary-100: #BBDEFB;
    --accent: #FFD600;
    --accent-light: #FFE44D;
    --accent-dark: #C7A500;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
}

.nav-brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand-text i {
    font-size: 1.5rem;
    color: var(--accent);
}

.nav-logo {
    height: 42px;
    width: auto;
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-trigger i {
    font-size: 0.65rem;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-trigger i,
.nav-dropdown.open .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.dropdown-menu a i {
    font-size: 0.9rem;
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.8;
}

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

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #222, #111);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.hero-phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #111;
    border-radius: 0 0 18px 18px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    overflow: hidden;
}

.phone-screen i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.phone-screen-logo {
    width: 45%;
    height: auto;
    margin-bottom: 12%;
}

.phone-screen h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.phone-screen p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Floating Elements */
.hero-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 10px 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--gray-800);
    z-index: 4;
    animation: float 4s ease-in-out infinite;
}

.hero-float i {
    font-size: 0.9rem;
}

.float-1 {
    top: 60px;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 80px;
    left: -20px;
    animation-delay: 2s;
}

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

/* Hero phone group (Samsung Galaxy Ultra style) */
.hero-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
    transform: translateX(20%);
}

.hero-phones .hero-phone-mockup {
    width: 39%;
    height: auto;
    aspect-ratio: 9 / 19.5;
    padding: 0.7%;
    border-radius: 12px;
    background: linear-gradient(145deg, #4a4a4d, #232325);
    flex-shrink: 0;
}

.hero-phones .hero-phone-mockup::before {
    top: 2.8%;
    width: 5%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #050505;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-phones .phone-screen {
    padding: 10%;
    border-radius: 6px;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--gray-900);
    box-shadow: 0 4px 16px rgba(255, 214, 0, 0.35);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 214, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-green {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(27, 154, 233, 0.3);
}

.btn-green:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

/* --- Section Styles --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-green {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

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

.section-header .label {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-green .section-header .label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 16px;
}

.section-green .section-header h2 {
    color: var(--white);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-green .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- App Cards --- */
.app-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.app-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

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


.app-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.app-card-list {
    list-style: none;
    margin-bottom: 24px;
}

.app-card-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.app-card-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary);
    font-size: 0.8rem;
}

.app-card.owner .app-card-list li::before {
    color: var(--accent-dark);
}

.app-card .btn {
    padding: 12px 28px;
    font-size: 0.88rem;
}

.app-card-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.app-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.app-card:hover .app-card-image img {
    transform: scale(1.03);
}

.app-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.google-play-badge {
    display: inline-block;
    transition: var(--transition);
}

.google-play-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.google-play-badge img {
    height: 48px;
    width: auto;
}

/* --- Get Started Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.steps-group {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.steps-group.owner {
    border-top-color: var(--accent);
}

.steps-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 18px;
}

.steps-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.steps-group.owner .steps-icon,
.app-card.owner .steps-icon {
    background: var(--accent);
    color: var(--gray-900);
}

.steps-group h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.steps-tagline {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 28px;
}

.steps-group.owner .steps-tagline {
    color: var(--accent-dark);
}

.steps-list {
    list-style: none;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.steps-group.owner .step-num {
    background: var(--accent);
    color: var(--gray-900);
}

.step-content h4 {
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials-section {
    background: var(--white);
    padding: 72px 0;
    color: var(--gray-900);
}

.testimonial-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    margin: 0 clamp(48px, 8vw, 60px);
    border-left: 4px solid var(--gray-900);
    padding: 6px 0 6px 24px;
}

.testimonial-slide.active {
    display: block;
    animation: testimonialFade 0.4s ease;
}

@keyframes testimonialFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-slide p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.testimonial-slide cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-600);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.testimonial-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.testimonial-arrow.prev { left: 0; }
.testimonial-arrow.next { right: 0; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray-400);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: var(--gray-900);
}

/* --- Page Hero (for inner pages) --- */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 0.88rem;
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb span {
    color: var(--accent);
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
}

/* --- Content Section --- */
.content-section {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 860px;
    margin: 0 auto;
    overflow-wrap: break-word;
}

.content-wrapper h2 {
    font-size: 1.6rem;
    margin: 48px 0 20px;
    color: var(--primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-50);
}

.content-wrapper h3 {
    font-size: 1.25rem;
    margin: 32px 0 14px;
    color: var(--gray-800);
}

.content-wrapper h4 {
    font-size: 1.05rem;
    margin: 24px 0 12px;
    color: var(--gray-700);
}

.content-wrapper p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--gray-700);
}

.content-wrapper ul, .content-wrapper ol {
    margin: 16px 0;
    padding-left: 28px;
}

.content-wrapper li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--gray-700);
    list-style: disc;
}

.content-wrapper ol li {
    list-style: decimal;
}

/* --- FAQ --- */
.faq-section {
    padding: 80px 0;
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-50);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category-title i {
    color: var(--accent);
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-100);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
    background: var(--primary-50);
}

.faq-question i {
    font-size: 0.8rem;
    transition: var(--transition);
    color: var(--gray-400);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-answer-inner p {
    margin-bottom: 10px;
}

.faq-answer-inner ol {
    padding-left: 20px;
    margin: 10px 0;
}

.faq-answer-inner ol li {
    list-style: decimal;
    margin-bottom: 6px;
}

.faq-answer-inner ul {
    padding-left: 20px;
    margin: 10px 0;
}

.faq-answer-inner ul li {
    list-style: disc;
    margin-bottom: 6px;
}

/* --- FAQ Tabs --- */
.faq-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--gray-200);
}

.faq-tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.faq-tab-btn:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.faq-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.faq-tab-btn i {
    font-size: 1.1rem;
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
}

/* --- FAQ CTA --- */
.faq-cta {
    text-align: center;
    padding: 48px 32px;
    margin-top: 48px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.faq-cta h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.faq-cta p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 1rem;
}

.faq-cta .btn {
    font-size: 1rem;
    padding: 14px 36px;
}

/* --- Contact --- */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    overflow-wrap: anywhere;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow-sm);
}

.contact-info-card .icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info-card a:hover {
    color: var(--primary);
}

.contact-team {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-team h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.contact-team p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.messenger-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.messenger-link:hover {
    background: var(--primary-50);
    border-color: var(--primary-100);
    color: var(--primary);
}

.messenger-link i {
    font-size: 1rem;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.contact-social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand i {
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* --- 404 Page --- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}

.error-page h1 {
    font-size: 8rem;
    color: var(--primary-50);
    line-height: 1;
    margin-bottom: 8px;
}

.error-page h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.error-page p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

/* --- User Guide --- */
.guide-notice {
    padding: 20px 28px;
    background: #FFFDE7;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 32px;
    font-size: 0.92rem;
    color: var(--gray-700);
}

.guide-notice a {
    color: var(--accent);
    font-weight: 600;
}

.guide-notice a:hover {
    text-decoration: underline;
}

.guide-placeholder {
    text-align: center;
    padding: 80px 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.guide-placeholder i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.guide-placeholder h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--gray-600);
}

.guide-placeholder p {
    color: var(--gray-500);
    font-size: 0.92rem;
}

.pdf-embed {
    margin: 32px 0 40px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pdf-embed object {
    display: block;
    width: 100%;
    height: 80vh;
    min-height: 480px;
    border: none;
}

.pdf-embed p {
    padding: 32px;
    color: var(--gray-600);
}

/* --- Terms --- */
.terms-content {
    counter-reset: none;
}

.terms-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    color: var(--primary);
}

.terms-content h3 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
    color: var(--gray-800);
}

.terms-content p {
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.terms-last-updated {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-phones {
        transform: none;
        gap: 2%;
    }

    .hero-phones .hero-phone-mockup {
        width: 31%;
    }

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

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

    .hero-content {
        margin: 0 auto;
    }

    .app-cards {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 88px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 500px;
    }

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

    .hero {
        min-height: auto;
        padding: 120px 0 100px;
    }

    .hero-phone-mockup {
        width: 180px;
        height: 360px;
    }

    .hero-float {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-hero {
        padding: 110px 0 60px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .faq-tab-btn {
        padding: 14px 10px;
        gap: 6px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero-phone-mockup {
        width: 160px;
        height: 320px;
    }

    .app-card {
        padding: 32px 24px;
    }

    .contact-info-card {
        flex-direction: column;
    }

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

    .faq-tab-btn {
        flex-direction: column;
        gap: 4px;
        padding: 12px 6px;
        font-size: 0.8rem;
    }

    .testimonial-arrow {
        width: 36px;
        height: 36px;
    }

    .testimonial-slide {
        margin: 0 44px;
    }
}
