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

@font-face {
    font-family: 'Red Hat Display';
    src: url('assets/fonts/RedHatDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Red Hat Display';
    src: url('assets/fonts/RedHatDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Red Hat Display';
    src: url('assets/fonts/RedHatDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Red Hat Display';
    src: url('assets/fonts/RedHatDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* App Icon Color Scheme */
    --primary-blue: #1e3a8a; /* Dark blue from graduation cap */
    --secondary-blue: #3b82f6; /* Medium blue from lotus flower */
    --accent-blue: #60a5fa; /* Lighter blue accent */
    --primary-green: #10b981; /* Keep green for contrast */
    --accent-green: #34d399;
    --text-primary: #1e293b; /* Darker text for better contrast */
    --text-secondary: #475569;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.hero-stats .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

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

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

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

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Showcase device carousel */
.device-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
}

.toggle-btn, .pause-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--primary-blue);
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn[aria-pressed="true"], .pause-btn[aria-pressed="true"] {
    background: var(--primary-blue);
    color: white;
}

.device-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 24px;
}

.frame {
    position: relative;
    width: 320px;
    height: 640px;
    border-radius: 36px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(145deg, #0f172a, #1e293b);
    overflow: hidden;
}

.ipad-frame {
    /* iPad portrait 3:4 aspect ratio */
    width: 768px;
    height: 1024px;
    border-radius: 30px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: white;
}

/* Avoid clipping iPad screenshots in the portrait frame */
.ipad-frame .slides img {
    object-fit: contain;
    object-position: center;
    background: transparent;
    padding: 0;
}

/* removed pause buttons */

@media (max-width: 1280px) {
    .ipad-frame { width: 640px; height: 853px; }
}

@media (max-width: 1024px) {
    .ipad-frame { width: 480px; height: 640px; }
}

@media (max-width: 820px) {
    .ipad-frame { width: 360px; height: 480px; }
}

@media (max-width: 640px) {
    .frame { width: 280px; height: 560px; }
    .ipad-frame { width: 320px; height: 480px; }
}

/* Show both frames side-by-side on desktop */
@media (min-width: 1025px) {
    .device-carousel { grid-template-columns: 320px 768px; align-items: start; }
    .device-toggle { display: none; }
}

.floating-lotus {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 120px;
    height: auto;
    max-width: 120px;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    object-fit: contain;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-blue);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-blue);
    top: 50%;
    right: 10%;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background);
    background-image: url('assets/images/backgrounds/Tasks.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85); /* solid overlay instead of gradient */
    pointer-events: none;
}

.features > * { position: relative; z-index: 1; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon i {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    stroke-width: 1.5;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-highlight {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.highlight-text {
    background: var(--background-alt);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* App Showcase Section */
.showcase {
    padding: 80px 0;
    background: var(--background-alt);
}

.showcase-section {
    margin-bottom: 60px;
}

.showcase-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.showcase-subtitle i {
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.screenshot-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: white;
    border: 1px solid var(--border);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 138, 0.9));
    padding: 20px 15px 15px;
    color: white;
    text-align: center;
}

.screenshot-label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.showcase-cta {
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.showcase-cta h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.showcase-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Center download buttons in the Showcase CTA on desktop */
.showcase-cta .hero-buttons {
    justify-content: center;
}

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

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

.about-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.about-feature i {
    color: var(--primary-blue);
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.team-placeholder {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 2px dashed var(--border);
    text-align: center;
    padding: 20px;
}

.placeholder-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 16px;
    object-fit: cover;
    object-position: center;
}

.placeholder-text {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.placeholder-subtitle {
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 0;
    background: transparent;
    display: none; /* temporarily hidden until real feedback is added */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

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

.author-avatar {
    font-size: 2.5rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
    background: var(--background-alt);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.testimonials-cta h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.testimonials-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background);
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.contact-email:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-email i {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.contact-additional {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-blue);
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0f172a;
    padding: 40px 0 24px;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 80px; /* space for bottom nav */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: #334155;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1e3a8a;
}

.footer-social {
    display: none !important;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 50%;
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    color: white;
}

.social-link i {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #334155;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
}

.nav-item i {
    width: 24px;
    height: 24px;
    color: var(--text-light);
    transition: all 0.3s ease;
    stroke-width: 1.5;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item:hover i,
.nav-item:hover span {
    color: var(--primary-blue);
}

.nav-item.active {
    background: transparent;
}

.nav-item.active i,
.nav-item.active span {
    color: var(--primary-blue);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }
    .hero-buttons .tile-btn { width: 100%; justify-content: center; }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about { padding: 60px 0; }
    .about-content { grid-template-columns: 1fr; gap: 24px; }
    .about-text { text-align: left; margin: 0 auto; max-width: 680px; padding: 0 8px; }
    .about-visual { width: 100%; }
    .profile-card { margin: 0 auto; width: 100%; max-width: none; display: flex; flex-direction: column; align-items: center; }
    .profile-avatar { width: 160px; height: 160px; }
    .about-contact-cta { flex-direction: column; align-items: stretch; gap: 10px !important; }
    .about-contact-cta .tile-btn { width: 100%; justify-content: center; white-space: normal; }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    /* LIA hero stack on mobile: make 2:1 row turn into a single column */
    #lia .features-grid { grid-template-columns: 1fr !important; }
    /* Put GIF above copy on mobile */
    #lia .features-grid:nth-of-type(1) .feature-card:first-child { flex-direction: column; align-items: center; }
    #lia .features-grid:nth-of-type(1) .feature-card:first-child img { width: 120px; height: 120px; }
    /* Reduce price card height on mobile */
    #lia .features-grid:nth-of-type(1) .feature-card:nth-child(2) {
        height: auto !important;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    /* LIA mobile layout: stack gif above text and price below */
    #lia .features-grid { grid-template-columns: 1fr; }
    #lia .feature-card:first-child { flex-direction: column; align-items: center; }
    #lia .feature-card:first-child img { width: 120px; height: 120px; }
    
    .screenshots-grid { grid-template-columns: 1fr; gap: 15px; }
    .device-carousel { justify-content: center; }
    .frame, .ipad-frame { margin: 0 auto; }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .contact-additional {
        flex-direction: column;
        gap: 20px;
    }
    
    .floating-lotus {
        width: 80px;
        height: auto;
        max-width: 80px;
        right: 5%;
    }
    
    .showcase-cta {
        padding: 40px 20px;
    }
    
    .showcase-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonials-cta {
        padding: 40px 20px;
    }
    
    .testimonials-cta h3 {
        font-size: 1.5rem;
    }
    
    .floating-lotus {
        display: none;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-subtitle {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Enhanced animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.shape {
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(2) {
    animation-delay: -2s;
}

.shape:nth-child(3) {
    animation-delay: -4s;
}

/* Enhanced Showcase Section */
.showcase {
    padding: 80px 0;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 40px;
    height: 40px;
    background: var(--secondary-blue);
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.floating-shape:nth-child(3) {
    width: 30px;
    height: 30px;
    background: var(--accent-blue);
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.screenshot-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border: 1px solid var(--border);
    cursor: pointer;
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
    border-color: var(--primary-blue);
}

.screenshot-item:hover::before {
    opacity: 1;
}

.screenshot-item:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 138, 0.95));
    padding: 25px 20px 20px;
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-highlights {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.screenshot-item:hover .feature-highlights {
    opacity: 1;
    transform: translateY(0);
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Document viewer (inline policy container) */
.document-viewer-wrap {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 0;
    margin-top: 30px;
}
.document-viewer {
    background: #ffffff;
    padding: 24px;
}
.document-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* title left, X right */
    gap: 12px;
    margin-bottom: 16px;
}
.document-viewer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}
.document-viewer-close {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.document-viewer-close:hover { background: var(--background-alt); }
.document-viewer-close i { width: 18px; height: 18px; color: var(--text-secondary); }
.document-viewer-body {
    color: var(--text-secondary);
}
.document-viewer-body h1, .document-viewer-body h2, .document-viewer-body h3 { color: var(--text-primary); }
.document-viewer-body a { color: var(--primary-blue); }

@media (max-width: 768px) {
    .document-viewer { padding: 20px; }
}

/* Tile-style buttons inspired by tile.dart */
.tile-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 6px 14px rgba(30, 58, 138, 0.12);
}
.tile-btn:hover { transform: translateY(-2px); background: #f8fafc; box-shadow: 0 10px 18px rgba(30, 58, 138, 0.18); border-color: #1e3a8a; }
.tile-btn:active { transform: translateY(0); }
.tile-btn .tile-texts { display: flex; flex-direction: column; line-height: 1.2; }
.tile-btn .tile-context { font-weight: 700; font-size: 0.95rem; }
.tile-btn .tile-data { opacity: 0.85; font-size: 0.8rem; }
.tile-btn i, .tile-btn svg { width: 22px; height: 22px; }

/* Profile card (About section) */
.profile-card {
    border-radius: 16px;
    padding: 20px 24px 24px;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

.profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #1e3a8a, 0 0 0 7px #ffffff; /* primary ring + white buffer */
}

.profile-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 12px;
}

.profile-role {
    color: #334155;
    font-size: 1rem;
}

/* Responsive adjustments for bottom nav */
@media (max-width: 768px) {
    .bottom-nav {
        padding: 8px 0;
    }
    
    .nav-item {
        padding: 6px 8px;
    }
    
    .nav-item span {
        font-size: 0.7rem;
    }
    
    .nav-item i {
        width: 20px;
        height: 20px;
    }
    
    .footer {
        margin-bottom: 70px;
    }
}

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

.screenshot-item {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.screenshot-item:nth-child(1) { animation-delay: 0.1s; }
.screenshot-item:nth-child(2) { animation-delay: 0.2s; }
.screenshot-item:nth-child(3) { animation-delay: 0.3s; }
.screenshot-item:nth-child(4) { animation-delay: 0.4s; }
.screenshot-item:nth-child(5) { animation-delay: 0.5s; }
.screenshot-item:nth-child(6) { animation-delay: 0.6s; }
