:root {
    --pure-white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #e5e5e5;
    --mid-gray: #a3a3a3;
    --dark-slate: #1a1a1a;
    --text-main: #333333;
    --accent-dark: #000000;
    --font-stack: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: var(--pure-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

a {
    color: var(--dark-slate);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

h1, h2, h3, strong {
    color: var(--dark-slate);
    font-weight: 600;
    line-height: 1.2;
}

.aed-section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.aed-text-center {
    text-align: center;
}

.aed-btn-primary {
    display: inline-block;
    background-color: var(--accent-dark);
    color: var(--pure-white);
    padding: 1rem 2rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.aed-btn-primary:hover {
    background-color: var(--text-main);
    color: var(--pure-white);
    opacity: 1;
}

/* Header */
.aed-global-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--light-gray);
    z-index: 100;
    padding: 1.25rem 4%;
}

.aed-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.aed-brand-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.aed-brand-init {
    background-color: var(--dark-slate);
    color: var(--pure-white);
    padding: 0.4rem 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.aed-brand-text {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.aed-primary-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.aed-primary-nav a {
    font-size: 0.9rem;
    font-weight: 500;
}

.aed-action-link {
    border: 1px solid var(--dark-slate);
    padding: 0.5rem 1.2rem;
}

/* Hero - Asymmetric Grid */
.aed-hero-frame {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    padding: 6vh 4% 10vh;
    max-width: 1400px;
    margin: 0 auto;
}

.aed-hero-copy {
    grid-column: 1 / 7;
    grid-row: 1;
    background: var(--pure-white);
    padding: 3rem 3rem 3rem 0;
    z-index: 2;
}

.aed-hero-headline {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.aed-hero-sub {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.aed-hero-visual {
    grid-column: 5 / 13;
    grid-row: 1;
    z-index: 1;
    margin-top: 8rem;
}

.aed-hero-visual img {
    aspect-ratio: 4/3;
}

/* Story Module */
.aed-story-module {
    background-color: var(--off-white);
    padding: 8vh 4%;
}

.aed-story-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.aed-story-image {
    flex: 1 1 400px;
}

.aed-story-text {
    flex: 1 1 500px;
}

.aed-story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.aed-inline-link {
    text-decoration: underline;
    text-decoration-color: var(--mid-gray);
    text-underline-offset: 3px;
}

.aed-metric-highlight {
    border-left: 3px solid var(--dark-slate);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}

.aed-metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.aed-metric-label {
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aed-cert-note {
    font-size: 0.85rem !important;
    color: var(--mid-gray);
    font-style: italic;
}

/* Solutions Board */
.aed-solutions-board {
    padding: 10vh 4%;
    max-width: 1400px;
    margin: 0 auto;
}

.aed-solutions-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.aed-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.aed-solution-card {
    background: var(--pure-white);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease;
}

.aed-solution-card:hover {
    transform: translateY(-5px);
}

.aed-solution-card img {
    aspect-ratio: 16/10;
    border-bottom: 1px solid var(--light-gray);
}

.aed-card-body {
    padding: 2rem;
}

.aed-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.aed-card-body p {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* FAQ Accordion */
.aed-faq-section {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--light-gray);
    padding-top: 4rem;
}

.aed-faq-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.aed-faq-item {
    border-bottom: 1px solid var(--light-gray);
}

.aed-faq-head {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-stack);
    color: var(--dark-slate);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aed-faq-head::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.aed-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    background-color: var(--off-white);
}

.aed-faq-body p {
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
}

/* Feedback Cluster */
.aed-feedback-cluster {
    background-color: var(--dark-slate);
    color: var(--pure-white);
    padding: 10vh 4%;
}

.aed-feedback-cluster .aed-section-title {
    color: var(--pure-white);
    margin-bottom: 4rem;
}

.aed-feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.aed-testimonial-block {
    background-color: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.aed-quote {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--light-gray);
}

.aed-client-id {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.aed-client-id img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.aed-client-id strong {
    display: block;
    color: var(--pure-white);
    font-size: 0.95rem;
}

.aed-client-id span {
    font-size: 0.8rem;
    color: var(--mid-gray);
}

/* Features Ribbon */
.aed-features-ribbon {
    padding: 8vh 4%;
    border-bottom: 1px solid var(--light-gray);
}

.aed-feature-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.aed-feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.aed-feature-list li {
    flex: 1 1 250px;
}

.aed-feature-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.aed-feature-list p {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Connect Zone */
.aed-connect-zone {
    display: flex;
    flex-wrap: wrap;
}

.aed-connect-visual {
    flex: 1 1 50%;
    min-height: 500px;
}

.aed-connect-visual img {
    height: 100%;
}

.aed-connect-form-wrap {
    flex: 1 1 50%;
    padding: 8vh 6%;
    background-color: var(--off-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aed-form-intro {
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.aed-form {
    max-width: 500px;
}

.aed-input-group {
    margin-bottom: 1.5rem;
}

.aed-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aed-input-group input,
.aed-input-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--mid-gray);
    background-color: var(--pure-white);
    font-family: var(--font-stack);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.aed-input-group input:focus,
.aed-input-group textarea:focus {
    outline: none;
    border-color: var(--dark-slate);
}

.aed-disclaimer {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--mid-gray);
    line-height: 1.4;
}

/* Footer */
.aed-global-footer {
    background-color: var(--pure-white);
    padding: 4rem 4% 2rem;
    border-top: 1px solid var(--light-gray);
}

.aed-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.aed-footer-col strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.aed-footer-col p,
.aed-footer-col a {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

.aed-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
    font-size: 0.8rem;
    color: var(--mid-gray);
}

/* Responsive Quirks */
@media (max-width: 1024px) {
    .aed-hero-frame {
        grid-template-columns: 1fr;
        padding-top: 4vh;
    }
    .aed-hero-copy {
        grid-column: 1 / -1;
        padding: 0 0 2rem 0;
    }
    .aed-hero-visual {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .aed-primary-nav {
        display: none;
    }
    .aed-section-title {
        font-size: 1.8rem;
    }
    .aed-hero-headline {
        font-size: 2.5rem;
    }
    .aed-story-layout {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .aed-connect-visual {
        display: none;
    }
    .aed-connect-form-wrap {
        flex: 1 1 100%;
    }
}
