/* -------------------------------------------------------------------------- */
/*	Social Media Page Styles
/* -------------------------------------------------------------------------- */

.aw-sm-page {
    padding-top: var(--aw-header-height);
    background-color: var(--aw-color-light);
    overflow-x: hidden;
}

.aw-sm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Hero */
.aw-sm-hero {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.aw-sm-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.aw-sm-hero__title {
    font-family: var(--aw-font-sans);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--aw-color-dark);
}

.aw-sm-hero__desc {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 500px;
    color: rgba(26, 11, 10, 0.7);
}

.aw-sm-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--aw-color-primary);
    position: relative;
    /* Context for floating hearts */
}

.sm-floating-heart {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    animation: floatUp ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translateY(-150px) scale(1.5) rotate(20deg);
    }
}

.aw-sm-phone-anim {
    width: 100%;
    max-width: 400px;
    height: auto;
    overflow: visible;
    /* Allow notification to pop out if needed */
}

/* Phone Frame Draw */
.sm-phone-frame {
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: drawLine 2s ease-out forwards;
}

/* Content Elements */
.sm-avatar,
.sm-text-line,
.sm-image-detail,
.sm-actions circle {
    opacity: 0;
    animation: fadeInUpContent 0.5s ease-out forwards;
}

.sm-post-image {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    fill: rgba(0, 0, 0, 0.02);
    /* Slight tint */
    animation: drawLine 1.5s ease-out forwards 0.5s;
}

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

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

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

/* Notification Pop */
.sm-notification {
    opacity: 0;
    transform: scale(0) translateY(20px);
    transform-origin: 330px 410px;
    animation: popNotification 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2.5s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInUpContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes popNotification {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



/* Intro */
.aw-sm-intro {
    padding: 6rem 0;
    background-color: #fff;
}

.aw-sm-intro__grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.aw-sm-intro__highlight {
    background: var(--aw-color-dark);
    color: #fff;
    padding: 3rem;
    position: relative;
    border-radius: 4px;
}

.aw-sm-intro__highlight blockquote {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.aw-sm-intro__highlight cite {
    font-family: var(--aw-font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* Methodology */
.aw-sm-methodology {
    padding: 8rem 0;
    background-color: var(--aw-color-light);
}

.aw-sm-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.aw-sm-step {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.aw-sm-step:hover {
    transform: translateY(-10px);
}

.aw-sm-step__number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--aw-color-primary);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.aw-sm-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--aw-color-dark);
}

.aw-sm-step__desc {
    font-size: 0.95rem;
    color: rgba(26, 11, 10, 0.7);
    line-height: 1.6;
}

/* Deliverables */
.aw-sm-deliverables {
    padding: 8rem 0;
    background-color: var(--aw-color-dark);
    color: #fff;
}

.aw-sm-list {
    list-style: none;
    padding: 0;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.aw-sm-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.aw-sm-list__icon {
    font-size: 1.5rem;
    color: var(--aw-color-primary);
    line-height: 1;
}

.aw-sm-list strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.aw-sm-list span {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* FAQ */
.aw-sm-faq {
    padding: 8rem 0;
    background-color: #fff;
    margin-bottom: 4rem;
}

/* Reusing Accordion styles from global or id-visual if not shared. 
   Assuming basic accordion styles might be needed here if not global.
   Copying minimalist version for safety. */
.aw-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
}

.aw-accordion__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.aw-accordion__header {
    list-style: none;
    padding: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aw-accordion__header::-webkit-details-marker {
    display: none;
}

.aw-accordion__icon {
    font-weight: 300;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.aw-accordion__item[open] .aw-accordion__icon {
    transform: rotate(45deg);
}

.aw-accordion__content {
    padding-bottom: 2rem;
    color: rgba(26, 11, 10, 0.7);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {

    .aw-sm-hero__grid,
    .aw-sm-intro__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .aw-sm-hero__desc {
        margin: 0 auto;
    }

    .aw-sm-intro__highlight {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .aw-sm-list {
        grid-template-columns: 1fr;
    }
}