/**
 * Communication & Client Relationships Section Styles
 * Stripe-inspired minimal design with subtle gradients
 */

/* ===========================
   Section Container & Layout
   =========================== */

.communication-section {
    position: relative;
    min-height: 100vh;
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 50%, #ffffff 100%);
    overflow: hidden;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* ===========================
   Section Header
   =========================== */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 91, 255, 0.08);
    border: 1px solid rgba(99, 91, 255, 0.2);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #635bff;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
    margin: 0 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #017ACA 0%, #0096E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* ===========================
   Feature Grid
   =========================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

/* Feature Trio - Three cards in a row with center pop */
.feature-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-column: 1 / -1;
}

.feature-card--trio {
    z-index: 1;
    display: grid;
    grid-template-rows: 320px auto;
}

.feature-card--trio .feature-card__visual {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.feature-card--trio .feature-card__content {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 0.75rem;
}

.feature-card--trio .feature-icon {
    align-self: start;
}

.feature-card--trio .feature-title {
    align-self: start;
}

.feature-card--trio .feature-description {
    align-self: start;
}

.feature-card--trio .feature-list--grid {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-start;
}

.feature-card--trio.feature-card--featured {
    z-index: 10;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    border-color: #017ACA;
}

.feature-card--trio .feature-list--grid .feature-list-item {
    margin: 0;
    width: 100%;
    justify-content: flex-start;
}

/* ===========================
   Feature Cards
   =========================== */

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12), 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 91, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 91, 255, 0.3);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card--primary {
    grid-column: span 2;
    flex-direction: row;
    gap: 3rem;
}

.feature-card--primary .feature-card__visual,
.feature-card--primary .feature-card__content {
    flex: 1;
}

/* ===========================
   Feature Visual Container
   =========================== */

.feature-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.visual-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.glow--primary {
    background: radial-gradient(circle, rgba(1, 122, 202, 0.12) 0%, transparent 70%);
}

.glow--secondary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.glow--accent {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.glow--success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.glow--warning {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

/* ===========================
   Messaging Mockup
   =========================== */

.messaging-mockup {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.messaging-header {
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(1, 122, 202, 0.12) 0%, transparent 70%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.125rem;
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.project-link {
    font-size: 0.8125rem;
    color: #635bff;
    font-weight: 500;
}

.messaging-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.message--received {
    align-items: flex-start;
}

.message--sent {
    align-items: flex-end;
}

.message-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.message--received .message-content {
    background: #f1f5f9;
    color: #0f172a;
}

.message--sent .message-content {
    background: linear-gradient(135deg, #017ACA 0%, #0096E5 100%);
    color: #ffffff;
}

.message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    padding: 0 0.5rem;
}

.message-status {
    font-size: 0.75rem;
    color: #10b981;
    padding: 0 0.5rem;
}

.typing-indicator {
    display: flex;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    animation: typing 1.4s infinite;
}

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

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* ===========================
   Folder Structure Mockup
   =========================== */

.folder-structure-mockup {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.folder-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.folder-tree {
    padding: 0.75rem 0;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s ease;
}

.folder-item:hover {
    background: #fafbfc;
}

.folder-item--expanded {
    font-weight: 600;
    color: #0f172a;
}

.folder-children {
    padding-left: 1.5rem;
}

.folder-children .folder-item {
    font-size: 0.8125rem;
}

.folder-icon,
.file-icon {
    font-size: 0.875rem;
    width: 16px;
    color: #64748b;
}

.folder-item--expanded .folder-icon {
    color: #635bff;
}

.file-icon.fa-file-pdf {
    color: #ef4444;
}

.file-icon.fa-file-image {
    color: #8b5cf6;
}

/* ===========================
   Document Signing Mockup
   =========================== */

.document-signing-mockup {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.document-preview {
    padding: 1.5rem;
}

.document-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
}

.document-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.document-line {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
}

.document-line.short {
    width: 60%;
}

.document-line.medium {
    width: 80%;
}

.signature-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signature-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signature-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.signature-line {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.signature-line.signed {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    color: #1e3a5f;
    background: #f8fafc;
    letter-spacing: 0.02em;
}

.signature-field.pending .signature-line {
    border-style: dashed;
    cursor: pointer;
    transition: all 0.2s ease;
}

.signature-field.pending .signature-line:hover {
    border-color: #635bff;
    background: #fafbfc;
}

.signature-prompt {
    color: #94a3b8;
    font-size: 0.8125rem;
}

.signature-date {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 500;
}

/* ===========================
   Analytics Mockup
   =========================== */

.analytics-mockup {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.analytics-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: #64748b;
}

.analytics-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0 1.5rem 1.25rem;
    height: 80px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(1, 122, 202, 0.8), rgba(0, 150, 229, 0.8));
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.analytics-mockup:hover .chart-bar {
    opacity: 0.8;
}

.analytics-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    font-size: 0.8125rem;
    color: #64748b;
}

/* ===========================
   Relationship Mockup
   =========================== */

.relationship-mockup {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.relationship-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.relationship-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.relationship-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

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

.info-label {
    font-size: 0.8125rem;
    color: #64748b;
}

.info-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.info-value.active {
    color: #10b981;
}

.relationship-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.action-btn i {
    font-size: 0.875rem;
    color: #635bff;
}

/* ===========================
   Relationship Primary Mockup
   =========================== */

.relationship-primary-mockup {
    width: 100%;
    max-width: 340px;
}

.rel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.rel-card-visual {
    position: relative;
    height: 110px;
    background: linear-gradient(135deg, #017ACA 0%, #0096E5 50%, #00b4d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    overflow: hidden;
}

.rel-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.rel-orb-1 {
    width: 140px;
    height: 140px;
    background: #ffffff;
    top: -50px;
    left: -35px;
}

.rel-orb-2 {
    width: 110px;
    height: 110px;
    background: #ffffff;
    bottom: -45px;
    right: -25px;
}

.rel-avatar-large {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.rel-avatar-large span {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.rel-connection-line {
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

.rel-connection-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
}

.rel-avatar-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.rel-avatar-small span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #ffffff;
}

.rel-card-content {
    padding: 1.125rem 1.5rem;
    text-align: center;
}

.rel-client-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.1875rem;
    letter-spacing: -0.02em;
}

.rel-client-company {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.rel-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
}

.status-dot-active {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.rel-card-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
}

.rel-stat-item {
    text-align: center;
    padding: 0 1rem;
}

.rel-stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.rel-stat-text {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.125rem;
}

.rel-stat-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
}

/* ===========================
   Messaging Trio Mockup
   =========================== */

.messaging-trio-mockup {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.msg-header {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #017ACA 0%, #0096E5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.msg-info {
    display: flex;
    flex-direction: column;
}

.msg-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
}

.msg-status {
    font-size: 0.6875rem;
    color: #10b981;
}

.msg-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.msg {
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 85%;
}

.msg--in {
    background: #f1f5f9;
    color: #475569;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg--out {
    background: linear-gradient(135deg, #017ACA 0%, #0096E5 100%);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.msg-typing {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 12px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg-typing span {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.msg-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.msg-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ===========================
   Feature Card Content
   =========================== */

.feature-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 91, 255, 0.1);
    border-radius: 12px;
    color: #635bff;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #475569;
}

.list-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================
   Section CTA
   =========================== */

.section-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(99, 91, 255, 0.05);
    border: 1px solid rgba(99, 91, 255, 0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(1, 122, 202, 0.3), transparent);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.cta-description {
    font-size: 1.125rem;
    color: #475569;
    margin: 0 0 2rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button--primary {
    background: linear-gradient(135deg, #017ACA 0%, #0096E5 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(99, 91, 255, 0.3);
}

.cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 91, 255, 0.4);
}

.cta-button--secondary {
    background: #ffffff;
    color: #635bff;
    border: 1px solid #e2e8f0;
}

.cta-button--secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* ===========================
   Background Elements
   =========================== */

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 1;
    animation: floatOrb 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(1, 122, 202, 0.12) 0%, transparent 70%);
    top: 25%;
    left: -200px;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 150, 229, 0.10) 0%, transparent 70%);
    bottom: 25%;
    right: -150px;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 91, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 91, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ===========================
   Animations
   =========================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .feature-card--primary {
        grid-column: span 1;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .communication-section {
        padding: 4rem 0;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .feature-trio {
        grid-template-columns: 1fr;
    }

    .feature-card--trio {
        display: flex;
        flex-direction: column;
    }

    .feature-card--trio .feature-card__visual {
        height: auto;
        min-height: 280px;
    }

    .feature-card--trio .feature-card__content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .feature-card--trio.feature-card--featured {
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    }

    .feature-card--trio .feature-list--grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .feature-card--trio .feature-list--grid .feature-list-item {
        justify-content: flex-start;
        text-align: left;
    }

    .feature-list--grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card--primary {
        grid-column: span 1;
    }

    .feature-card__visual {
        min-height: 240px;
    }

    .messaging-mockup,
    .folder-structure-mockup,
    .document-signing-mockup,
    .relationship-mockup,
    .analytics-mockup {
        max-width: 100%;
    }

    .section-cta {
        padding: 2.5rem 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }

    .section-eyebrow {
        font-size: 0.8125rem;
        padding: 0.375rem 0.875rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.9375rem;
    }

    .feature-list-item {
        font-size: 0.875rem;
    }
}

