/* ============================================
   CSS Custom Properties - Brand Palette
   ============================================ */
:root {
    --brand-primary: #4F46E5;
    --brand-accent: #06B6D4;
    --brand-deep: #310072;
    --text-primary: #0E1116;
    --bg: #F5F7FB;
    --surface: #FFFFFF;
    --border: #E2E8F0;
    --muted: #94A3B8;
    --success: #10B981;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 0.75rem;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

/* ============================================
   Skip Link (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--brand-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

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

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

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle .hamburger {
    background: transparent;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--surface);
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-checkbox:checked ~ .nav-menu {
    display: flex;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        flex-direction: row;
        gap: 2rem;
    }
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: color var(--transition);
}

@media (min-width: 768px) {
    .nav-links a {
        font-size: 1rem;
    }
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--brand-primary);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-actions {
        flex-direction: row;
        gap: 1rem;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.btn:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--brand-primary);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: rgba(79, 70, 229, 0.1);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Hero Carousel Section
   ============================================ */
.hero-carousel-section {
    padding: 4rem 0 0;
    background: linear-gradient(135deg, #F0F0FF 0%, #E0E7FF 50%, #F5E7FF 100%);
    background-size: 100% 600px;
    background-position: top center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .hero-carousel-section {
        padding: 5rem 0 0;
        background-size: 100% 600px;
    }
}

.hero-carousel-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-carousel-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .hero-carousel-header h1 {
        font-size: 3.5rem;
    }
}

.hero-carousel-header p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-carousel-header p {
        font-size: 1.25rem;
    }
}

.hero-carousel-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-carousel-actions {
        flex-direction: row;
        gap: 1rem;
    }
}

.carousel-wrapper {
    margin-top: 4rem;
    position: relative;
    padding-bottom: 3rem;
}

.carousel-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0 1.5rem;
}

.carousel-scroll::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .carousel-scroll {
        gap: 2rem;
        padding: 0 0 2rem;
    }
}

.carousel-card {
    flex: 0 0 75%;
    scroll-snap-align: center;
    background: transparent;
    padding: 0;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .carousel-card {
        flex: 0 0 48%;
    }
}

@media (min-width: 968px) {
    .carousel-card {
        flex: 0 0 32%;
    }
}

@media (min-width: 1200px) {
    .carousel-card {
        flex: 0 0 28%;
    }
}

.carousel-card:hover {
    transform: translateY(-4px);
}

.carousel-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0.25rem 0 0;
    color: #6B7280;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-card h3 svg {
    flex-shrink: 0;
}

.carousel-card-image {
    height: 418px;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-scroll {
        scroll-behavior: auto;
    }
    
    .carousel-card {
        transition: none !important;
    }
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 3rem;
}

/* ============================================
   Section Titles (Legacy - kept for other sections)
   ============================================ */
.feature-card p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================
   Feature Sections (Deep)
   ============================================ */
.feature-section {
    padding: 4rem 0;
    background: var(--surface);
}

.feature-section-alt {
    background: var(--bg);
}

@media (min-width: 768px) {
    .feature-section {
        padding: 5rem 0;
    }
}

.feature-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 968px) {
    .feature-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.feature-layout-right .feature-text {
    order: 2;
}

.feature-layout-right .feature-media {
    order: 1;
}

@media (min-width: 968px) {
    .feature-layout-left .feature-text {
        order: 1;
    }
    
    .feature-layout-left .feature-media {
        order: 2;
    }
    
    .feature-layout-right .feature-text {
        order: 2;
    }
    
    .feature-layout-right .feature-media {
        order: 1;
    }
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .feature-text h2 {
        font-size: 2.25rem;
    }
}

.feature-text p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 1rem;
}

.feature-text p:last-child {
    margin-bottom: 0;
}

.feature-media img {
    border-radius: var(--border-radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* ============================================
   Tabbed Features Section
   ============================================ */
.tabbed-features-section {
    padding: 5rem 0;
    background: var(--bg);
}

@media (min-width: 768px) {
    .tabbed-features-section {
        padding: 6rem 0;
    }
}

.tabbed-features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.tabbed-features-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .tabbed-features-header h2 {
        font-size: 2.5rem;
    }
}

.tabbed-features-header p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--muted);
}

.feature-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--surface);
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    border: 1px solid #E2E8F0;
}

@media (max-width: 767px) {
    .feature-tabs {
        overflow-x: auto;
    }
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-family);
    flex: 1;
    justify-content: center;
}

@media (max-width: 1100px) {
    .feature-tab {
        padding: 0.75rem 0.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 767px) {
    .feature-tab {
        flex: 0 0 auto;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

.feature-tab svg {
    flex-shrink: 0;
}

.feature-tab:hover {
    background: var(--bg);
    color: var(--text-primary);
}

.feature-tab.active {
    background: var(--brand-primary);
    color: white;
}

.feature-tab.active svg {
    stroke: white;
}

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

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

.feature-display {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
}

.feature-display img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.feature-display-clean {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-display-clean.dashboard-layout {
    flex-direction: column;
}

.feature-display-clean img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-cards-overlap {
    position: relative;
    height: 520px;
    margin-bottom: 3rem;
}

.feature-cards-overlap img {
    position: absolute;
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 480px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-cards-overlap .card-1 {
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% - 200px), -50%);
    z-index: 1;
}

.feature-cards-overlap .card-2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.feature-cards-overlap .card-3 {
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + 200px), -50%);
    z-index: 3;
}

.feature-cards-overlap:hover .card-1 {
    transform: translate(calc(-50% - 220px), -50%);
}

.feature-cards-overlap:hover .card-3 {
    transform: translate(calc(-50% + 220px), -50%);
}

@media (max-width: 768px) {
    .feature-cards-overlap {
        height: 380px;
    }
    
    .feature-cards-overlap img {
        max-width: 90%;
        max-height: 340px;
    }
    
    .feature-cards-overlap .card-1 {
        transform: translate(calc(-50% - 130px), -50%);
    }
    
    .feature-cards-overlap .card-3 {
        transform: translate(calc(-50% + 130px), -50%);
    }
    
    .feature-cards-overlap:hover .card-1 {
        transform: translate(calc(-50% - 150px), -50%);
    }
    
    .feature-cards-overlap:hover .card-3 {
        transform: translate(calc(-50% + 150px), -50%);
    }
}

.feature-images-stacked {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    margin-bottom: 3rem;
}

.feature-images-stacked .main-image {
    width: auto;
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-images-stacked .overlay-image {
    position: absolute;
    bottom: -6%;
    right: -2%;
    width: auto;
    max-width: 24%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature-images-stacked:hover .overlay-image {
    transform: scale(1.25) translateY(-10px);
}

@media (max-width: 768px) {
    .feature-images-stacked {
        min-height: 350px;
    }
    
    .feature-images-stacked .main-image {
        max-width: 95%;
    }
    
    .feature-images-stacked .overlay-image {
        max-width: 35%;
        right: 0%;
        bottom: -2%;
    }
}

.feature-portal-quadrants {
    position: relative;
    max-width: 1000px;
    height: 650px;
    margin: 0 auto 3rem;
    padding: 2rem 0;
}

.feature-portal-quadrants .portal-quadrant {
    position: absolute;
}

.feature-portal-quadrants .portal-quadrant img {
    width: auto;
    max-width: 550px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-portal-quadrants .portal-quadrant-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.feature-portal-quadrants .portal-quadrant-2 {
    top: 0;
    right: 0;
    z-index: 3;
}

.feature-portal-quadrants .portal-quadrant-3 {
    bottom: 0;
    left: 0;
    z-index: 4;
}

.feature-portal-quadrants .portal-quadrant-4 {
    bottom: 0;
    right: 0;
    z-index: 1;
}

.feature-portal-quadrants .portal-quadrant:hover {
    z-index: 10;
}

.feature-portal-quadrants .portal-quadrant:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 
                0 12px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 968px) {
    .feature-portal-quadrants {
        height: 550px;
    }
    
    .feature-portal-quadrants .portal-quadrant img {
        max-width: 450px;
    }
}

@media (max-width: 640px) {
    .feature-portal-quadrants {
        position: static;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .feature-portal-quadrants .portal-quadrant {
        position: static;
        display: flex;
        justify-content: center;
    }
    
    .feature-portal-quadrants .portal-quadrant img {
        max-width: 100%;
        width: 100%;
    }
}

.feature-portal-layout {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    position: relative;
}

.feature-portal-layout .portal-main-image {
    flex: 0 0 auto;
    position: relative;
}

.feature-portal-layout .portal-main-image img {
    width: auto;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.feature-portal-layout .portal-main-image img:hover {
    transform: scale(1.35);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 
                0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.feature-portal-layout .portal-side-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    position: relative;
}

.feature-portal-layout .portal-side-images img {
    width: auto;
    height: calc((500px - 1.5rem) / 2);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.feature-portal-layout .portal-side-images img:hover {
    transform: scale(1.45);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 
                0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.feature-portal-layout:has(img:hover) img:not(:hover) {
    opacity: 0.4;
    filter: blur(2px);
    transform: scale(0.95);
}

@media (max-width: 968px) {
    .feature-portal-layout {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        align-items: center;
    }
    
    .feature-portal-layout .portal-main-image img {
        height: 450px;
    }
    
    .feature-portal-layout .portal-side-images {
        width: 100%;
        max-width: 600px;
    }
    
    .feature-portal-layout .portal-side-images img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .feature-portal-layout .portal-main-image img {
        height: auto;
        width: 100%;
        max-width: 100%;
    }
}


.feature-student-views {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
}

.feature-student-views .student-desktop-view {
    flex: 0 0 auto;
}

.feature-student-views .student-desktop-view img {
    width: auto;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-student-views .student-mobile-view {
    flex: 0 0 auto;
}

.feature-student-views .student-mobile-view img {
    width: auto;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 968px) {
    .feature-student-views {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    .feature-student-views .student-desktop-view img {
        height: 450px;
    }
    
    .feature-student-views .student-mobile-view img {
        height: 450px;
    }
}

@media (max-width: 640px) {
    .feature-student-views .student-desktop-view img {
        height: 400px;
    }
    
    .feature-student-views .student-mobile-view img {
        height: 400px;
    }
}

.feature-attendance-views {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
}

.feature-attendance-views .attendance-mobile-view {
    flex: 0 0 auto;
}

.feature-attendance-views .attendance-mobile-view img {
    width: auto;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

.feature-attendance-views .attendance-desktop-view {
    flex: 0 0 auto;
}

.feature-attendance-views .attendance-desktop-view img {
    width: auto;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

.feature-attendance-views .attendance-mobile-view:hover img {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 
                0 12px 32px rgba(0, 0, 0, 0.2);
}

.feature-attendance-views .attendance-desktop-view:hover img {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 
                0 12px 32px rgba(0, 0, 0, 0.2);
}

.feature-attendance-views .attendance-mobile-view:hover ~ .attendance-desktop-view img,
.feature-attendance-views .attendance-desktop-view:hover ~ .attendance-mobile-view img {
    opacity: 0.6;
}

.feature-attendance-views:has(.attendance-desktop-view:hover) .attendance-mobile-view img {
    opacity: 0.6;
}

@media (max-width: 968px) {
    .feature-attendance-views {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    .feature-attendance-views .attendance-mobile-view img {
        height: 450px;
    }
    
    .feature-attendance-views .attendance-desktop-view img {
        height: 450px;
    }
}

@media (max-width: 640px) {
    .feature-attendance-views .attendance-mobile-view img {
        height: 400px;
    }
    
    .feature-attendance-views .attendance-desktop-view img {
        height: auto;
        max-width: 100%;
        max-height: none;
    }
}

.dashboard-interactive {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 1.5rem;
}

.dashboard-base-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
}

.dashboard-hotspot {
    position: absolute;
    cursor: pointer;
    outline: none;
    overflow: visible;
}

.dashboard-hotspot img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1;
}

.dashboard-hotspot:hover img,
.dashboard-hotspot:focus img {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 
                0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.dashboard-hotspot-at-risk:hover img,
.dashboard-hotspot-at-risk:focus img {
    transform: scale(1.4);
}

.dashboard-interactive:has(.dashboard-hotspot:hover) .dashboard-base-image,
.dashboard-interactive:has(.dashboard-hotspot:focus) .dashboard-base-image {
    filter: blur(2px) brightness(0.7);
}

.dashboard-interactive:has(.dashboard-hotspot:hover) .dashboard-hotspot:not(:hover) img,
.dashboard-interactive:has(.dashboard-hotspot:focus) .dashboard-hotspot:not(:focus) img {
    opacity: 0;
}

.dashboard-hint {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    padding: 0;
}

@media (max-width: 768px) {
    .dashboard-interactive {
        max-width: 100%;
    }
}

.feature-guides-grid {
    position: relative;
    max-width: 1000px;
    height: 400px;
    margin: 0 auto 2rem;
    padding: 1rem 0;
}

.feature-guides-grid .guide-card {
    position: absolute;
}

.feature-guides-grid .guide-card img {
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-guides-grid .guide-card:nth-child(1) {
    left: 0;
    bottom: 15%;
    z-index: 3;
}

.feature-guides-grid .guide-card:nth-child(1) img {
    max-height: 220px;
}

.feature-guides-grid .guide-card:nth-child(2) {
    left: 14%;
    top: 8%;
    z-index: 4;
}

.feature-guides-grid .guide-card:nth-child(2) img {
    max-height: 240px;
}

.feature-guides-grid .guide-card:nth-child(3) {
    right: 0;
    bottom: 0;
    z-index: 5;
}

.feature-guides-grid .guide-card:nth-child(3) img {
    max-height: 280px;
}

.feature-guides-grid .guide-card:nth-child(4) {
    left: 0;
    top: 0;
    z-index: 2;
}

.feature-guides-grid .guide-card:nth-child(4) img {
    max-height: 300px;
}

.feature-guides-grid .guide-card:nth-child(5) {
    right: 8%;
    top: 0;
    z-index: 1;
}

.feature-guides-grid .guide-card:nth-child(5) img {
    max-height: 160px;
}

.feature-guides-grid .guide-card:nth-child(6) {
    right: 2%;
    top: 5%;
    z-index: 6;
}

.feature-guides-grid .guide-card:nth-child(6) img {
    max-height: 180px;
}

.feature-guides-grid .guide-card:hover {
    z-index: 10;
}

.feature-guides-grid .guide-card:hover img {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 
                0 12px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 968px) {
    .feature-guides-grid {
        max-width: 750px;
        height: 350px;
    }
    
    .feature-guides-grid .guide-card:nth-child(1) img {
        max-height: 180px;
    }
    
    .feature-guides-grid .guide-card:nth-child(2) img {
        max-height: 200px;
    }
    
    .feature-guides-grid .guide-card:nth-child(3) img {
        max-height: 240px;
    }
    
    .feature-guides-grid .guide-card:nth-child(4) img {
        max-height: 260px;
    }
    
    .feature-guides-grid .guide-card:nth-child(5) img {
        max-height: 140px;
    }
    
    .feature-guides-grid .guide-card:nth-child(6) img {
        max-height: 150px;
    }
}

@media (max-width: 640px) {
    .feature-guides-grid {
        position: static;
        height: auto;
        max-width: 400px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-guides-grid .guide-card {
        position: static;
        display: flex;
        justify-content: center;
    }
    
    .feature-guides-grid .guide-card img {
        max-height: none;
        width: 100%;
        max-width: 360px;
    }
}

.feature-description {
    max-width: 800px;
    margin: 0 auto;
}

.feature-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 1rem;
}

.feature-description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Impact & Productivity Section
   ============================================ */
.impact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-primary) 100%);
}

@media (min-width: 768px) {
    .impact-section {
        padding: 5rem 0;
    }
}

.impact-section .section-title {
    color: var(--surface);
    margin-bottom: 0.5rem;
}

.impact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.impact-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
    .impact-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 968px) {
    .impact-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: 3rem 2rem;
    }
}

.impact-item {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 968px) {
    .impact-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background: rgba(255, 255, 255, 0.2);
    }
}

@media (min-width: 640px) and (max-width: 967px) {
    .impact-item:nth-child(odd)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .impact-item:not(:nth-last-child(-n+2))::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 639px) {
    .impact-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .impact-item {
        transition: none;
    }
    
    .impact-item:hover {
        transform: none;
    }
}

.impact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.impact-icon:hover {
    filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.5)) brightness(1.2);
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .impact-icon {
        transition: none;
    }
    
    .impact-icon:hover {
        transform: none;
    }
}

/* Icon Animations */

/* Clock - rotating hands */
.hour-hand {
    transform-origin: 12px 12px;
    animation: rotate-hour 48s linear infinite;
}

.minute-hand {
    transform-origin: 12px 12px;
    animation: rotate-minute 4s linear infinite;
}

@keyframes rotate-hour {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-minute {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Eye - blink effect */
.eye-blink {
    transform-origin: center;
    animation: blink-eye 4s ease-in-out infinite;
}

@keyframes blink-eye {
    0%, 45%, 55%, 100% { 
        transform: scaleY(1);
    }
    50% { 
        transform: scaleY(0.05);
    }
}

/* Lightning - shake effect */
.lightning-bolt {
    animation: shake-lightning 2s ease-in-out infinite;
}

@keyframes shake-lightning {
    0%, 100% { transform: translate(0, 1px) scale(0.6) translate(8px, 3px); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-1px, 1px) scale(0.6) translate(8px, 3px); }
    20%, 40%, 60%, 80% { transform: translate(1px, 1px) scale(0.6) translate(8px, 3px); }
}

/* Dashboard - pulse squares one by one */
.grid-square {
    animation: pulse-grid 3s ease-in-out infinite;
}

.grid-1 { animation-delay: 0s; }
.grid-2 { animation-delay: 0.75s; }
.grid-3 { animation-delay: 1.5s; }
.grid-4 { animation-delay: 2.25s; }

@keyframes pulse-grid {
    0%, 25%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    12.5% { 
        transform: scale(1.15);
        opacity: 0.8;
    }
}

/* Disable all animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hour-hand,
    .minute-hand,
    .eye-blink,
    .lightning-bolt,
    .grid-square {
        animation: none !important;
    }
}

.impact-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--surface);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .impact-heading {
        font-size: 1.625rem;
    }
}

.impact-heading-small {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.impact-subheading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}

.impact-description {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto;
    max-width: 28ch;
}

/* ============================================
   Built For Section
   ============================================ */
.built-for-section {
    padding: 4rem 0;
    background: var(--bg);
}

@media (min-width: 768px) {
    .built-for-section {
        padding: 6rem 0;
    }
}

.built-for-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 968px) {
    .built-for-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.built-for-content {
    max-width: 540px;
}

.built-for-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .built-for-title {
        font-size: 2.25rem;
    }
}

.built-for-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 1rem;
}

.built-for-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.built-for-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.built-for-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.built-for-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card-large {
    grid-column: 1 / -1;
}

.stat-card-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .stat-card-row {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
}

.stat-card .stat-image {
    aspect-ratio: 5/3;
}

.stat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.stat-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card-row .stat-card .stat-number {
    font-size: 1.75rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.stat-card-row .stat-card .stat-label {
    font-size: 0.9375rem;
}

.stat-description {
    font-size: 0.9375rem;
    color: #FFFFFF;
    line-height: 1.5;
    max-width: 600px;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    padding: 4rem 0;
    background: var(--bg);
}

@media (min-width: 768px) {
    .pricing-section {
        padding: 6rem 0;
    }
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 968px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.pricing-card {
    background: var(--surface);
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card-popular {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
}

.pricing-card-best {
    border-color: var(--brand-deep);
    box-shadow: 0 8px 24px rgba(49, 0, 114, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-badge-best {
    background: linear-gradient(135deg, var(--brand-deep) 0%, #5B21B6 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E2E8F0;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-amount .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--muted);
    margin-left: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9375rem;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.check-icon {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 0.125rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 4rem 0;
    background: var(--surface);
}

@media (min-width: 768px) {
    .faq-section {
        padding: 6rem 0;
    }
}

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

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition);
    min-height: 44px;
}

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

.faq-question:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--brand-primary);
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 4rem 0;
    background: var(--bg);
}

@media (min-width: 768px) {
    .about-section {
        padding: 5rem 0;
    }
}

.about-content {
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-primary) 50%, #6366F1 100%);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        gap: 1rem;
    }
}

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

.cta-actions .btn-primary:hover,
.cta-actions .btn-primary:focus {
    background: var(--bg);
}

.cta-actions .btn-outline {
    border-color: white;
    color: white;
}

.cta-actions .btn-outline:hover,
.cta-actions .btn-outline:focus {
    background: white;
    color: var(--brand-primary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 4rem 0;
    background: white;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.form-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1E293B;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1.125rem;
    border: 2px solid #CBD5E1;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: #F8FAFC;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #94A3B8;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.contact-form button[type="submit"] {
    margin-top: 1rem;
    align-self: flex-start;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, var(--brand-deep) 0%, var(--text-primary) 100%);
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .site-footer {
        padding: 4rem 0 2rem;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-column a:hover,
.footer-column a:focus {
    color: white;
}

.footer-legal {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-legal p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}
