/* CampusMint Landing Page Styles */

/* ============================================
   CSS Variables
============================================ */
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
    --secondary: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ============================================
   Container
============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

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

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.nav-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-buttons .btn {
    white-space: nowrap;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.trust-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(34, 197, 94, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    border-radius: 30px;
    padding: 40px 12px 12px;
    overflow: hidden;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.app-date {
    opacity: 0.8;
    font-size: 10px;
}

.app-class {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 8px;
}

.student-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.student-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: white;
    border-radius: 6px;
    font-size: 11px;
    border: 1px solid var(--border);
}

.student-item.present {
    border-left: 3px solid var(--primary);
}

.student-item.absent {
    border-left: 3px solid #ef4444;
    background: #fef2f2;
}

.status-badge {
    font-weight: 700;
}

.student-item.present .status-badge {
    color: var(--primary);
}

.student-item.absent .status-badge {
    color: #ef4444;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}

.save-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   Section Styles
============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
}

/* ============================================
   Problems Section
============================================ */
.problems {
    padding: 100px 0;
    background: var(--bg-light);
}

.problems-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
    margin-bottom: 40px;
}

.problem-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 14px;
    color: var(--text-light);
}

.solution-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.solution-icon {
    font-size: 28px;
}

.solution-banner p {
    font-size: 16px;
    color: var(--text);
}

/* ============================================
   Features Section
============================================ */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Detailed Features */
.features-detailed {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 60px;
}

.feature-block {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 20px 0;
}

.feature-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.feature-tagline {
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
}

.feature-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Attendance Visual */
.mini-phone {
    width: 200px;
    height: 300px;
    background: #1a1a1a;
    border-radius: 28px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.mini-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    border-radius: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attendance-demo {
    text-align: center;
    width: 100%;
}

.demo-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.demo-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-circle.absent-circle {
    background: rgba(239, 68, 68, 0.1);
}

.stat-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.absent-circle .stat-num {
    color: #ef4444;
}

.stat-label {
    font-size: 9px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Materials Visual */
.file-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateX(0);
    transition: var(--transition);
}

.file-card:nth-child(1) { transform: translateX(-20px); }
.file-card:nth-child(2) { transform: translateX(0); }
.file-card:nth-child(3) { transform: translateX(20px); }

.file-card:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.file-icon {
    font-size: 28px;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Assignment Visual */
.assignment-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    width: 280px;
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.assignment-icon {
    font-size: 24px;
}

.assignment-due {
    font-size: 12px;
    font-weight: 600;
    color: #f59e0b;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: 100px;
}

.assignment-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.assignment-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 100px;
    transition: width 0.3s ease;
}

.assignment-progress span {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}

/* Announcement Visual */
.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-width: 260px;
}

.notification:first-child {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.notif-icon {
    font-size: 20px;
}

.notif-content strong {
    display: block;
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.notif-content p {
    font-size: 12px;
    color: var(--text-light);
}

/* More Features Grid */
.more-features {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.more-features h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.more-features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.more-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border: 1px solid var(--border);
}

.more-icon {
    font-size: 18px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--bg);
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Download Section
============================================ */
.download-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    background-color: #22c55e !important;
}

.download-card {
    text-align: center;
    color: white;
}

.download-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.download-icon svg {
    fill: white;
}

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

.download-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-text p {
    font-size: 15px;
    opacity: 0.9;
}

.download-btn {
    position: relative;
}

.version-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.playstore-note {
    font-size: 13px;
    opacity: 0.7;
}

/* ============================================
   Why Us Section (Grid)
============================================ */
.why-us {
    padding: 100px 0;
    background: var(--bg);
}

.why-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}

.why-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    background: var(--bg);
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Who Section
============================================ */
.who-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.who-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.who-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.who-card.ideal {
    border-left: 4px solid var(--primary);
}

.who-card.note {
    border-left: 4px solid #3b82f6;
}

.who-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.who-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.who-card ul li {
    font-size: 15px;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.who-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.who-card.note p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tagline-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius);
    padding: 20px;
}

.tagline-box p {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 4px !important;
}

.tagline-box p:last-child {
    margin-bottom: 0 !important;
    opacity: 0.8;
}

/* ============================================
   How It Works Section
============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
}

.step-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step-icon-bg {
    width: 100%;
    height: 100%;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--text-light);
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin-top: 50px;
    flex-shrink: 0;
}

/* ============================================
   Why Us Section
============================================ */
.why-us {
    padding: 100px 0;
    background: var(--bg);
}

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

.why-us-text .section-title {
    text-align: left;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.benefit-content p {
    font-size: 14px;
    color: var(--text-light);
}

.dashboard-preview {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-xl);
}

.dashboard-preview img {
    border-radius: var(--radius-lg);
}

/* ============================================
   Testimonials Section
============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   FAQ Section
============================================ */
.faq-preview {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: var(--bg);
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   Pilot Form Section
============================================ */
.pilot-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.pilot-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.pilot-info .section-badge {
    margin-bottom: 12px;
}

.pilot-info .section-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: 16px;
}

.pilot-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.pilot-includes {
    margin-bottom: 32px;
}

.pilot-includes h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.pilot-includes ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pilot-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
}

.pilot-includes li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pilot-promise {
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.pilot-promise p {
    font-size: 14px;
    margin-bottom: 4px;
}

.pilot-promise p:last-child {
    margin-bottom: 0;
}

.promise-good {
    color: var(--primary-dark);
    font-weight: 600;
}

.promise-neutral {
    color: var(--text-light);
}

.pilot-form-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: var(--transition);
    font-family: var(--font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 16px;
}

.form-note a {
    color: var(--primary);
}

.form-note a:hover {
    text-decoration: underline;
}

/* Button loader */
.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   CTA Section
============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-tagline {
    color: var(--text-lighter);
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-links a {
    color: var(--text-lighter);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-newsletter p {
    color: var(--text-lighter);
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: var(--text-lighter);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 16px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--text-lighter);
}

/* ============================================
   Modal
============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 440px;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================
   Page Styles (About, Contact, FAQ, etc.)
============================================ */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin: 40px 0 16px;
}

.page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin: 32px 0 12px;
}

.page-content p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content ul {
    margin: 16px 0 16px 24px;
}

.page-content ul li {
    list-style: disc;
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.contact-info-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.contact-info-card p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-info-card span {
    font-size: 20px;
}

/* FAQ Page Full */
.faq-page .faq-list {
    max-width: 900px;
}

.faq-page .faq-category {
    margin-bottom: 40px;
}

.faq-page .faq-category h2 {
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-block.reverse {
        direction: ltr;
    }
    
    .feature-visual {
        order: -1;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .pilot-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .phone-mockup {
        transform: none;
        width: 240px;
        height: 480px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-buttons .btn {
        display: none;
    }
    
    .nav-buttons .btn-outline {
        display: inline-flex !important;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .download-text {
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .form-row.two-col {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .pilot-info .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
    }
    
    .download-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .pilot-form-card {
        padding: 24px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
    
    .file-card:nth-child(1),
    .file-card:nth-child(2),
    .file-card:nth-child(3) {
        transform: translateX(0);
    }
}
