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

:root {
    /* Black and White Theme with Multicolored Accents */
    --primary-black: #000000;
    --primary-black-soft: #0a0a0a;
    --primary-white: #ffffff;
    --white-soft: #fafafa;

    /* Multicolored accents for highlights */
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-teal: #14b8a6;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* Multicolored gradient background */
    --gradient-bg: linear-gradient(135deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(168, 85, 247, 0.12) 25%,
            rgba(236, 72, 153, 0.1) 50%,
            rgba(20, 184, 166, 0.12) 75%,
            rgba(245, 158, 11, 0.1) 100%);

    /* Gradients for accents */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #3b82f6 50%, #a855f7 100%);
    --gradient-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);

    /* Text colors - Black theme */
    --text-primary: #000000;
    --text-secondary: #1a1a1a;
    --text-light: #4a4a4a;
    --text-on-dark: #ffffff;

    /* Background colors - White highlights */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --bg-card: #ffffff;
    --bg-card-dark: #1a1a1a;

    /* Borders */
    --border-color: #333333;
    --border-light: #2a2a2a;
    --border-white: rgba(255, 255, 255, 0.2);

    /* Shadows - white/colored on black */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --shadow-colored: 0 10px 40px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(168, 85, 247, 0.2);
    --shadow-colored-lg: 0 20px 60px rgba(59, 130, 246, 0.4), 0 8px 24px rgba(168, 85, 247, 0.3);
    --shadow-white: 0 4px 20px rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-on-dark);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-primary);
    position: relative;
    letter-spacing: -0.01em;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'),
        var(--gradient-bg);
    background-size: cover, 100% 100%;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-blend-mode: overlay;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg);
    z-index: -2;
    pointer-events: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-on-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: var(--primary-white);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
}

.nav-downloads {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-color);
}

.nav-download-btn {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-badge {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-download-btn:hover .nav-badge {
    opacity: 1;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0 4rem;
    background: transparent;
    overflow: hidden;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 25s ease-in-out infinite, pulse-glow 6s ease-in-out infinite;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(236, 72, 153, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite reverse, pulse-glow 7s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    max-width: 850px;
    z-index: 1;
    position: relative;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-graphic {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.search-icon-animated {
    width: 64px;
    height: 64px;
    color: var(--primary-white);
    animation: pulse 2s ease-in-out infinite, float 3s ease-in-out infinite, rotate-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
    position: relative;
    display: inline-block;
}

.search-icon-animated svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

@keyframes rotate-glow {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
    }

    50% {
        transform: rotate(10deg) scale(1.05);
        filter: drop-shadow(0 6px 28px rgba(59, 130, 246, 0.4));
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-white);
    letter-spacing: -0.05em;
}

.gradient-text {
    color: var(--text-primary);
}

.gradient-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.app-download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.app-download-btn {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.app-download-btn:hover {
    transform: translateY(-4px) scale(1.05);
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.app-badge {
    height: 50px;
    width: auto;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-background {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary-white);
    color: var(--primary-black);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-white);
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    opacity: 0.1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
    color: var(--primary-white);
    background: var(--gradient-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--border-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-white);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover::after {
    left: 0;
}

.btn-secondary:hover {
    border-color: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-white);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.3));
}

.section-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-white);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-weight: 400;
}

/* Screenshots Section */
.screenshots-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

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

.screenshot-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--primary-white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-white);
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 16px;
}

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

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored);
    border-color: var(--accent-blue);
}

.screenshot-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.screenshot-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 1.25rem 0.5rem;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.screenshot-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
    margin: 0 1.25rem 1.25rem;
}

/* Problem Section */
.problem-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
}

.problem-content {
    max-width: 800px;
    margin: 0 auto;
}

.problem-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.75rem;
    border: 2px solid var(--primary-white);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-white);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-soft);
    transition: left 0.5s ease;
    z-index: 0;
}

.stat-card:hover::before {
    left: 0;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-colored);
}

.stat-card-highlight {
    background: var(--gradient-soft);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-colored);
}

.stat-card-highlight::before {
    background: var(--gradient-primary);
    opacity: 0.1;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-black);
    letter-spacing: -0.04em;
    line-height: 1;
    display: block;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.stat-unit {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--primary-black);
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-transform: lowercase;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.problem-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: grid;
    /* keep original column min width; we'll increase height instead */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-card {
    background: var(--bg-card);
    /* increase vertical space while keeping overall width similar */
    padding: 3rem 2rem;
    min-height: 320px;
    /* ensure cards are taller to fit descriptions */
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* allow decorative elements (the step number) to overflow the card so the circle isn't clipped */
    overflow: visible;
    box-shadow: var(--shadow-white);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.step-card:hover::before {
    opacity: 0.03;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored);
    border-color: var(--accent-blue);
}

.step-number {
    position: absolute;
    top: -34px;
    /* slightly higher so it sits above the taller card */
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    /* default: black circle with white number */
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    box-shadow: var(--shadow-white);
    z-index: 3;
    /* ensure it's above other decorative layers */
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.08) rotate(360deg);
    /* multicolor gradient on hover while keeping text readable */
    background: var(--gradient-primary);
    color: var(--primary-white);
    box-shadow: var(--shadow-colored);
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 1.5rem auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    color: var(--primary-black);
    filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.2));
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

.step-card:hover .step-icon {
    transform: scale(1.1) translateY(-5px);
    color: var(--accent-blue);
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.4));
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
    /* slightly larger text for readability and to prevent wrapping issues */
    font-size: 0.95rem;
}

/* Features Section */
.features {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-white);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.6s ease;
    z-index: 0;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    color: var(--primary-black);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    font-size: 2rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) translateY(-5px);
    color: var(--accent-blue);
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.4));
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--accent-blue);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: transparent;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    box-shadow: var(--shadow-white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-black);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--primary-white);
    color: var(--primary-black);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-downloads {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-badge {
    height: 40px;
}

.footer-instagram {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    color: var(--primary-white);
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-instagram svg {
    display: block;
    color: var(--primary-white);
}

.footer-instagram-text {
    color: var(--primary-white);
    font-weight: 600;
}

.footer-instagram:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.footer-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.footer-logo .logo-image {
    height: 28px;
    width: auto;
    display: block;
}

.footer-logo .logo-text {
    font-size: 1rem;
    line-height: 1;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    background: transparent;
    padding: 5rem 0 3rem;
    text-align: center;
    color: var(--primary-white);
    margin-top: 60px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--primary-white);
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* About Page */
.about-page {
    padding: 4rem 0;
    background: transparent;
}

.about-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 5rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

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

.value-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    box-shadow: var(--shadow-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored);
    border-color: var(--accent-blue);
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Features Page */
.features-page {
    padding: 4rem 0;
    background: transparent;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Additional Features */
.additional-features {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-white);
}

.feature-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-colored);
}

.feature-item-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-item-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.feature-item-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0;
    background: transparent;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    height: fit-content;
    box-shadow: var(--shadow-white);
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
}

.contact-detail-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-detail-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.contact-detail-content p {
    /* make contact detail text black so it is readable on the page background */
    color: var(--primary-black);
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    box-shadow: var(--shadow-white);
}

/* Ensure contact page section titles are readable on white cards */
.contact-page .section-title,
.contact-form-wrapper .section-title {
    color: var(--primary-black) !important;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-white);
}

.faq-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* CTA Download Section */
.cta-download-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta-download-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite;
    filter: blur(60px);
}

.cta-download-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -8%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    filter: blur(60px);
}

.cta-download-section .section-title {
    color: var(--primary-white);
    margin-bottom: 1rem;
}

.cta-download-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-section .section-title {
    color: var(--primary-white);
    margin-bottom: 1rem;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-section .btn-secondary:hover {
    background: var(--primary-white);
    border-color: var(--primary-white);
    color: var(--primary-black);
}

/* Instagram button */
.btn-instagram {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--primary-black);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.footer-instagram svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    /* use stroke-based icon so it shows on dark and light backgrounds */
}

/* cleaned up duplicated block */

.instagram-link {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 600;
}

.instagram-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
    }

    .features-list-grid {
        grid-template-columns: 1fr;
    }
}

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

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
        flex-wrap: wrap;
    }

    .nav-downloads {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .nav-badge {
        height: 32px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    /* Reduce tall card requirements on small screens */
    .step-card {
        padding: 2rem 1.25rem;
        min-height: auto;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
        top: -20px;
    }

    .step-icon {
        width: 48px;
        height: 48px;
        margin: 1rem auto 0.75rem;
    }

    .problem-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .hero {
        padding: 8rem 0 4rem;
        min-height: 80vh;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-left {
        align-items: center;
    }

    .footer-downloads {
        justify-content: center;
    }

    section {
        padding: 4rem 0;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.8125rem;
    }

    .app-badge {
        height: 40px;
    }

    .app-download-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-form,
    .contact-form-wrapper,
    .contact-info {
        padding: 2rem 1.5rem;
    }
}

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