/* ColorHunt Palette Variables */
:root {
    --cream-light: #FFF2E0;
    --blue-pale: #C0C9EE;
    --lavender-blue: #A2AADB;
    --periwinkle: #898AC4;
    --text-dark: #000000;
    --text-light: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream-light);
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Header Styles */
.header {
    background: var(--cream-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 0;
}

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

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

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

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo-link h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

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

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

.btn-login {
    background: transparent;
    color: var(--periwinkle);
    border: 2px solid var(--periwinkle);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--periwinkle);
    color: var(--text-light);
}

.btn-register {
    background: var(--periwinkle);
    color: var(--text-light);
    border: 2px solid var(--periwinkle);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: var(--lavender-blue);
    border-color: var(--lavender-blue);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--periwinkle);
    color: var(--text-light);
    border-color: var(--periwinkle);
}

.btn-primary:hover {
    background: var(--lavender-blue);
    border-color: var(--lavender-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(137, 138, 196, 0.4);
}

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

.btn-outline:hover {
    background: var(--periwinkle);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    background: var(--periwinkle);
    color: var(--text-light);
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* About Section */
.about-section {
    background: var(--cream-light);
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    background: var(--blue-pale);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--cream-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Auth Section */
.auth-section {
    background: var(--cream-light);
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.auth-card {
    background: var(--lavender-blue);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--periwinkle);
}

.auth-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.auth-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Security Section */
.security-section {
    background: var(--blue-pale);
}

.security-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: var(--cream-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.security-item h3 {
    color: var(--periwinkle);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background: var(--cream-light);
}

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

.faq-item {
    background: var(--lavender-blue);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--periwinkle);
}

.faq-item h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.faq-item a {
    color: var(--text-light);
    text-decoration: underline;
}

.faq-item a:hover {
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    background: var(--periwinkle);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--periwinkle);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--lavender-blue);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
    opacity: 0.8;
}

/* Responsive Design */

/* iPad and Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .security-content {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .register-section .container,
    .login-section .container {
        gap: 3rem;
    }
}

/* iPad Portrait and Large Mobile (768px and below) */
@media (max-width: 768px) {
    /* Header and Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cream-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.3s ease forwards;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    
    .nav-menu a {
        font-size: 1.2rem;
        font-weight: 600;
        padding: 1rem 0;
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-register {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        animation: slideInUp 0.3s ease 0.4s forwards;
        display: flex;
        gap: 1rem;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2.2rem;
    }
    
    section h3 {
        font-size: 1.4rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Auth Section */
    .auth-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    /* Security Section */
    .security-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-item {
        padding: 1.5rem;
    }
    
    /* FAQ Section */
    .faq-item {
        padding: 1.2rem;
    }
    
    /* CTA Section */
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Register and Login Sections */
    .register-section,
    .login-section {
        padding: 3rem 0;
    }
    
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .register-intro,
    .login-intro {
        text-align: center;
    }
    
    .register-actions,
    .login-actions {
        text-align: center;
    }
    
    .steps-container {
        margin-bottom: 1.5rem;
    }
    
    .step-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .login-benefits {
        padding: 1.2rem;
    }
    
    /* Register Visual Images */
    .register-visual {
        gap: 1.2rem;
        padding: 1.5rem 0;
    }
    
    .register-img {
        max-width: 250px;
    }
    
    /* Login Visual Images */
    .login-visual {
        gap: 1.2rem;
        padding: 1.5rem 0;
    }
    
    .login-img {
        max-width: 250px;
    }
    
    /* Phone Mockups */
    .phone-mockups {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        overflow-x: auto;
        padding: 1rem 0;
    }
    
    .phone-mockup {
        width: 160px;
        height: 320px;
        flex-shrink: 0;
    }
    
    .phone-mockup-single {
        width: 200px;
        height: 400px;
    }
    
    .phone-screen {
        padding: 15px;
    }
    
    .app-header {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .form-field {
        margin-bottom: 12px;
    }
    
    .form-field label {
        font-size: 0.85rem;
    }
    
    .form-field input {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .app-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-link h1 {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .hero {
        padding: 2.5rem 0;
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    section h2 {
        font-size: 1.9rem;
    }
    
    section h3 {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .auth-card {
        padding: 1.2rem;
    }
    
    .security-item {
        padding: 1.2rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .register-section,
    .login-section {
        padding: 2.5rem 0;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 1.8rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.3rem;
    }
    
    .step-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .step-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        align-self: center;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .login-benefits {
        padding: 1rem;
    }
    
    .phone-mockup {
        width: 140px;
        height: 280px;
    }
    
    .phone-mockup-single {
        width: 180px;
        height: 360px;
    }
    
    .phone-screen {
        padding: 12px;
    }
    
    .app-header {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .form-field {
        margin-bottom: 10px;
    }
    
    .form-field label {
        font-size: 0.8rem;
    }
    
    .form-field input {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    .app-btn {
        padding: 8px;
        font-size: 0.85rem;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .nav-container {
        padding: 0.6rem 0.8rem;
    }
    
    .logo-link h1 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 45vh;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    section h2 {
        font-size: 1.7rem;
    }
    
    section h3 {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-img {
        width: 60px;
        height: 60px;
    }
    
    .auth-card {
        padding: 1rem;
    }
    
    .security-item {
        padding: 1rem;
    }
    
    .faq-item {
        padding: 0.8rem;
    }
    
    .register-section,
    .login-section {
        padding: 2rem 0;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 1.6rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.2rem;
    }
    
    .register-intro,
    .login-intro {
        font-size: 1rem;
    }
    
    .step-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .step-content h4 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .login-benefits {
        padding: 0.8rem;
    }
    
    .login-benefits h4 {
        font-size: 1.1rem;
    }
    
    .login-benefits li {
        font-size: 0.9rem;
    }
    
    .register-img {
        max-width: 200px;
    }
    
    .login-img {
        max-width: 200px;
    }
    
    .phone-mockup {
        width: 120px;
        height: 240px;
    }
    
    .phone-mockup-single {
        width: 160px;
        height: 320px;
    }
    
    .phone-screen {
        padding: 10px;
    }
    
    .app-header {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .form-field {
        margin-bottom: 8px;
    }
    
    .form-field label {
        font-size: 0.75rem;
    }
    
    .form-field input {
        padding: 4px 6px;
        font-size: 0.75rem;
    }
    
    .app-btn {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    .modal-header {
        font-size: 1rem;
    }
    
    .modal-content p {
        font-size: 0.8rem;
    }
    
    .modal-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.6rem;
    }
    
    .nav-container {
        padding: 0.5rem 0.6rem;
    }
    
    .logo-link h1 {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    section h3 {
        font-size: 1.1rem;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 1.4rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.1rem;
    }
    
    .step-item {
        padding: 0.6rem;
    }
    
    .step-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .register-img {
        max-width: 150px;
    }
    
    .login-img {
        max-width: 150px;
    }
    
    .phone-mockup {
        width: 100px;
        height: 200px;
    }
    
    .phone-mockup-single {
        width: 140px;
        height: 280px;
    }
    
    .phone-screen {
        padding: 8px;
    }
    
    .app-header {
        font-size: 0.8rem;
    }
    
    .form-field label {
        font-size: 0.7rem;
    }
    
    .form-field input {
        padding: 3px 5px;
        font-size: 0.7rem;
    }
    
    .app-btn {
        padding: 5px;
        font-size: 0.75rem;
    }
}

/* Page-specific responsive styles */
@media (max-width: 768px) {
    /* About Us Page */
    .mission, .vision {
        padding: 1.5rem;
    }
    
    .value-item {
        padding: 1.2rem;
    }
    
    .team-section {
        padding: 2rem 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .team-member {
        padding: 1.2rem;
    }
    
    /* Support Page */
    .support-content {
        padding: 2rem 0;
    }
    
    .support-method {
        padding: 1.2rem;
    }
    
    .topic-category {
        padding: 1rem;
    }
    
    .resource-item {
        padding: 1rem;
    }
    
    /* Privacy Policy & Terms Pages */
    .privacy-content,
    .policies-content {
        padding: 2rem 0;
    }
    
    .privacy-section,
    .policy-section {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .privacy-section h3,
    .policy-section h3 {
        font-size: 1.3rem;
    }
    
    .privacy-section h4,
    .policy-section h4 {
        font-size: 1.1rem;
    }
    
    /* Contact Info */
    .contact-info {
        padding: 1.2rem;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* About Us Page */
    .mission, .vision {
        padding: 1rem;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .team-member {
        padding: 1rem;
    }
    
    /* Support Page */
    .support-method {
        padding: 1rem;
    }
    
    .topic-category {
        padding: 0.8rem;
    }
    
    .resource-item {
        padding: 0.8rem;
    }
    
    /* Privacy Policy & Terms Pages */
    .privacy-section,
    .policy-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .privacy-section h3,
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section h4,
    .policy-section h4 {
        font-size: 1rem;
    }
    
    .privacy-section ul,
    .policy-section ul {
        padding-left: 1rem;
    }
    
    .privacy-section li,
    .policy-section li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Contact Info */
    .contact-info {
        padding: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.2rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
}

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

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: eager; /* Changed from lazy to eager for above-the-fold images */
}

/* Critical images should load immediately */
.hero-img,
.logo-img,
.register-img,
.login-img {
    loading: eager;
}

/* Non-critical images can be lazy loaded */
.feature-img,
.team-member img,
.support-method img {
    loading: lazy;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--periwinkle);
    outline-offset: 2px;
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

/* Preload critical resources */
.hero {
    contain: layout style paint;
}

/* Optimize font loading */
@font-face {
    font-family: 'System Font';
    font-display: swap;
}

/* Reduce layout shifts */
img {
    aspect-ratio: attr(width) / attr(height);
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Page-specific styles */
.page-header {
    background: var(--periwinkle);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* About page styles */
.about-content {
    background: var(--cream-light);
}

.about-intro {
    margin-bottom: 3rem;
}

.about-intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.mission, .vision {
    background: var(--lavender-blue);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--periwinkle);
    color: var(--text-light);
}

.values {
    margin: 3rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--cream-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.value-item h4 {
    color: var(--periwinkle);
    margin-bottom: 1rem;
}

.team-section {
    background: var(--blue-pale);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

/* Privacy Policy and Terms styles */
.privacy-content, .terms-content, .disclaimer-content {
    background: var(--cream-light);
}

.privacy-intro, .terms-intro, .disclaimer-intro {
    margin-bottom: 3rem;
}

.privacy-intro p, .terms-intro p, .disclaimer-intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.privacy-section, .terms-section, .disclaimer-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--lavender-blue);
    border-radius: 10px;
    border-left: 4px solid var(--periwinkle);
    color: var(--text-light);
}

.privacy-section h3, .terms-section h3, .disclaimer-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.privacy-section h4, .terms-section h4, .disclaimer-section h4 {
    color: var(--text-light);
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-section ul, .terms-section ul, .disclaimer-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li, .terms-section li, .disclaimer-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--cream-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Support page styles */
.support-content {
    background: var(--cream-light);
}

.support-intro {
    margin-bottom: 3rem;
}

.support-intro p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.support-methods {
    margin: 3rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-method {
    background: var(--lavender-blue);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--periwinkle);
    color: var(--text-light);
}

.support-method h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.support-topics {
    margin: 3rem 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.topic-category {
    background: var(--cream-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.topic-category h4 {
    color: var(--periwinkle);
    margin-bottom: 1rem;
}

.topic-category ul {
    list-style: none;
    padding: 0;
}

.topic-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.topic-category li:last-child {
    border-bottom: none;
}

.support-resources {
    margin: 3rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-item {
    background: var(--lavender-blue);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
}

.resource-item h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.support-policies {
    margin: 3rem 0;
}

.policies-content {
    background: var(--blue-pale);
    padding: 2rem;
    border-radius: 10px;
}

.policies-content h4 {
    color: var(--periwinkle);
    margin: 1.5rem 0 0.5rem 0;
}

.support-contact {
    margin: 3rem 0;
    text-align: center;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Active navigation link */
.nav-menu .active {
    color: var(--periwinkle);
    font-weight: 600;
}

/* Register Section */
.register-section {
    background: var(--cream-light);
    padding: 4rem 0;
}

.register-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.register-content h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.register-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.register-content h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
}

.steps-container {
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--lavender-blue);
    border-radius: 12px;
    border-left: 4px solid var(--periwinkle);
    transition: transform 0.3s ease;
}

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

.step-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--periwinkle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.step-content h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.register-actions {
    text-align: left;
}

.register-note {
    margin-top: 1rem;
    color: var(--text-dark);
}

.register-note a {
    color: var(--periwinkle);
    text-decoration: none;
    font-weight: 600;
}

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

/* Register Visual - Images */
.register-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.register-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.register-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.phone-mockups {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: #333;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.app-header {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.form-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
}

.app-btn {
    width: 100%;
    padding: 12px;
    background: var(--periwinkle);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.welcome-modal {
    background: var(--periwinkle);
    color: var(--text-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-header {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.modal-content p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.modal-btn {
    background: var(--text-light);
    color: var(--periwinkle);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
}

/* Login Section */
.login-section {
    background: var(--blue-pale);
    padding: 4rem 0;
}

.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.login-content h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.login-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.login-content h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
}

.login-benefits {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--cream-light);
    border-radius: 12px;
    border-left: 4px solid var(--periwinkle);
}

.login-benefits h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.login-benefits ul {
    list-style: none;
    padding: 0;
}

.login-benefits li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.login-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--periwinkle);
    font-weight: bold;
}

.login-actions {
    text-align: left;
}

.login-note {
    margin-top: 1rem;
    color: var(--text-dark);
}

.login-note a {
    color: var(--periwinkle);
    text-decoration: none;
    font-weight: 600;
}

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

/* Login Visual - Image */
.login-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.login-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.login-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.phone-mockup-single {
    width: 250px;
    height: 500px;
    background: #333;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: var(--periwinkle);
    border-bottom-color: var(--periwinkle);
    font-weight: 600;
}

.forgot-password {
    text-align: right;
    margin-bottom: 15px;
}

.forgot-password a {
    color: var(--periwinkle);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-btn {
    background: var(--periwinkle);
    color: var(--text-light);
}

.register-btn {
    background: transparent;
    color: var(--periwinkle);
    border: 1px solid var(--periwinkle);
}

.app-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.footer-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #666;
}

.footer-icon span:first-child {
    color: var(--periwinkle);
}

/* Print styles */
@media print {
    .nav-actions,
    .hero-actions,
    .cta-actions,
    .footer-actions {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .cta-section {
        background: white;
        color: black;
    }
    
    .page-header {
        background: white;
        color: black;
    }
}
