/* -------------------------------------------------------------------------- */
/*	Web Design Page Styles
/* -------------------------------------------------------------------------- */

.aw-wd-page {
    padding-top: var(--aw-header-height);
    background-color: #f8f9fa;
    /* Very light gray/white */
    overflow-x: hidden;
    font-family: var(--aw-font-sans);
}

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

/* Hero */
.aw-wd-hero {
    padding: 8rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(149, 0, 255, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 0, 95, 0.05), transparent 40%);
}

.aw-wd-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.aw-wd-hero__title {
    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-wd-hero__desc {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 500px;
    color: rgba(26, 11, 10, 0.7);
}

/* Browser Animation */
.aw-wd-browser {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.aw-wd-browser:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.aw-wd-browser__header {
    background: #eef1f5;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.address-bar {
    background: #fff;
    border-radius: 4px;
    padding: 0.2rem 1rem;
    font-size: 0.8rem;
    color: #999;
    flex-grow: 1;
    margin-left: 1rem;
    text-align: center;
}

.aw-wd-browser__body {
    height: 350px;
    position: relative;
    background: #fff;
}

/* Skeleton Loading */
.skeleton-layout {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeOutSkew 1s forwards 2.5s;
}

.sk-header {
    height: 40px;
    background: #f0f0f0;
    border-radius: 4px;
}

.sk-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 150px;
}

.sk-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.sk-line {
    height: 15px;
    background: #f0f0f0;
    border-radius: 4px;
}

.w-70 {
    width: 70%;
}

.w-50 {
    width: 50%;
}

.sk-image {
    background: #f0f0f0;
    border-radius: 8px;
}

.sk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    flex-grow: 1;
}

.sk-card {
    background: #f0f0f0;
    border-radius: 4px;
}

@keyframes fadeOutSkew {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

/* Final Layout */
.final-layout {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    animation: fadeInSlide 1s forwards 2.8s;
    display: flex;
    flex-direction: column;
}

.fl-header {
    height: 60px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fl-logo {
    font-weight: 900;
    color: var(--aw-color-primary);
}

.fl-nav span {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #000;
    margin-left: 5px;
}

.fl-hero {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.fl-content {
    padding-left: 1rem;
}

.fl-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(45deg, var(--aw-color-primary), var(--aw-color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fl-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--aw-color-dark);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
}

.fl-visual {
    display: flex;
    justify-content: center;
}

.fl-shape {
    width: 100px;
    height: 100px;
    background: var(--aw-color-secondary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 5s infinite ease-in-out;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
    }
}

/* Features - Glassmorphism */
.aw-wd-features {
    padding: 6rem 0;
}

.aw-wd-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.aw-wd-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aw-wd-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--aw-color-primary);
}

.aw-wd-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.aw-wd-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--aw-color-dark);
}

.aw-wd-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Methodology */
.aw-wd-methodology {
    padding: 8rem 0;
    background: #fff;
}

.aw-wd-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
}

/* Connecting Line */
.aw-wd-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aw-color-primary), var(--aw-color-secondary));
    z-index: 0;
    opacity: 0.2;
}

.aw-wd-step {
    position: relative;
    z-index: 1;
    background: #fff;
    /* mask line */
    padding-right: 1rem;
}

.aw-wd-step__number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--aw-color-primary);
    background: #fff;
    display: inline-block;
    padding-right: 1rem;
    margin-bottom: 1rem;
}

.aw-wd-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.aw-wd-step__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

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

.aw-wd-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.aw-wd-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.aw-wd-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.aw-wd-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--aw-color-primary);
    font-family: monospace;
    font-weight: 900;
}

.aw-wd-code-block {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #d4d4d4;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.code-line {
    display: block;
    margin-bottom: 0.5rem;
}

.indent-1 {
    padding-left: 1.5rem;
}

.indent-2 {
    padding-left: 3rem;
}

.c-tag {
    color: #569cd6;
}

/* FAQ */
.aw-wd-faq {
    padding: 8rem 0;
    margin-bottom: 4rem;
}

/* Accordion styles (Global) */
.aw-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
}

.aw-accordion__item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.aw-accordion__header {
    padding: 1.5rem 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

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

.aw-accordion__content {
    padding-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

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

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

    .aw-wd-browser {
        margin: 3rem auto 0;
    }

    .aw-wd-steps::before {
        display: none;
    }

    .aw-wd-list {
        text-align: left;
    }
}