@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #10b981;
    --accent-hover: #059669;
    --secondary-accent: #fbbf24;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
    --bg-card: rgba(30, 41, 59, 0.7);
    --border-color: rgba(148, 163, 184, 0.1);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

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

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition-medium);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.compliance-badge i {
    color: var(--accent);
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: transparent; /* Override glass class background */
}

.hero-slider.glass {
    background: transparent;
    backdrop-filter: none;
    border: none;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 1.5rem; /* Apply border radius to images */
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(2, 6, 23, 0.8) 100%);
    pointer-events: none;
}

/* Features */
.section-spacing {
    padding: var(--section-spacing) 0;
}

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

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Community */
.community-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.community-content {
    padding: 4rem;
}

.community-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.community-logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.community-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.community-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.community-list {
    margin-bottom: 2.5rem;
}

.community-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.community-list i {
    color: var(--accent);
}

.community-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
    background: transparent;
}

.community-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/landing_assets/images/consumer3.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.9;
}

.big-icon {
    display: none; /* Hide icon, using SVG background instead */
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.2);
    transform: rotate(-15deg);
}

/* Pricing */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--text-main);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-light);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border-color);
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: var(--accent);
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked+label:before {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    display: none;
    /* Hidden by default, toggled by JS */
}

.pricing-grid.active {
    display: grid;
}

.pricing-card {
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    position: relative;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid var(--accent);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    display: block;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.features-list {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.features-list i {
    color: var(--accent);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: 2rem;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: var(--primary-light);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    padding: 4rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message i {
    font-size: 1.25rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1180px) {
    .hero-slider {
        height: 350px;
        border-radius: 1.5rem; /* Maintain border radius */
    }

    .slide {
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 1.5rem; /* Maintain border radius on responsive */
    }
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .community-box {
        grid-template-columns: 1fr;
    }

    .community-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .community-content h2 {
        font-size: 2rem;
    }

    .community-logo {
        height: 2.5rem;
        margin-bottom: 0;
    }

    .community-image {
        height: 200px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        min-height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(10px);
        padding: 4rem 2rem;
        transition: var(--transition-medium);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

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

    .compliance-badge {
        justify-content: center;
        text-align: center;
    }

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

    .hero-slider {
        height: 350px;
        border-radius: 1.5rem; /* Maintain border radius */
    }

    .slide {
        border-radius: 1.5rem; /* Maintain border radius */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-btns .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .compliance-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-slider {
        height: 320px;
        border-radius: 1.5rem; /* Maintain border radius */
    }

    .slide {
        border-radius: 1.5rem; /* Maintain border radius */
    }

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

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

    .hero-container {
        padding: 1rem 0;
        gap: 2rem;
    }

    .hero-content {
        padding: 0;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 0;
    }

    .hero-btns .btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .hero-slider {
        height: 280px;
        margin-top: 2rem;
    }

    .hero-visual {
        width: 100%;
        padding: 0;
    }
}

/* Privacy Policy Styles */
.privacy-section {
    padding-top: 8rem;
}

.privacy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.privacy-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.privacy-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-section-box {
    padding: 2.5rem;
}

.privacy-section-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.privacy-section-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.privacy-section-box p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.privacy-list i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}


@media (max-width: 768px) {
    .privacy-section {
        padding-top: 6rem;
    }

    .privacy-header {
        margin-bottom: 3rem;
    }

    .privacy-header h1 {
        font-size: 2.5rem;
    }

    .privacy-section-box {
        padding: 2rem;
    }

    .privacy-section-box h2 {
        font-size: 1.75rem;
    }

    .privacy-section-box h3 {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .privacy-section {
        padding-top: 5rem;
    }

    .privacy-header {
        margin-bottom: 2rem;
    }

    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-subtitle {
        font-size: 1rem;
    }

    .privacy-main {
        gap: 1.5rem;
    }

    .privacy-section-box {
        padding: 1.5rem;
    }

    .privacy-section-box h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .privacy-section-box h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .privacy-section-box p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .privacy-list {
        margin: 1rem 0;
    }

    .privacy-list li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 450px) {
    .privacy-section {
        padding-top: 4rem;
    }

    .privacy-header h1 {
        font-size: 1.75rem;
    }

    .privacy-section-box {
        padding: 1.25rem;
    }

    .privacy-section-box h2 {
        font-size: 1.375rem;
    }

    .privacy-section-box h3 {
        font-size: 1.125rem;
    }
}