/* CSS Variables & Theme */
:root {
    --primary-solid: #013b3b;
    /* Deep Teal */
    --primary-light: #004d4d;
    /* Dark Teal */
    --accent: #22c55e;
    /* Vibrant Green */
    --text-main: #f0fdfa;
    /* Mint White */
    --text-muted: #a3b8b8;
    /* Teal Muted */
    --bg-dark: #001f1f;
    /* Deepest Teal */
    --bg-card: rgba(0, 59, 59, 0.7);
    --border-color: #085454;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1100px;
    --spacing-section: 4rem;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

section {
    padding: var(--spacing-section) 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    /* Larger for landing */
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-solid);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Header / Hero */
.hero-section {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
    background: var(--bg-dark);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/dublin-bridge.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    /* Slightly more subtle to pop the graphic */
    background-color: var(--bg-dark);
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark) 0%, rgba(0, 31, 31, 0.4) 50%, transparent 100%),
        linear-gradient(to top, var(--bg-dark) 5%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at left center, transparent 0%, var(--bg-dark) 100%);
    opacity: 0.6;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        min-height: 600px;
    }

    .hero-content {
        flex: 1;
        max-width: 600px;
    }

    .hero-visual {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
}

.logo-area {
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-start;
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.logo:hover {
    transform: scale(1.05);
}

.hero-composite-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    animation: float 6s ease-in-out infinite;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(-10deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-5deg) rotateX(5deg);
    }
}

.hero-title {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 0 1rem;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* About Page Specific Readability */
.about-hero .hero-bg {
    opacity: 0.25;
    /* Darker overlay to pop text */
    background-color: #000;
}

.about-hero .hero-bg::after {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.25rem;
    }
}

.hero-subtitle-top {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--primary-solid);
    background-color: var(--accent);
    /* High contrast badge style */
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.hero-tagline {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 0 3rem;
    color: var(--text-main);
    opacity: 0.95;
    line-height: 1.5;
}

.hero-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    opacity: 0.8;
}

.hero-form .checkbox-group {
    grid-column: span 2;
    margin: 0.5rem 0;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-main);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.checkbox-container:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .hero-form .checkbox-group {
        grid-column: span 1;
    }
}

.hero-form-container {
    margin-top: 2.5rem;
    max-width: 480px;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-form .form-group {
    position: relative;
}

.hero-form input {
    width: 100%;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.hero-form .btn-full {
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-terms {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .hero-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hero-form .btn-full {
        grid-column: span 2;
    }

    .hero-form .form-terms {
        grid-column: span 1;
    }

    .form-note {
        grid-column: span 2;
    }
}

.security-note {
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.7;
}

/* Problem Section */
.section-intro {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.problem-item {
    background: linear-gradient(135deg, rgba(0, 77, 77, 0.4), rgba(1, 59, 59, 0.6));
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 24px -10px rgba(56, 189, 248, 0.2);
}

.problem-item:hover::before {
    opacity: 1;
}

.problem-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.problem-item:hover .icon {
    transform: scale(1.1);
    opacity: 1;
}

.problem-item p {
    margin: 0;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.3;
}

.problem-conclusion {
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.building-section {
    background: linear-gradient(to bottom, var(--bg-dark), rgba(15, 23, 42, 0.3));
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Who We Are & Pledge */
.who-we-are-section {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), var(--bg-dark));
}

.founder-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.founder-message p:not(.lead-text) {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.commitment-pledge {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    position: relative;
    margin-top: 5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pledge-seal {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Density & Supply Sections */
.density-section {
    background: var(--bg-dark);
    text-align: center;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.stat-highlight {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
}

.stat-highlight .number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-highlight .label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Offer Card */
.offer-section {
    background: linear-gradient(to bottom, var(--bg-dark), var(--primary-solid));
    text-align: center;
}

.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.offer-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary-solid);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.offer-card .price {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.offer-card .period {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.vat-note {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.offer-details {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: inline-block;
    text-align: left;
}

.offer-details li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.offer-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

.offer-note {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-dark);
}

.benefits-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.benefits-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefits-list li:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}

.benefits-list .check {
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2rem;
}

.commitment-pledge p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 2rem !important;
}

.pledge-signature {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sig-text {
    font-family: 'Inter', sans-serif;
    /* Fallback to a clean bold signature */
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card-icon {
    margin-bottom: 1.5rem;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.solution-card:hover .card-icon {
    background: var(--accent);
    color: var(--primary-solid);
    transform: rotateY(180deg);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.solution-card p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
}

/* Comparison Table */
.comparison-table {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--primary-light);
    font-weight: 700;
    color: var(--text-main);
}

.col.highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Density Logic */
/* Supply Section */
.supply-section {
    background: var(--bg-dark);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem;
}

.reason-item {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid #ef4444;
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

.reason-item p {
    margin: 0;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}

.rule-box {
    margin-top: 5rem;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.rule-box.urgent {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.15) 0%, rgba(2, 6, 23, 0.8) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-top: 4px solid #ef4444;
}

.rule-box h3 {
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.rule-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    line-height: 1.1;
}

.rule-details {
    list-style: none;
    display: inline-grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 3rem;
    text-align: left;
}

.rule-details li {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    position: relative;
    font-weight: 500;
}

.rule-details li::before {
    content: "✕";
    color: #ef4444;
    margin-right: 1rem;
    font-weight: 900;
}

.rule-conclusion {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 1.5rem;
}

.offer-card.featured {
    border-width: 2px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    max-width: 600px;
}

.commitment-period {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
}

.use-of-funds {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.use-of-funds h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.use-of-funds ul {
    list-style: none;
}

.use-of-funds li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.use-of-funds li::before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.funding-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

/* Math Comparison */
.math-comparison {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.math-comparison h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.math-box {
    max-width: 500px;
    margin: 2rem auto;
}

.box-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.box-row.highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--accent);
}

.math-result {
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
}

/* Phase Info / Transparency */
.phase-info {
    background: var(--primary-light);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.phase-info h3 {
    margin-bottom: 2rem;
}

.phase-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.phase-info li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.phase-info li::before {
    content: "📌";
    position: absolute;
    left: 0;
}

.transparency-note {
    font-weight: 700;
    text-align: center;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Refund Box */
.refund-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.refund-details {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.refund-details li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.refund-details li::before {
    content: "✕";
    color: #ef4444;
    position: absolute;
    left: 0;
}

/* Charter Section */
.charter-list {
    list-style: none;
    margin: 2rem 0;
}

.charter-list li {
    background: var(--bg-card);
    margin-bottom: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    font-weight: 500;
}

.trust-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.8;
}

/* Final Word */
.final-word-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--primary-solid);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--accent);
}

.cta-trigger {
    font-size: 1.5rem;
    margin: 2rem 0;
    color: var(--text-main);
}

.no-obligation {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Registration Form */
.registration-section {
    background: var(--bg-dark);
}

.registration-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.registration-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.registration-header .section-title {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    color: var(--text-main);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--accent);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid var(--primary-solid);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn-full {
    width: 100%;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.6;
}

@media (max-width: 640px) {
    .registration-container {
        padding: 2rem 1.5rem;
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        text-align: center;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 4rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 1;
        margin-top: 0;
        justify-content: flex-end;
    }

    .hero-title {
        margin-left: 0;
        font-size: 1.5rem;
        /* Consistently small */
    }

    .hero-subtitle {
        margin-left: 0;
    }

    .logo-area {
        justify-content: flex-start;
    }

    .credibility-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
        gap: 6rem;
    }

    .credibility-content-wrapper {
        padding-right: 0;
    }
}

.credibility-section {
    background-color: var(--bg-dark);
    /* Solid deep dark background */
}

.credibility-accent {
    border-left: 4px solid var(--accent);
    padding: 1rem 0 1rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.credibility-accent p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-muted);
}

.credibility-accent p strong {
    color: var(--text-main);
    font-weight: 700;
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .comparison-row {
        grid-template-columns: 1fr 1fr;
        /* Hide middle col or stack? Table is hard on mobile */
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem;
    }

    .comparison-row.header {
        display: none;
        /* Hide header on mobile if stacking */
    }

    .comparison-row .col:first-child {
        font-weight: bold;
        color: var(--text-muted);
        font-size: 0.9rem;
    }

    /* Re-structuring for mobile table */
    .comparison-row .col:nth-child(2)::before {
        content: "Traditional Apps: ";
        font-weight: bold;
        color: var(--text-muted);
    }

    .comparison-row .col:nth-child(3)::before {
        content: "Turais: ";
        font-weight: bold;
        color: var(--accent);
    }
}

/* Driver Signup Page Specific Styles */
.hero-signup-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
}

.hero-signup-card .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.hero-signup-card .section-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-align: left;
}

.tier-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--primary-solid));
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem;
    /* Even tighter padding */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tier-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
    /* Removed scale to avoid overflow issues */
}

.tier-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.tier-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-solid);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.tier-limit {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
}

.tier-table-wrapper {
    margin-bottom: 2rem;
    overflow-x: hidden;
    /* Assertively hide scrollbars */
}

.tier-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    /* Further reduced font size */
    color: var(--text-main);
    /* Removed table-layout: fixed; */
}

.tier-table th {
    text-align: left;
    padding: 0.75rem 0.1rem;
    /* Minimum padding */
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    white-space: nowrap;
    /* Prevent messy wrapping if possible */
}

.tier-table td {
    padding: 0.75rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-table tr:last-child td {
    border-bottom: none;
}

.saving-highlight {
    color: var(--accent);
    font-weight: 700;
}

.tier-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tier-best-for {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.tier-message {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.media-campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    font-weight: 700;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .hero-signup-card {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    .tier-card {
        padding: 1.5rem;
    }
}

/* APP Page Specific Styles */
.app-download-container {
    margin-top: 2.5rem;
}

.download-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.9;
}

.store-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.store-button-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.store-badge {
    height: 48px;
    width: auto;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.coming-soon-badge {
    position: absolute;
    top: -12px;
    right: -10px;
    background: var(--accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary-solid);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.app-mock-display {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .store-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}