/* ClearrCUT Landing Page - Vanilla CSS (Brand Aligned) */

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,300..1000;1,300..1000&display=swap');

:root {
    /* Brand Colors */
    --theme-color: #5465FF;
    --theme-dark: #3a4bda;
    --theme-light: #7a88ff;
    --text-color: #00162E;
    --text-gray: #6b7280;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --border-color: #e5e7eb;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #5465FF 0%, #3a4bda 100%);
    --hero-overlay: linear-gradient(135deg, rgba(84, 101, 255, 0.9) 0%, rgba(11, 26, 43, 0.9) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-primary: 'DM Sans', sans-serif;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

img.img-fluid {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--theme-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-primary {
    color: var(--theme-color) !important;
}

.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

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

.gap-3 {
    gap: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.pt-0 {
    padding-top: 0;
}

.page-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    min-height: 70vh;
}

.section-b-space {
    padding-bottom: 80px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.navbar-brand img {
    height: 42px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    position: relative;
}

.nav-link:hover {
    color: var(--theme-color);
    text-decoration: none;
}

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

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

/* Mobile Menu */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        text-align: center;
        gap: 20px;
    }

    .navbar-nav.active {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    /* Increased height */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Vibrant Gradient Overlay */
    background: linear-gradient(135deg, rgba(84, 101, 255, 0.8) 0%, rgba(58, 75, 218, 0.7) 100%);
    z-index: 1;
}

/* Decorative Circles */
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    border-radius: 50%;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    /* White Card Aesthetic */
    background: rgba(255, 255, 255, 0.98);
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Soft, deep shadow */
    max-width: 850px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #111827;
    /* Very Dark Gray/Black for contrast */
    line-height: 1.1;
    text-shadow: none;
    /* Clean look */
    letter-spacing: -0.03em;
}

.hero-content p {
    color: #4b5563;
    /* Dark Gray for readability */
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: none;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-buttons img {
    height: 52px;
    /* Slightly smaller for elegance */
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: transparent;
}

.store-buttons img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-content {
        padding: 40px 24px;
        margin: 0 15px;
        /* Side margins on mobile */
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: var(--shadow-sm);
    position: relative;
    top: 0;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(84, 101, 255, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-box h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

/* Step Process Section */
.step-card {
    position: relative;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(84, 101, 255, 0.2);
}

.step-number {
    background: var(--primary-gradient);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(84, 101, 255, 0.3);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
}

/* Category Grid */
.category-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--theme-color);
    box-shadow: 0 15px 30px rgba(84, 101, 255, 0.15);
    text-decoration: none;
}

.category-img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.category-card:hover .category-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.category-title {
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 1.15rem;
}

/* Footer */
footer {
    background-color: #050C18;
    /* Deep Midnight Blue */
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 4px solid var(--theme-color);
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-links h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(84, 101, 255, 0.3);
    display: inline-block;
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--theme-color);
    padding-left: 8px;
    color: #fff;
}

/* Policy Pages / Content Text */
.page-card {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

.content-text h4 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.content-text strong {
    color: var(--theme-color);
    font-weight: 700;
}

hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 2.5rem 0;
}

/* App Download CTA */
.app-cta-section {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.app-cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.app-cta-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: 50px;
}

.app-cta-content {
    position: relative;
    z-index: 2;
}

.app-cta-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.app-cta-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}