/* ═══════════════════════════════════════════
   Website Designing — Angular Geometric UI
   ═══════════════════════════════════════════ */

.wd-page {
    position: relative;
    overflow-x: hidden;
    background: var(--dark);
}

/* Floating angular shapes */
.wd-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wd-shape {
    position: absolute;
    opacity: 0.12;
    background: var(--gradient-primary);
}

.wd-shape-1 {
    width: 280px;
    height: 280px;
    top: 12%;
    right: -80px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: wdFloat 14s ease-in-out infinite;
}

.wd-shape-2 {
    width: 160px;
    height: 160px;
    bottom: 25%;
    left: -40px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 30% 100%, 0 70%);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    animation: wdFloat 18s ease-in-out infinite reverse;
}

.wd-shape-3 {
    width: 100px;
    height: 100px;
    top: 55%;
    right: 8%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: wdFloat 12s ease-in-out infinite 2s;
}

@keyframes wdFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(8deg); }
}

/* ── Hero ── */
.wd-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.wd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 45%);
    pointer-events: none;
}

.wd-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--dark);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.wd-hero .container {
    position: relative;
    z-index: 2;
}

.wd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.wd-hero-content .section-badge {
    margin-bottom: 16px;
}

.wd-angular-badge {
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.wd-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
}

.wd-hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 72px;
    height: 4px;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.wd-hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wd-hero-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid var(--primary);
}

.wd-hero-visual {
    position: relative;
}

.wd-hero-visual::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid rgba(37, 99, 235, 0.35);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.wd-img-angular {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    background: var(--dark-light);
    box-shadow: var(--shadow-glow);
}

.wd-img-angular::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}

.wd-img-angular-alt {
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
}

.wd-img-angular-alt::after {
    left: auto;
    right: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.wd-hero-img,
.wd-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 800 / 520;
}

.wd-img-wrap {
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.wd-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 800 / 520;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wd-img-wrap:hover img {
    transform: scale(1.03);
}

/* ── Content sections ── */
.wd-content-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.wd-content-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--dark);
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
    transform: translateY(-99%);
}

.wd-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.wd-prose h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.3;
    padding-left: 16px;
    border-left: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
}

.wd-prose h3 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wd-prose p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 18px;
}

.wd-prose p:last-child {
    margin-bottom: 0;
}

/* Angular aspiration cards */
.wd-aspirations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.wd-angular-card {
    position: relative;
    padding: 24px 24px 24px 28px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--dark-border);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
    transition: var(--transition);
    overflow: hidden;
}

.wd-angular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.wd-angular-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateX(6px);
}

.wd-angular-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
}

.wd-angular-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.wd-angular-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Diagonal band */
.wd-angular-band {
    position: relative;
    padding: 72px 0;
    margin: 0;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 1) 50%, rgba(6, 182, 212, 0.08) 100%);
    clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
    z-index: 1;
}

.wd-angular-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(37, 99, 235, 0.03) 20px,
        rgba(37, 99, 235, 0.03) 22px
    );
    pointer-events: none;
}

.wd-angular-panel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 40px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.2);
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    position: relative;
    z-index: 1;
}

.wd-angular-panel p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.85;
    margin: 0;
}

/* Services */
.wd-services-section {
    padding: 100px 0 80px;
    background: var(--dark-light);
    position: relative;
    z-index: 1;
}

.wd-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--dark-light);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.wd-services-title {
    text-align: center;
    margin-bottom: 40px;
}

.wd-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.wd-angular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 20px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--dark-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: var(--transition);
    position: relative;
}

.wd-angular-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wd-angular-item:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.wd-angular-item:hover::before {
    opacity: 1;
}

.wd-angular-item i {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

/* Gallery */
.wd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Angular CTA */
.wd-angular-cta {
    text-align: center;
    padding: 48px 32px;
    margin-top: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(37, 99, 235, 0.35);
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    position: relative;
    overflow: hidden;
}

.wd-angular-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wd-angular-cta h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
}

.wd-angular-cta h3 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wd-angular-cta p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    position: relative;
}

.wd-angular-cta .btn {
    position: relative;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.wd-page-cta {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .wd-hero-grid,
    .wd-content-grid {
        grid-template-columns: 1fr;
    }

    .wd-aspirations {
        grid-template-columns: 1fr;
    }

    .wd-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .wd-angular-band {
        clip-path: none;
        padding: 60px 0;
    }

    .wd-shape-1,
    .wd-shape-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .wd-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .wd-content-section,
    .wd-services-section {
        padding: 60px 0;
    }

    .wd-angular-panel {
        padding: 24px 20px;
        clip-path: none;
    }

    .wd-angular-cta {
        clip-path: none;
        padding: 32px 20px;
    }

    .wd-img-angular,
    .wd-img-angular-alt {
        clip-path: none;
    }

    .wd-gallery {
        grid-template-columns: 1fr;
    }
}
