/* --- Variables --- */
:root {
    /* Palette */
    --color-bg: #F8FAFC;
    --color-text: #334155;
    --color-heading: #0F172A;
    
    --color-primary: #4F46E5; /* Indigo */
    --color-primary-hover: #4338CA;
    --color-accent: #10B981; /* Emerald/Green */
    
    --color-white: #FFFFFF;
    --color-light-gray: #E2E8F0;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    padding-top: var(--header-height); /* Offset for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

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

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-light-gray);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.header__logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-heading);
    letter-spacing: -0.02em;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__list {
    display: flex;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.header__link:hover,
.header__link--active {
    color: var(--color-primary);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

.header__link:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-heading);
}

.header__close-btn {
    display: none;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        z-index: 1001;
    }

    .header__nav--active {
        right: 0;
    }

    .header__list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .header__link {
        font-size: 1.25rem;
    }

    .header__burger {
        display: block;
    }

    .header__cta {
        display: none; /* Hide CTA button in header on mobile, show inside menu if needed */
    }

    .header__close-btn {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-heading);
    }
    
    .header__link--mobile-cta {
        color: var(--color-primary);
        font-weight: 700;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--color-heading);
    color: #94A3B8;
    padding-top: 64px;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-white);
}

.footer__desc {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer__title {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.9rem;
}

.footer__link:hover {
    color: var(--color-primary); /* Using primary color on dark bg implies it looks good */
    padding-left: 4px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer__container {
        grid-template-columns: 1fr;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 80px 0 100px; /* Top padding balances header height */
    overflow: hidden;
    min-height: 90vh; /* Takes almost full screen */
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero__badge i {
    width: 16px;
    height: 16px;
}

/* Typography */
.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 1.125rem;
    color: #64748B;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero__desc strong {
    color: var(--color-text);
}

/* Actions */
.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.hero__btn i {
    margin-left: 8px;
    width: 20px;
    height: 20px;
}

.hero__info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94A3B8;
}

.hero__info i {
    width: 16px;
    height: 16px;
}

/* Visuals & Parallax */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero__img-main {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

.hero__card {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    min-width: 200px;
    animation: float 6s ease-in-out infinite;
}

.hero__card--1 {
    top: 10%;
    left: -40px;
    animation-delay: 0s;
}

.hero__card--2 {
    bottom: 15%;
    right: -30px;
    animation-delay: 2s;
}

.hero__icon-card {
    background: #EEF2FF;
    color: var(--color-primary);
    padding: 10px;
    border-radius: 12px;
    width: 44px;
    height: 44px;
}

.hero__card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-heading);
}

.hero__card span {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Decorative Blurs */
.hero__blur {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.hero__blur--1 {
    background: rgba(79, 70, 229, 0.15);
    top: -100px;
    right: -100px;
}

.hero__blur--2 {
    background: rgba(16, 185, 129, 0.15);
    bottom: -50px;
    left: -150px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero__desc {
        margin: 0 auto 32px;
    }
    
    .hero__actions {
        align-items: center;
    }

    .hero__card--1 { left: 0; }
    .hero__card--2 { right: 0; }
    
    .hero__title { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__card { display: none; } /* Hide floating cards on very small screens to avoid overflow */
}

/* --- Common Section Styles --- */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    background: #EEF2FF;
    padding: 6px 12px;
    border-radius: 4px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    color: #64748B;
    font-size: 1.1rem;
}

.highlight-text {
    color: var(--color-primary);
    font-weight: 600;
}

/* --- About Grid --- */
.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Feature Card --- */
.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--color-light-gray);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* Icon Box */
.feature-card__icon-box {
    width: 60px;
    height: 60px;
    background: #EEF2FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-card__icon-box i {
    width: 28px;
    height: 28px;
}

.feature-card__icon-box--green {
    background: #ECFDF5;
    color: var(--color-accent);
}

.feature-card__icon-box--purple {
    background: #FAF5FF;
    color: #9333EA;
}

.feature-card:hover .feature-card__icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Typography in Card */
.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card__text {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .about__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* --- Tabs Section --- */
.tasks {
    background-color: #F1F5F9; /* Slight contrast bg */
}

.tabs {
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tabs Navigation */
.tabs__nav {
    display: flex;
    border-bottom: 1px solid var(--color-light-gray);
    background: #F8FAFC;
}

.tabs__btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tabs__btn:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.5);
}

.tabs__btn--active {
    color: var(--color-primary);
    background: var(--color-white);
    border-bottom-color: var(--color-primary);
}

.tabs__btn i {
    width: 20px;
    height: 20px;
}

/* Tabs Content */
.tabs__content {
    padding: 40px;
    min-height: 400px; /* Prevent layout jump */
}

.tabs__pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tabs__pane--active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tabs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tabs__text-col h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.tabs__text-col p {
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Check List */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-heading);
}

.check-list i {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tabs__img-col {
    position: relative;
}

.tabs__img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mt-4 {
    margin-top: 16px;
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .tabs__nav {
        flex-direction: column;
    }
    
    .tabs__btn {
        justify-content: flex-start;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-light-gray);
        border-left: 4px solid transparent;
    }
    
    .tabs__btn--active {
        border-bottom-color: var(--color-light-gray);
        border-left-color: var(--color-primary);
    }
    
    .tabs__grid {
        grid-template-columns: 1fr;
    }
    
    .tabs__img-col {
        order: -1; /* Image first on mobile */
    }
    
    .tabs__content {
        padding: 24px;
    }
}

/* --- Tools Section --- */
.tools__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Tool Card */
.tool-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
    transform: translateY(-5px);
}

.tool-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tool-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
}

/* Icon Background Colors */
.bg-blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.bg-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.bg-green { background: linear-gradient(135deg, #10B981, #059669); }
.bg-orange { background: linear-gradient(135deg, #F59E0B, #D97706); }

.tool-card__title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.tool-card__cat {
    font-size: 0.85rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.tool-card__desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes link to bottom */
}

.tool-card__link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.tool-card__link i {
    width: 16px;
    height: 16px;
}

.tool-card__link:hover {
    gap: 10px;
    color: var(--color-primary-hover);
}

/* Tools CTA Box */
.tools__cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #4338CA 100%);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Decorative circle inside CTA */
.tools__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.tools__cta-content h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.tools__cta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 500px;
}

.tools__cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 2;
}

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

.btn--white:hover {
    background: #F1F5F9;
    color: var(--color-primary-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tools__cta-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive CTA */
@media (max-width: 900px) {
    .tools__cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .tools__cta-actions {
        align-items: center;
        width: 100%;
    }
}

/* --- Benefits Section --- */
.benefits {
    padding: 100px 0;
    overflow: hidden;
}

.benefits__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits__list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefits__item {
    display: flex;
    gap: 20px;
}

.benefits__icon-box {
    width: 50px;
    height: 50px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.benefits__item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.benefits__item p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.5;
}

/* Right Side Visuals */
.benefits__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.stat-card {
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.stat-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFEDD5;
    color: #F97316;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.stat-card__badge i {
    width: 16px;
    height: 16px;
}

.stat-card__number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--color-heading) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card__label {
    font-size: 1.1rem;
    color: #64748B;
    margin-bottom: 24px;
}

.stat-card__users {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    margin-left: -12px;
}

.avatar-circle:first-child {
    margin-left: 0;
}

.avatar-plus {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-heading);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    border: 3px solid var(--color-white);
    margin-left: -12px;
}

/* Background Decoration */
.benefits__deco-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .benefits__wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefits__content {
        order: 1; /* Content first on mobile too for logical flow */
    }

    .benefits__visual {
        order: 2;
        margin-top: 40px;
    }

    .benefits__list {
        align-items: flex-start; /* Keep list left aligned on mobile or center if you prefer */
        text-align: left;
    }
}

/* --- Contact Section --- */
.contact {
    background: #F8FAFC;
    position: relative;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact__list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__icon {
    background: var(--color-white);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact__list strong {
    display: block;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.contact__list p, .contact__list a {
    color: #64748B;
    font-size: 0.95rem;
}

.contact__list a:hover {
    color: var(--color-primary);
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.form__title {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.form__group {
    margin-bottom: 20px;
    position: relative;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-heading);
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: #64748B;
}

.form__checkbox-wrapper input {
    margin-top: 3px;
    cursor: pointer;
}

.form__checkbox-wrapper a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form__btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.form__error {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none; /* Hidden by default */
}

.form__group.error .form__input {
    border-color: #EF4444;
}

.form__group.error .form__error {
    display: block;
}

/* Success Message State */
.contact__success {
    display: none; /* Hidden by default */
    text-align: center;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    animation: fadeIn 0.5s ease;
}

.contact__success.active {
    display: flex;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #ECFDF5;
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--color-heading);
    color: var(--color-white);
    padding: 20px;
    border-radius: 16px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none; /* Controlled by JS */
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cookie-popup p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-popup a {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* --- Policy Pages Styles (Generic) --- */
.pages {
    padding: 60px 0;
}

.pages h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.pages h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.pages p {
    margin-bottom: 15px;
    color: #475569;
}

.pages ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
    color: #475569;
}

.pages li {
    margin-bottom: 8px;
}

.pages a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .contact__container {
        grid-template-columns: 1fr;
    }
    .contact__form-wrapper {
        padding: 24px;
    }
}

