:root {
    --primary-color: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --primary-hover: #4f46e5;

    --text-main: #333333;
    --text-secondary: #475569;
    --text-light: #94a3b8;

    --surface-color: #ffffff;
    --bg-color: #f8fafc;

    --white-color: white;

    --border-color: rgba(226, 232, 240, 0.8);
    --glass-border: rgba(255, 255, 255, 0.6);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);

    --container-width: 1200px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Technical Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 160px 160px;
    z-index: -2;
    pointer-events: none;

    /*
            mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
            */
}

/* Center ambient glow */
body::after {
    content: '';
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;


    /* background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0) 70%); */
    background-image: radial-gradient(ellipse 80% 60% at 15% 100%, rgba(255, 173, 153, 0.3), transparent),
        radial-gradient(ellipse 80% 60% at 85% 100%, rgba(153, 173, 255, 0.4), transparent);

    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(1.1, 1);
    }

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

.animate-on-scroll {
    opacity: 0;
    /* cubic-bezier(0.16, 1, 0.3, 1) */
    animation: fadeInUp 0.5s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.logo-text {
    color: var(--primary-color);

    /*
    
    transition: filter 0.3s ease;
    background: linear-gradient(90deg, rgb(95, 95, 95) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    */
}

.logo-text .svenden {
    color: var(--primary-color);
    opacity: 1;
}

.logo:hover {
    filter: brightness(1.3);
    
}

/* --- Header --- */
header {
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.hidden {
    transform: translateY(-150%);
}

header .container {
    /* Wider container for header to prevent squashing */
    max-width: 1280px;
    padding: 0 20px;
}

nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);

    /* Grid layout for perfect centering */
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    padding-left: 10px;
    padding-right: 20px;
}

.logo img {
    height: 36px;
    width: auto;
}

/* Centered Navigation Links */
.nav-center-wrapper {
    justify-self: center;
}



.nav-items {
    display: flex;
    gap: 4px;
    background: rgba(241, 245, 249, 0.6);
    padding: 4px;
    border-radius: var(--radius-full);
}

.nav-items li a {
    display: block;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-items li a:hover {
    color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-sm);
}

/* Right side CTA */
.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    background: var(--primary-hover);
}

/* --- Hero Section --- */
.hero {
    padding-top: 220px;
    padding-bottom: 120px;
    text-align: center;
}

.badge {
    background: white;
    color: var(--primary-color);
    border: 1px solid #e0e7ff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* NEW HERO TEXT STYLE */
.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    /* Bigger */
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    /* Tighter tracking */
    line-height: 1.05;
    color: #0f172a;
}

/* 1. Make the text gradient move slightly (Breathing effect) */
@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1 {
    position: relative;
    z-index: 1; /* Ensures text sits above background elements */
}

.highlight-text {
    /* Existing gradient settings */
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #6366f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* The Animation */
    animation: shine 5s linear infinite;
    
    position: relative;
    display: inline-block;
}

/* 2. The Hand-Drawn Underline SVG */
.highlight-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px; /* Adjusts how far down the line sits */
    width: 100%;
    height: 15px;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: scaleX(1.8);
    
    /* Inline SVG for a purple curved line */
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='12' viewBox='0 0 200 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9C45.3333 3.66667 141.5 -3.5 197 7.5' stroke='%23a855f7' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' stroke-opacity='0.4'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
    .highlight-text::after {
        transform: scaleX(1.25);
    }
}



/* Optional: Add a subtle underline decoration instead of just color */
/*
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(99, 102, 241, 0.15);
    z-index: -1;
    transform: skewX(-12deg);
    border-radius: 4px;
}
    */

.hero p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.main-cta {
    background: var(--text-main);
    /* Dark button for high contrast */
    color: white;
    padding: 18px 42px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.5);
    transition: all 0.3s ease;
}

.main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.4);
    background: black;
}

/* --- Features Section --- */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

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

.feature-card {
    background: var(--surface-color);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: #eef2ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Estima Section --- */
.estima-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #f1f5f9;
}

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

.estima-content ul {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.estima-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 500;
}

.check-icon {
    color: var(--primary-color);
    background: #eef2ff;
    padding: 4px;
    border-radius: 50%;
}

.phone-mockup {
    background: #fff;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.15), 0 30px 60px -30px rgba(0, 0, 0, 0.1);
    border: 8px solid #f1f5f9;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.chat-header {
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-ui {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.4;
    position: relative;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.message.received {
    background: #f1f5f9;
    color: #334155;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.message.sent {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 18px;
    width: fit-content;
    border-bottom-left-radius: 4px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

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

    40% {
        transform: scale(1);
    }
}

/* --- Pricing --- */
/* --- Glow Effect Update --- */

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: 32px;
    /* Changed shadow from black to purple/indigo for a "backlit" glow effect */
    box-shadow: 0 20px 80px -10px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(99, 102, 241, 0.05);
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for the card */
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px -10px rgba(99, 102, 241, 0.35),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.price-tag {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 20px 0 10px;
    letter-spacing: -3px;

    /* The Gradient */
    background: linear-gradient(45deg, #4f46e5 0%, #dfbcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.price-sub {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-list {
    text-align: left;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

/* --- Footer --- */
footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* --- Mobile Nav --- */
.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-menu {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    gap: 16px;
    display: none;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    text-align: center;
    color: var(--text-main);
    font-weight: 500;
}

@media (max-width: 900px) {
    nav {
        display: flex;
        justify-content: space-between;
    }

    .nav-center-wrapper {
        display: none;
    }

    .nav-right .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding-top: 150px;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card {
        padding: 32px 24px;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }
}

.section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 40px;
    max-width: min(90vw, 500px);
}




/* --- Ny Process Sektion Styles --- */
.process-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* Den stiplede linje bagved */
.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary-color) 50%, transparent 50%);
    background-size: 20px 100%;
    z-index: 1;
    opacity: 0.3;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.process-step {
    background: var(--white-color);
    padding: 30px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 99, 232, 0.15);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -70px auto 20px;
    /* Trækker ikonet op over kortet */
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(106, 99, 232, 0.2);
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}


/* --- Nyt Pricing Card Design --- */
.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: 32px;
    /* En subtil lilla glød bag kortet */
    box-shadow: 0 20px 60px -10px rgba(106, 99, 232, 0.15), 0 0 0 1px rgba(106, 99, 232, 0.05);
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* En lille "Mest Populær" bjælke i toppen */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-button {
    /* ... keep your existing layout styles ... */
    background-color: var(--primary-color);
    color: var(--white-color);
    /* Add this specific purple glow shadow */
    box-shadow: 0 0 20px rgba(106, 99, 232, 0.5);
    transition: all 0.3s ease;
    border-radius: 32px;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    /* Make the glow stronger on hover */
    box-shadow: 0 0 30px rgba(106, 99, 232, 0.7);
}


.one-time-fee {
    display: inline-block;
    background: #f3f4f6;
    color: #666;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 1.05rem;
    color: #4b5563;
}

.check-circle {
    min-width: 24px;
    height: 24px;
    background: #e0e7ff;
    /* Lys lilla baggrund */
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 12px;
}

.subscription-box {
    margin-top: 30px;
    padding: 20px;
    background: #fafafa;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
}

/* Mobil justeringer */
@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .process-line {
        display: none;
    }

    /* Skjul linjen på mobil */
    .process-icon {
        margin: 0 auto 20px;
    }

    /* Nulstil margin på mobil */
}


/* --- Opdateret Demo Section --- */
.demo-card {
    background: #fff;
    border-radius: 32px; /* Mere runding */
    overflow: hidden;
    /* Lækker farvet skygge */
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(255,255,255,0.5);
    transition: transform 0.3s ease;
    text-align: left;
    max-width: 800px; /* Lidt smallere for et mere kompakt look */
    margin: 0 auto;
}

.demo-card:hover { transform: translateY(-5px); }

.demo-browser-header {
    background: #f8fafc; 
    padding: 15px 20px; 
    display: flex; gap: 8px; 
    border-bottom: 1px solid #e2e8f0;
}
.browser-dot { width: 12px; height: 12px; border-radius: 50%; }

.demo-preview {
    background: linear-gradient(to bottom, #f1f5f9 0%, #e2e8f0 100%);
    height: 320px; /* Højere preview */
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative; 
    overflow: hidden;
}

/* Glas-effekt kort inde i previewet */
.preview-interface {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.demo-card:hover .preview-interface { transform: scale(0.95); }

/* Noto Emoji styling */
.noto-emoji {
    height: 1.2em;
    width: auto;
    vertical-align: -0.2em;
    display: inline-block;
}

.chat-bubble-preview {
    position: absolute; 
    bottom: 30px; right: 30px; 
    background: var(--primary-color); 
    color: white; 
    padding: 12px 24px; 
    border-radius: 24px 24px 4px 24px; 
    box-shadow: 0 10px 25px rgba(99,102,241,0.4); 
    font-size: 0.95rem; 
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    display: flex; align-items: center; gap: 8px;
}

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

.demo-content { padding: 40px; text-align: center; }


/* Add this to your style.css */

.target-audience-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.target-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8; /* Subtle gray */
    margin-bottom: 16px;
    display: block;
}

.trade-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 800px; /* Prevents it from getting too wide on large screens */
    margin: 0 auto;
}

.trade-tag {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 50px; /* Pill shape */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: default;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Hover effect to make it feel alive */
.trade-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f0f9ff; /* Very light blue tint */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .trade-tags {
        gap: 8px;
    }
    
    .trade-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* --- HERO GRID LAYOUT --- */
.hero .container {
    /* Ensure container allows full width for grid */
    max-width: 1200px; 
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 60px;
    align-items: center;
    padding: 40px 0;
    text-align: left; /* Reset alignment for desktop */
}

/* Left side adjustments */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to left */
}

.hero-content h1 {
    font-size: 3.5rem; /* Make headline slightly larger on desktop */
    line-height: 1.1;
    margin-bottom: 20px;
}


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

.hero-content p {
    font-size: 1.1rem;
    max-width: 480px; /* Prevent lines from getting too long */
    margin-bottom: 30px;
    margin-left: 0;
}

.hero-trust {
    margin-top: 24px;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- RIGHT SIDE: GLASS CARD --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); /* Soft shadow */
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); /* Subtle 3D effect */
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg); /* Flatten on hover */
}

/* Mac-style dots for decoration */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 15px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #FF5F57; }
.yellow { background: #FFBD2E; }
.green { background: #28C840; }
.card-title { 
    margin-left: 10px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #94a3b8; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

/* Tag Pills */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Highlight the main trades slightly more */
.tag-pill.primary {
    border-color: #cbd5e1;
    color: #1e293b;
    font-weight: 600;
}

.tag-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15); /* Soft glow match primary */
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Stack them */
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        align-items: center; /* Center text again on mobile */
    }

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

    .glass-card {
        transform: none; /* Remove 3D effect on mobile */
        max-width: 100%;
    }
    
    .tags-cloud {
        justify-content: center;
    }
}