/* Global Styles */
:root {
    /* Modern Mauve & Slate Palette (from Diti) */
    --primary-color: #8C587C;
    /* Mauve */
    --primary-dark-color: #5A3F57;
    /* Deep plum */
    --primary-light-color: #BFA6B8;
    /* Dusty lilac */
    --secondary-color: #5E7A99;
    /* Dusty blue-grey */

    --dark-color: #2B2B2B;
    /* Rich charcoal for text */
    --light-color: #F4F1F2;
    /* Warm off-white background */
    --gray-color-text: #6B6B6B;
    --light-gray-border: #E5E7EB;
    --white-color: #FFFFFF;

    /* Extended Gray Scale (from Diti) */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;

    /* Functional Colors (from Diti) */
    --red-500: #EF4444;
    --red-600: #DC2626;
    --indigo-50: #EEF2FF;
    --indigo-100: #E0E7FF;

    /* Shadows */
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);

    /* Radius & Font */
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-full: 9999px;
    --font-sans: 'Inter', sans-serif;

    /* New gentle tints for section backgrounds (from Diti) */
    --tint-hero: #F7F3F6;
    /* very light mauve */
    --tint-accent: #EDE7EF;
    /* soft lilac wash */
    --chip-accent: #D8C6D3;
    /* pale mauve for pills/circles */

    /* Extra accents retained for compatibility (unused in Diti) */
    --warm-accent: #E7CBA9;
    --cool-accent: #5E7A99;
    --highlight-accent: #D98E9C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    /* Standardized font */
    line-height: 1.6;
    /* from style.css, 1.5 in albums.css, 1.6 is fine */
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    /* Changed from inherit to primary for clearer links */
}

a:hover {
    text-decoration: underline;
}


ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Container from albums.css */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    /* style.css has 1.5rem, albums.css has 1rem. Using 1rem from albums.css */
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* style.css had 1200px, albums.css had 1024px. Combining */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

/* Max width from style.css */


/* Typography from style.css (h1-h6) and albums.css (helper classes) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

/* Retain more specific h sizes if needed from style.css */

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Typography helpers from albums.css */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Buttons - combining style.css decorative and albums.css base */
.btn {
    display: inline-flex;
    /* To align icon and text - from albums.css */
    align-items: center;
    /* from albums.css */
    justify-content: center;
    /* from albums.css */
    padding: 0.75rem 1.5rem;
    /* from style.css */
    border-radius: var(--border-radius-lg);
    /* from albums.css, style.css has 0.5rem, this is same */
    font-weight: 600;
    /* from style.css */
    text-align: center;
    transition: all 0.3s ease;
    /* from style.css */
    cursor: pointer;
    font-size: 1rem;
    /* from style.css */
    border: 1px solid transparent;
    /* from albums.css */
    line-height: 1.25rem;
    /* from albums.css */
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* from albums.css */
.btn-md {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* from albums.css */


.btn-primary {
    /* style.css version with gradient */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: var(--white-color);
    border: none;
}

.btn-primary:hover {
    /* style.css version with transform */
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--primary-dark-color), var(--primary-color));
    /* Slight change on hover */
}

.btn-secondary {
    /* from albums.css, good for login button */
    /* color: var(--primary-color); */
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    ;
    border-color: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    ;
    /* border-color: var(--primary-color); Or var(--light-gray-border) */
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


.btn-outline {
    /* from style.css */
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    /* align with Diti */
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-neutral {
    /* from albums.css */
    color: var(--gray-700);
    background-color: var(--gray-100);
    border-color: var(--gray-100);
}

.btn-neutral:hover {
    background-color: var(--gray-200);
}

.btn-danger-outline {
    /* from albums.css */
    color: var(--red-600);
    background-color: transparent;
    border-color: var(--red-500);
}

.btn-danger-outline:hover {
    background-color: var(--red-500);
    color: var(--white-color);
}


.btn-large {
    /* from style.css */
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    /* from style.css */
    display: block;
    width: 100%;
}

.btn-full-width {
    display: block;
    width: 100%;
}

/* from albums.css, alias */
.btn-margin-bottom {
    margin-bottom: 0.5rem;
}

/* For mobile auth buttons - from albums.css */

/* Icons inside buttons/links from albums.css */
.icon-prefix {
    margin-right: 0.5rem;
}

.icon-suffix {
    margin-left: 0.5rem;
}


/* === NEW HEADER & NAVIGATION STYLES (from albums.css) === */
.header-main {
    background-color: var(--light-color);
    /* Updated to use new warm off-white */
    backdrop-filter: blur(10px);
    /* style.css */
    box-shadow: var(--shadow-md);
    /* albums.css, style.css has 0 1px 3px rgba(0,0,0,0.1) */
    position: sticky;
    top: 0;
    z-index: 1000;
    /* style.css had 1000, albums.css had 50. 1000 is safer. */
    padding: 1rem 0;
    /* from style.css */
}

/* .header-container intentionally inherits from .container */

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding-top/bottom handled by header-main */
}

.header-logo img {
    height: 4rem;
    /* from albums.css */
    /* style.css .logo img had width: 30%, height: 50% - height: 2.5rem is more specific */
}

.header-logo span {
    /* From old .logo span */
    color: var(--primary-color);
}


.nav-links-desktop {
    display: none;
}

/* Hidden on mobile */
@media (min-width: 768px) {

    /* md breakpoint */
    .nav-links-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
        /* from style.css .nav-links ul, albums.css had margin-left on child */
    }
}

.nav-link-item {
    /* Combines albums.css .nav-link-item and style.css .nav-links a */
    font-weight: 500;
    /* from style.css .nav-links a */
    position: relative;
    /* for pseudo-element */
    color: black;
    /* from albums.css */
    padding: 0.5rem 0.25rem;
    transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    border-bottom: 2px solid transparent;
    /* from albums.css */
    text-decoration: none;
}

.nav-link-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-link-item.active {
    color: var(--primary-color);
    font-weight: var(--font-semibold);
    /* from albums.css */
    border-bottom-color: var(--primary-color);
    /* from albums.css */
}

/* Underline effect from original style.css .nav-links a:after */
.nav-link-item:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    /* Adjust if border-bottom is used for active state */
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link-item:hover:after {
    width: 100%;
}

.nav-link-item.active:after {
    /* Prevent hover underline if active and already underlined by border */
    width: 0;
}


.auth-links-desktop {
    display: none;
}

/* Hidden on mobile */
@media (min-width: 768px) {

    /* md breakpoint */
    .auth-links-desktop {
        display: flex;
        align-items: center;
        position: relative;
        /* For profile dropdown */
        gap: 1rem;
        /* from style.css .nav-buttons */
    }
}

/* Hamburger Menu from albums.css and style.css */
.hamburger-menu-container {
    display: block;
}

@media (min-width: 768px) {
    .hamburger-menu-container {
        display: none;
    }
}

.hamburger-button {
    color: var(--dark-color);
    background: none;
    border: none;
    font-size: 1.5rem;
    /* For Font Awesome icon size, style.css uses 1.25rem, larger is fine */
    cursor: pointer;
    padding: 0.5rem;
    /* style.css hamburger had flex, width, height. This is simpler for an icon button */
}

.hamburger-button:focus {
    outline: none;
}

/* Icon toggling handled by JS, already in albums.css JS part of gloabal_auth.js */


/* Mobile Navigation Menu from albums.css */
.mobile-nav-menu {
    display: none;
    background-color: var(--white-color);
    box-shadow: var(--shadow-lg);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* Position absolute and other styles if it's a dropdown from style.css .nav-links.active */
    position: absolute;
    top: 100%;
    /* Assuming header-main has padding that gives it enough height */
    left: 0;
    right: 0;
    z-index: 999;
    /* Below header's 1000 */
}

.mobile-nav-menu.active,
.mobile-nav-menu:not(.hidden) {
    /* JS toggles 'hidden' or 'active' */
    display: block;
}

@media (min-width: 768px) {
    .mobile-nav-menu {
        display: none !important;
    }
}

.nav-link-item-mobile {
    display: block;
    padding: 0.75rem 1.5rem;
    /* style.css .nav-links.active ul had gap, this is direct padding */
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    text-decoration: none;
}

.nav-link-item-mobile:hover {
    background-color: var(--indigo-50);
    color: var(--primary-color);
    text-decoration: none;
}

.nav-link-item-mobile.active {
    background-color: var(--indigo-100);
    color: var(--primary-color);
    font-weight: var(--font-semibold);
}

.mobile-auth-section {
    padding: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

/* Profile Dropdown from albums.css */
.profile-dropdown {
    position: relative;
}

.profile-dropdown-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-full);
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.profile-dropdown-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--white-color), 0 0 0 4px var(--primary-light-color);
}

.profile-initials-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.profile-dropdown-button img,
.profile-initials-avatar img,
.profile-initials-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.profile-dropdown-menu {
    /* display: none; JS toggles 'hidden' class */
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    width: 16rem;
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: 1050;
    /* Higher than header */
    border: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.profile-dropdown-menu.active,
.profile-dropdown-menu:not(.hidden) {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

/* General hidden utility */


.profile-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.profile-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.profile-initials-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-full);
    font-size: 1.25rem;
    font-weight: 600;
    margin-right: 0.75rem;
    padding: 0;
    overflow: hidden;
}

.profile-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.125rem;
}

.profile-user-email {
    font-size: 0.75rem;
    color: var(--gray-color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-manage-link {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--primary-color);
    padding-top: 0.25rem;
}

.profile-manage-link:hover {
    text-decoration: underline;
}

.profile-dropdown-section {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.profile-dropdown-footer {
    border-top: 1px solid var(--gray-200);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.profile-dropdown-item:hover {
    background-color: var(--indigo-50);
    color: var(--primary-color);
    text-decoration: none;
}

.profile-dropdown-item.logout-link:hover {
    color: var(--red-600);
    /* albums.css had this, but text was already red. Keeping for consistency */
}

/* Profile info for mobile menu from albums.css */
.profile-user-info-mobile {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
}

.profile-initials-avatar-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    font-weight: 600;
    margin-right: 0.75rem;
    padding: 0;
    overflow: hidden;
}

.profile-user-name-sm {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-color);
}

.profile-user-email-sm {
    font-size: 0.75rem;
    color: var(--gray-color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === END OF NEW HEADER & NAVIGATION STYLES === */


/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #feeedf;
    /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(16, 185, 129, 0.05)); */
    z-index: -1;
}

.hero .container {
    /* style.css has grid, albums.css does not target this for hero */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-color-text);
    /* from var */
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    color: var(--gray-color-text);
    font-size: 0.875rem;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Before-After Slider */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: ew-resize;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image {
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

.after-image {
    z-index: 1;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: white;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.slider-button i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* Features Section (from style.css) */
.features {
    padding: 6rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--gray-color-text);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color-text);
}

/* Simpler Section (Techno Features) */
.simpler-section {
    background-color: #feeedf;
    padding: 30px 5px;
}

/* .simpler-section .container { background-color: #BE9364; color: black; text-align: center; padding: 80px 20px; } */

.simpler-section .container {
    padding: 6rem 0;
    background-color: white;
    text-align: center;
    border-radius: 1rem;
    /* Adjust the value as needed */
}

/* from style.css */
.simpler-section .section-title {
    font-size: 3.5rem;
    color: white;
}

/* from style.css */
.simpler-section .section-subtitle {
    font-size: 1.5rem;
    color: white;
    line-height: 1.4;
}

/* from style.css */

/* .simpler-section .section-title { font-size: 3.1rem; font-weight: 600; margin-bottom: 16px; font-family: 'Orbitron', sans-serif; letter-spacing: 2px; } */
.simpler-section .section-subtitle {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.5;
    color: white;
}

.features-circles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.feature-circle {
    background-color: #cba57c;
    border-radius: 50%;
    width: 260px;
    height: 260px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    text-align: center;
    gap: 12px;
}

.feature-circle .icon {
    font-size: 32px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-circle h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white
}

.feature-circle p {
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
    max-width: 100%;
}


/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: #feeedf;
}

/* Updated background from style.css */
.how-it-works .section-header h2 {
    font-size: 5rem;
    color: black;
    font-weight: 600;
}

/* from style.css */
.how-it-works .section-header p {
    font-size: 1.5rem;
    color: black;
    line-height: 1.4;
}

/* from style.css */
.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.step:nth-child(even) {
    grid-template-areas: "number content image";
}

.step:nth-child(odd) {
    grid-template-areas: "number image content";
}

.step-number {
    grid-area: number;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.step-content {
    grid-area: content;
}

.step:nth-child(odd) .step-content {
    grid-area: content;
}

.step-image {
    grid-area: image;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.step:nth-child(odd) .step-image {
    grid-area: image;
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: black;
    font-weight: 400;
}

/* from style.css */
.step-content p {
    font-size: 0.8rem;
    color: black;
    line-height: 1.4;
}

/* from style.css */

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: white;
}

.pricing .section-header h2 {
    font-size: 5rem;
    color: #060606;
    font-weight: 600;
}

/* from style.css */
.pricing .section-header p {
    font-size: 1.5rem;
    color: #050505;
    line-height: 1.4;
}

/* from style.css */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-200);
    transition: .4s;
}

/* var from albums.css */
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(30px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.save-badge {
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--light-color);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    box-shadow: var(--shadow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.price .period {
    font-size: 1rem;
    color: var(--gray-color-text);
    margin-left: 0.25rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--secondary-color);
}

.pricing-features .disabled {
    color: var(--gray-color-text);
    text-decoration: line-through;
}

.pricing-features .disabled i {
    color: var(--gray-color-text);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: #feeedf;
}

/* from style.css */
.testimonials .container {
    padding: 6rem 0;
    background-color: white;
    border-radius: 1rem;
    /* Adjust the value as needed */
}

/* from style.css */
.testimonials .section-header h2 {
    font-size: 3.5rem;
    color: white;
}

/* from style.css */
.testimonials .section-header p {
    font-size: 1.5rem;
    color: white;
    line-height: 1.4;
}

/* from style.css */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-content {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-color);
}

/* Ensure text color is for light bg */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: white;
}

/* Ensure text color */
.author-info p {
    color: white;
    font-size: 0.875rem;
}

.testimonial-rating {
    color: #FFD700;
    margin-left: auto;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-gray-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}


/* Secure Albums Section (Home Page Version) */
.secure-albums {
    padding: 6rem 0;
    background-color: white;
}

.secure-albums .section-header h2 {
    font-size: 5rem;
    color: white;
    font-weight: 600;
}

/* from style.css */
.secure-albums .section-header p {
    font-size: 1.5rem;
    color: white;
    line-height: 1.4;
}

/* from style.css */
.album-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Not albums-container */
.album-info h3 {
    margin-bottom: 1.5rem;
}

.album-info p {
    color: var(--gray-color-text);
    margin-bottom: 2rem;
}

.album-features {
    margin-bottom: 2rem;
}

.album-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.album-feature:last-child {
    margin-bottom: 0;
}

.album-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    margin-bottom: 0;
}

/* Uses .feature-icon defined earlier */
.album-feature h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.album-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.album-demo {
    background-color: var(--light-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.album-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray-color-text);
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* .album-card defined later for album listing page, this is a demo card */
.album-demo .album-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.album-demo .album-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-gray-border);
}

.album-demo .album-header h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.album-demo .album-thumbnail {
    position: relative;
}

.album-demo .album-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.album-demo .album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.album-demo .album-lock {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.album-demo .album-form {
    padding: 1.5rem;
}

.album-demo .album-form p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.album-demo .password-input {
    display: flex;
    gap: 1rem;
}

.album-demo .password-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray-border);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.album-demo .access-btn,
.album-demo .scan-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-demo .access-btn:hover,
.album-demo .scan-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.camera-placeholder {
    background-color: var(--light-gray-border);
    height: 160px;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.camera-placeholder i {
    font-size: 2.5rem;
    color: var(--gray-color-text);
    margin-bottom: 1rem;
}

.camera-placeholder p {
    margin-bottom: 0;
    color: var(--gray-color-text);
}

.album-demo .scan-btn {
    width: 100%;
}

.album-verification {
    padding: 2rem 1.5rem;
    text-align: center;
}

.verification-animation {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.album-success {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: white;
}

.album-success-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.success-animation {
    font-size: 4rem;
    color: var(--primary-color);
    /* Or white if on dark bg */
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
}

.success-animation.active {
    opacity: 1;
    transform: scale(1);
}

.album-success-content p {
    margin-bottom: 1.5rem;
}

.album-success-content .album-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.album-success-content .btn {
    margin-top: 1rem;
}


/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: #feeedf;
    color: rgb(4, 4, 4);
    text-align: center;
}

/* from style.css, was gradient */
.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: white;
    margin-bottom: 1rem;
}

/* Ensure it's primary button from style.css */
.cta-content .btn-primary:hover {
    background: var(--light-color);
    color: var(--primary-dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-small {
    font-size: 0.875rem !important;
    opacity: 0.8;
    margin-top: 1rem !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    ;
    color: white;
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-light-color);
}

.footer-logo p {
    max-width: 300px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    opacity: 0.7;
    transition: all 0.3s ease;
    color: var(--white-color);
}

/* Ensure link color */
.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--white-color);
}

/* Ensure icon color */
.social-links a:hover {
    background-color: var(--primary-light-color);
    transform: translateY(-3px);
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.875rem;
}

/* Animation - Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Forms styling from style.css (login form) and albums.css (general forms) */
/* General Form Styles from albums.css, integrated here */
/* .form-general serves as a hook for form layouts; no base styles required */
.form-general>.form-group+.form-group {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    /* Combined from .form-input and .form-group textarea */
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    height: 2.507em;
    max-width: 100%;
    padding: 0 .75em;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #495057;
    /* from style.css .form-group input */
    font-family: inherit;
    /* from style.css .form-group input */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-select {
    /* Keep specific select styling from albums.css */
    appearance: none;
    background-color: var(--white-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-input-file {
    /* from albums.css */
    display: block;
    width: 100%;
    font-size: 0.875rem;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    padding: 0.1rem;
    /* Adjust padding for file input */
}

.form-input-file::file-selector-button {
    margin-right: 1rem;
    padding: 0.65rem 1rem;
    /* Adjusted from 0.5rem to match other inputs better */
    border-radius: var(--border-radius-lg);
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--indigo-50);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.form-input-file:hover::file-selector-button {
    background-color: var(--indigo-100);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.form-actions>.btn+.btn {
    margin-left: 0.75rem;
}

.form-actions-start {
    justify-content: flex-start;
}

/* Login Form specific styles from style.css */
.login-form {
    width: 380px;
    margin: 0 auto;
    font-size: 15px;
}

.login-form h2 {
    margin: 0;
    padding: 30px 0;
    font-size: 34px;
}

.login-form .avatar {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 9;
    background: #ef3b3a;
    padding: 15px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.login-form .avatar img {
    width: 100%;
}

.login-form form {
    color: #7a7a7a;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.login-form .btn,
.login-form .btn:active {
    font-weight: bold;
    background: #ef3b3a !important;
    border: none;
    margin-bottom: 20px;
}

/* This might conflict with general .btn, be careful */
.login-form .btn:hover,
.login-form .btn:focus {
    background: #ed2121 !important;
}

.login-form a {
    color: #ef3b3a;
}

.login-form form a {
    color: #ef3b3a;
}

.login-form a:hover,
.login-form form a:hover {
    text-decoration: underline;
}

.hint-text {
    color: #999;
    text-align: center;
}

/* .form-footer from style.css for login/signup pages */
.forms-wrapper .form-footer {
    padding-bottom: 15px;
    text-align: center;
}

/* Signup/Login page specific structure from style.css */
.forms-wrapper {
    margin-top: 5rem;
    display: flex;
    width: 800px;
    max-width: 95%;
    height: auto;
    min-height: 650px;
    background-color: rgb(4, 4, 4);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.forms-container {
    width: 100%;
    max-width: 450px;
}

.form-container {
    transition: all 0.6s ease;
    width: 100%;
}

.form-container h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: #fefafa;
    font-weight: 600;
}

.form-container p {
    margin-bottom: 1.5rem;
    color: #fffbfb;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e1e1e1;
    background-color: white;
    color: var(--dark-color);
}

.social-btn i {
    margin-right: 0.5rem;
}

.social-btn.google i {
    color: #DB4437;
}

.social-btn.apple i {
    color: #000;
}

.social-btn:hover {
    background-color: #f5f5f5;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.85rem;
}

/* Color from #777 to #ccc for dark bg */
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #555;
}

/* Border from #e1e1e1 to #555 */
.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: inline-block;
    width: 30%;
    min-width: 100px;
    margin-bottom: 0;
    text-align: left;
    font-size: 0.9rem;
    color: #fefcfc;
    font-weight: 500;
}

.input-group input {
    flex: 1 1 auto;
    width: auto;
    padding: 12px 15px;
    border: 1px solid #555;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

/* Adjusted for dark theme */
.input-group input:focus {
    border-color: #f4f4f6;
    box-shadow: 0 0 0 3px rgba(99, 90, 238, 0.15);
    background-color: #444;
}

.forms-wrapper .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #fefcfc;
}

/* Added color */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    color: #fefcfc;
}

/* Added color */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #555;
    border: 1px solid #888;
    border-radius: 4px;
    margin-right: 8px;
}

/* Adjusted for dark */
.checkbox-container:hover input~.checkmark {
    background-color: #666;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border: none;
}

/* Use primary color */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forms-wrapper .form-footer a {
    color: #f3f3f9;
    text-decoration: none;
}

.btn-sign {
    background-color: #635aee;
    color: white;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-sign:hover {
    background-color: #554ddb;
}

.switch-form {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #f7f4f4;
}

.switch-form a {
    color: #635aee;
    text-decoration: none;
    font-weight: 600;
}

.logsign {
    width: 100%;
    text-align: center;
    color: #fefcfc;
    font-size: 0.85rem;
    padding: 1.5rem 0;
    background-color: transparent;
    margin-top: 2rem;
}


/* Quote & legacy contact layout (Get a Quote) */
.container-contact {
    background-color: var(--light-color);
    padding: 3rem 1.5rem 2.5rem;
}

.container-contact h1 {
    padding-top: 0.5rem;
    font-size: 3rem;
    text-align: center;
    color: var(--dark-color);
}

.container-contact .header-subtitle {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--gray-color-text);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-info .icon {
    width: 44px;
    height: 44px;
    background-color: rgba(140, 88, 124, 0.14);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-color);
    font-size: 1.1rem;
}

.details h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.details p {
    margin: 0;
    color: var(--gray-color-text);
}

.social-media {
    margin-top: 2rem;
}

.social-media h3 {
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(140, 88, 124, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-color);
    transition: all 0.2s ease;
}

.social-icons .social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: #ffffff;
}

.contact-form {
    flex: 1.4;
    min-width: 280px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--dark-color);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--dark-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    font-size: 0.95rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(140, 88, 124, 0.18);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form .submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: #ffffff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.map-container h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.map-placeholder {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(140, 88, 124, 0.1);
}

.map-image {
    color: var(--gray-color-text);
    font-style: italic;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, rgba(140, 88, 124, 0.12), rgba(94, 122, 153, 0.12));
    padding: 6rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(140, 88, 124, 0.18), rgba(94, 122, 153, 0));
    top: -220px;
    right: -160px;
    filter: blur(4px);
    z-index: 0;
}

.contact-hero--compact {
    padding: 3.5rem 0 2.5rem;
    background: rgba(140, 88, 124, 0.05);
}

.contact-hero--compact::after {
    display: none;
}

.contact-hero--compact .hero-inner {
    max-width: 640px;
    gap: 1rem;
}

.contact-hero--compact h1 {
    font-size: clamp(2rem, 4.5vw, 2.5rem);
}

.contact-hero--compact p {
    font-size: 1.05rem;
}

.contact-hero .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(140, 88, 124, 0.12);
    color: var(--primary-dark-color);
}

.eyebrow-tag i {
    font-size: 0.85rem;
    color: var(--primary-dark-color);
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    color: var(--dark-color);
    margin: 0;
}

.contact-hero p {
    color: var(--gray-color-text);
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
}

.contact-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.metric-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    min-width: 260px;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    box-shadow: 0 30px 60px -30px rgba(140, 88, 124, 0.35);
    border: 1px solid rgba(140, 88, 124, 0.1);
}

.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: #ffffff;
    font-size: 1.1rem;
}

.metric-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.metric-copy {
    margin: 0;
    color: var(--gray-color-text);
    font-size: 0.95rem;
}

.contact-main {
    background: var(--light-color);
    padding: 5rem 0 5.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-layout>.eyebrow-tag {
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 24px 48px -28px rgba(43, 43, 43, 0.25);
    border: 1px solid rgba(140, 88, 124, 0.08);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 88, 124, 0.14);
    color: var(--primary-dark-color);
    font-size: 1.3rem;
}

.contact-lede {
    margin: 0;
    color: var(--gray-color-text);
    line-height: 1.6;
}

.contact-channel {
    display: flex;
    gap: 1.1rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(140, 88, 124, 0.1);
}

.contact-channel:first-of-type {
    border-top: none;
    padding-top: 0;
}

.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(140, 88, 124, 0.12);
    color: var(--primary-dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-channel h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.05rem;
    color: var(--dark-color);
}

.contact-channel p {
    margin: 0;
    color: var(--gray-color-text);
    font-size: 0.95rem;
}

.contact-channel a {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-dark-color);
    text-decoration: none;
}

.contact-channel a:hover {
    text-decoration: underline;
}

.contact-highlights {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--gray-color-text);
}

.contact-highlights li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.contact-highlights i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-social p {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.contact-social .social-icons {
    display: flex;
    gap: 0.75rem;
}

.contact-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(140, 88, 124, 0.12);
    color: var(--primary-dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.contact-social .social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    color: #ffffff;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 24px 42px -32px rgba(43, 43, 43, 0.35);
    border: 1px solid rgba(140, 88, 124, 0.08);
}

.contact-form-card h2 {
    margin-top: 0;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-form-subtext {
    margin: 0 0 1.75rem;
    color: var(--gray-color-text);
    line-height: 1.7;
}

.contact-form-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.form-field label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(140, 88, 124, 0.18);
}

.form-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(140, 88, 124, 0.6) 50%),
        linear-gradient(135deg, rgba(140, 88, 124, 0.6) 50%, transparent 50%);
    background-position: calc(100% - 1.2rem) calc(50% - 0.45rem),
        calc(100% - 0.95rem) calc(50% - 0.45rem);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.contact-form-body .form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.contact-form-card .btn-primary {
    padding: 0.9rem 2.25rem;
}

.contact-form-body .form-note {
    margin: 0;
    color: var(--gray-color-text);
    font-size: 0.9rem;
}

.contact-map {
    background: #ffffff;
    padding: 5rem 0;
}

.contact-map .container {
    display: flex;
    justify-content: center;
}

.map-card {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: 2.25rem;
    background: linear-gradient(135deg, rgba(44, 53, 63, 0.94), rgba(44, 53, 63, 0.85));
    border-radius: 28px;
    padding: 2.75rem;
    box-shadow: 0 24px 48px -28px rgba(43, 43, 43, 0.35);
    color: #ffffff;
    max-width: 1100px;
    margin: 0 auto;
}

.map-copy h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

.map-copy p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.map-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.map-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.map-badges i {
    font-size: 0.95rem;
}

.map-embed {
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    padding: 5rem 0;
    color: #ffffff;
}

.contact-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.contact-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline.btn-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.btn-outline.btn-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .map-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .metric-card {
        width: 100%;
    }

    .contact-card,
    .contact-form-card {
        padding: 1.75rem;
    }

    .contact-social {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-cta {
        padding: 4rem 1.5rem;
    }
}


/* Features.html specific "How it Works" */
.how-it-works-features {
    padding: 6rem 0;
    background: var(--light-color);
}

/* Adjusted background */
.section-header-features {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-features h2 {
    font-size: 5rem;
    color: var(--dark-color);
    font-weight: 600;
}

/* Adjusted color */
.section-header-features p {
    font-size: 1.5rem;
    color: var(--gray-color-text);
    line-height: 1.4;
}

/* Adjusted color */
.step-content-features h3 {
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: 400;
}

/* Adjusted color */
.step-content-features p {
    font-size: 0.8rem;
    color: var(--gray-color-text);
    line-height: 1.4;
}

/* Adjusted color */
.steps-features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-features {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.step-features:nth-child(even) {
    grid-template-areas: "number content image";
}

.step-features:nth-child(odd) {
    grid-template-areas: "number image content";
}

.step-number-features {
    grid-area: number;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.step-content-features {
    grid-area: content;
}

.step-features:nth-child(odd) .step-content-features {
    grid-area: content;
}

.step-image-features {
    grid-area: image;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.step-features:nth-child(odd) .step-image-features {
    grid-area: image;
}


/* Albums page main content structure (placeholder from style.css, real styles in albums.css) */
.albums-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--dark-color);
    margin-top: 5rem;
}

.album-card {
    /* This is for the album list on home page, might be different from albums page cards */
    margin-top: 2rem;
    background-color: rgb(250, 247, 247);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.album-card .album-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.album-card .album-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.album-card:hover .album-thumbnail img {
    transform: scale(1.05);
}

.lock-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-card .album-info {
    padding: 1.25rem;
}

/* Renamed from .album-info to avoid conflict with .secure-albums .album-info */
.album-card .album-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.album-card .album-info p {
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.album-count {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.album-count::before {
    content: '\f030';
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
}

/* Modal styles (general modal from style.css for password entry) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalopen 0.4s;
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.modal-content .form-group {
    margin-bottom: 1.5rem;
}

/* Uses general .form-group */
.modal-content .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* Ensure color */
.modal-content .form-group input {
    width: 100%;
}

/* Uses general .form-input */
.error,
.error-message {
    color: var(--red-500);
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    display: none;
}

/* .error from style.css, .error-message from login form */
.modal-content .submit-btn {
    /* This is for password modal, uses general btn */
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.modal-content .submit-btn:hover {
    background-color: var(--primary-dark-color);
}

.input-error {
    border-color: var(--red-600) !important;
    background-color: rgba(231, 76, 60, 0.05);
}


/* Toast Notifications from albums.css - General Utility */
.toast-notification-container {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1100;
    /* Higher than modals */
}

.toast-notification-container>.toast+.toast {
    margin-top: 0.75rem;
}

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 280px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--white-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.toast-message {
    flex-grow: 1;
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.8;
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: 1rem;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}

.toast-success {
    background-color: #28a745;
}

/* Bootstrap success green */
.toast-error {
    background-color: #dc3545;
}

/* Bootstrap danger red */
.toast-info {
    background-color: #17a2b8;
}

/* Bootstrap info blue */

/* Spinner from albums.css - General Utility */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    /* Use theme color */
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Media Queries (from style.css, to be reviewed for new header) */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .step,
    .step-features {
        /* Target both step types */
        grid-template-columns: 1fr;
        grid-template-areas:
            "number"
            "image"
            /* Image often comes before content on mobile for visual break */
            "content";
        gap: 1.5rem;
        text-align: center;
        /* Center content for stacked layout */
    }

    .step:nth-child(even),
    .step:nth-child(odd),
    .step-features:nth-child(even),
    .step-features:nth-child(odd) {
        grid-template-columns: 1fr;
        /* Ensure it overrides */
        grid-template-areas:
            "number"
            "image"
            "content";
    }

    .step-number,
    .step-number-features {
        margin: 0 auto;
    }

    .step-content,
    .step-content-features {
        text-align: center;
    }

    .album-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* secure-albums on home */
    .album-info {
        text-align: center;
    }

    /* secure-albums on home */
    .album-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* secure-albums on home */

    .contact-container {
        flex-direction: column;
    }

    /* Contact page */

}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Nav links and buttons are handled by hamburger and mobile menu logic */
    .hero-content {
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 2rem;
    }

    .forms-wrapper {
        width: 90%;
        margin-top: 2rem;
        min-height: auto;
    }

    /* Login/Signup */
    .input-group {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    /* Login/Signup forms */
    .input-group label {
        width: 100%;
        text-align: left;
    }

    .input-group input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-rating {
        margin: 1rem auto 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .forms-wrapper .form-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    /* Login/Signup */
}

/* Manage Account Page */
.account-hero {
    padding: 6rem 0 4rem;
    background: var(--tint-hero);
}

.account-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2.5rem;
    align-items: stretch;
}

.account-hero-text h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.account-hero-text p {
    color: var(--gray-600);
    max-width: 32rem;
}

.account-hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-dark-color);
    margin-bottom: 0.75rem;
}

.account-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.account-hero-stat {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.account-hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-hero-stat .stat-value {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark-color);
}

.account-hero-card {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-quick-actions {
    display: grid;
    gap: 0.75rem;
}

.account-hero-hint {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--gray-600);
    background: var(--indigo-50);
    border-radius: var(--border-radius-lg);
    padding: 0.9rem 1rem;
}

.account-hero-hint i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.account-dashboard {
    padding: 4rem 0 6rem;
}

.account-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}

.account-card {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.account-sidebar {
    display: grid;
    gap: 1.5rem;
    align-content: start;
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 360px;
}

.account-main {
    flex: 1 1 520px;
    min-width: 0;
}

.account-profile-card {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.account-profile-card h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
    margin: 0 auto;
}

.account-profile-avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    display: grid;
    place-items: center;
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.account-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.account-profile-avatar-has-image {
    background: none;
}

.account-profile-avatar-has-image .account-avatar-image {
    display: block;
}

.account-profile-avatar-has-image #accountAvatarInitials {
    display: none;
}

.account-user-email {
    color: var(--gray-500);
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.account-upload-hint {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: -0.5rem;
}

.account-feedback {
    font-size: 0.85rem;
    color: var(--gray-600);
    min-height: 1.25rem;
    margin-top: -0.25rem;
}

.account-feedback.error {
    color: var(--red-600);
}

.account-feedback.success {
    color: #059669;
}

.account-password-form {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.account-password-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.account-password-actions {
    display: flex;
    justify-content: flex-end;
}

.account-profile-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
    text-align: left;
}

.account-profile-meta li {
    display: flex;
    justify-content: space-between;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.account-profile-meta .meta-label {
    font-weight: 500;
    color: var(--gray-500);
}

.account-plan-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-plan-status {
    background: var(--indigo-100);
    color: var(--primary-dark-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.account-plan-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.account-plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark-color);
}

.account-plan-price span {
    font-size: 0.95rem;
    margin-left: 0.25rem;
    color: var(--gray-500);
}

.account-plan-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.account-plan-benefits li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.account-plan-benefits li i {
    color: var(--primary-color);
}

.account-plan-actions {
    display: grid;
    gap: 0.75rem;
}

.account-plan-note {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.account-support-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.account-support-channels {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.support-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--chip-accent);
    color: var(--dark-color);
    padding: 0.5rem 0.9rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
}

.support-chip i {
    color: var(--primary-dark-color);
}

.account-main {
    display: grid;
    gap: 2.25rem;
}

.account-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.account-card-heading p {
    color: var(--gray-500);
}

.account-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-status-pill.success {
    background: rgba(52, 211, 153, 0.2);
    color: #059669;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--gray-700);
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    background: var(--gray-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(140, 88, 124, 0.15);
    background: var(--white-color);
}

.account-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.account-security-list {
    display: grid;
    gap: 1.5rem;
}

.account-security-item {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.account-security-item h4 {
    margin-bottom: 0.35rem;
}

.account-security-item p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.account-notification-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.notification-group {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
}

.notification-group h4 {
    margin-bottom: 1rem;
}

.account-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.account-checkbox input {
    width: 16px;
    height: 16px;
}

.account-checkbox span {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.account-checkbox input:checked+span {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    border-color: transparent;
}

.account-checkbox input:checked+span::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--white-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.account-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
}

.account-activity-list li {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.activity-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1rem;
}

.account-link {
    color: var(--primary-color);
    font-weight: 600;
}

.account-help {
    padding: 5rem 0;
    background: var(--tint-accent);
}

.account-help-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 2.5rem;
    align-items: center;
}

.account-help-text p {
    color: var(--gray-600);
    max-width: 34rem;
}

.account-help-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.account-help-highlights i {
    color: var(--primary-color);
    margin-right: 0.4rem;
}

.account-help-card {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 1rem;
}

@media (max-width: 1100px) {
    .account-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-hero-card {
        order: -1;
    }

    .account-layout {
        flex-direction: column;
    }

    .account-sidebar,
    .account-main {
        flex: 1 1 100%;
        min-width: 0;
    }

    .account-profile-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .account-hero {
        padding: 4.5rem 0 3.5rem;
    }

    .account-hero-text h1 {
        font-size: 2.25rem;
    }

    .account-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .account-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .session-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-card-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .account-card {
        padding: 1.75rem;
    }

    .account-hero-text p,
    .account-help-text p {
        max-width: 100%;
    }

    .account-help-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-help-card {
        order: -1;
    }
}

/* ==== Palette migration overrides (mirroring Diti) ==== */

/* Header */
.header-main {
    background-color: var(--tint-hero);
}

/* Hero backdrop wash */
.hero::before {
    background: var(--tint-hero);
}

/* “Simpler” feature band + inner styles */
.simpler-section {
    background-color: var(--tint-hero);
}

.simpler-section .section-title,
.simpler-section .section-subtitle {
    color: var(--dark-color);
}

.feature-circle {
    background-color: var(--chip-accent);
    color: var(--dark-color);
}

.feature-circle .icon,
.feature-circle h3,
.feature-circle p {
    color: var(--dark-color);
}

/* How It Works band */
.how-it-works {
    background-color: var(--tint-hero);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color));
}

/* Testimonials band */
.testimonials {
    background-color: var(--tint-hero);
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--dark-color);
}

/* CTA band */
.cta {
    background-color: var(--tint-hero);
    color: var(--dark-color);
}

/* Optional: ensure gradient text uses mauve→blue-grey */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 768px) {

    /* TYPOGRAPHY FIXES */
    h1 {
        font-size: 2.25rem;
        /* Reduced further */
    }

    .how-it-works .section-header h2,
    .pricing .section-header h2,
    .secure-albums .section-header h2,
    .testimonials .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* Specific fix for the long string "SIMPLER.FASTER.BETTER" */
    .simpler-section .section-title {
        font-size: 1.75rem;
        /* Much smaller to fit single line or wrap */
        word-break: break-word;
        /* Allow breaking at dots if needed */
        overflow-wrap: break-word;
        padding-left: 10px;
        padding-right: 10px;
    }

    .section-header p,
    .simpler-section .section-subtitle,
    .hero-content p,
    .testimonials .section-header p,
    .pricing .section-header p {
        font-size: 1rem;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* FORM / LOGIN BOX FIXES */
    .forms-wrapper {
        margin-top: 8rem;
        /* Increased from 6rem to 8rem for safer header clearance */
        margin-bottom: 2rem;
        width: 100%;
        max-width: 90%;
        height: auto !important;
        min-height: auto !important;
        padding: 1.5rem;
    }

    .login-form {
        width: 100% !important;
        padding: 15px !important;
    }

    /* HERO SECTION ADJUSTMENTS */
    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* LAYOUT STACKING */
    .album-container,
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps {
        gap: 2rem;
    }

    .step,
    .step:nth-child(even),
    .step:nth-child(odd) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "number"
            "image"
            "content";
        text-align: center;
        justify-items: center;
        gap: 1.5rem;
    }

    .step-image {
        width: 100%;
        max-width: 100%;
    }

    /* FEATURES GRID */
    .features-circles {
        flex-direction: column;
        align-items: center;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}