.container {
    max-width: 70vw;     
    margin: 0 auto;           
    padding: 2rem 1rem;      
}

/* HERO SECTION */
.resources-hero {
    background: var(--updates-bg);
    padding: 3.5rem 0;
}
.hero-inner {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 70vw;
    margin: 0 auto;
    padding: 0 1rem; 
}
.hero-media {
    flex: 0 0 40%;  
    position: relative;
    z-index: 1;
}
.hero-media img {
    width: 100%;           
    height: auto;
    border-radius: 12px;
}
.circle-bg {
    position: absolute;
    bottom: -5vw;
    right: -10vw;
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(255, 157, 19, 0.70) 0%,
        rgba(255, 157, 19, 0.00) 100%
    );
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}
.hero-text {
    flex: 1;
    min-width: 0; 
}
.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.hero-text p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* DEMO FEATURE SECTION */
.demo-feature {
    background: var(--news-bg);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
}
.demo-container {
    max-width: 70vw;    
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
    position: relative;
    z-index: 2;
}
.demo-feature .title {
    color: var(--primary-color);
    font-family: "DM Sans", sans-serif;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}
.demo-feature .sub {
    color: var(--text-color);
    font-family: "DM Sans", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.demo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;           
    margin-top: 2.5rem;
}
@media (min-width: 768px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.demo-item {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 3;
}
.demo-image-wrapper {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}
.demo-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}
.demo-caption {
    font-family: "DM Sans", sans-serif;
    color: #111;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 1rem 0 1.25rem;
}
.demo-btn {
    display: inline-block;
    padding: 0.4rem 2rem;
    margin-top: 2rem;
    background-color: #64002a;
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.demo-btn:hover {
    background-color: #820037;
    transform: translateY(-1px);
}
.wave-design-container {
    position: absolute;
    bottom: -30rem;
    left: 0;
    width: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
}
.wave-image {
    width: 120%;
    height: auto;
    opacity: 0.2;
}
/* PLATFORMS SECTION */
.platforms-section {
	background-color:transparent;
    max-width: 70vw;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
}

.platforms-title {
    text-align: center;
    font-family: "DM Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
/* BASE FLOWER STYLE */
.platforms-section .flower-left-1,
.platforms-section .flower-left-2,
.platforms-section .flower-right-1,
.platforms-section .flower-right-2 {
    position: absolute;
    opacity: 0.22;
    pointer-events: none;
    z-index: -1;
}
.platforms-section .flower-left-1 img,
.platforms-section .flower-left-2 img,
.platforms-section .flower-right-1 img,
.platforms-section .flower-right-2 img {
    width: 100%;
    height: auto;
}
/* LEFT 1 – largest */
.flower-left-1 {
    width: 50vw;
	height: auto;
    left: -42vw;
    top:10rem;
}

/* LEFT 2 – medium */
.flower-left-2 {
    width: 50vw;
    left: -37vw;
    top: 70rem;
    transform: translateY(-50%);
}

/* RIGHT 1 – medium-large */
.flower-right-1 {
    width: 50vw;
	height: auto;
    right: -35vw;
    top: 2rem;
}

/* RIGHT 2 – smallest */
.flower-right-2 {
    width: 50vw;
    right: -30vw;
    top: 65rem;
}

/* MOBILE: hide flowers */
@media (max-width: 900px) {
    .flower-left-1,
    .flower-left-2,
    .flower-right-1,
    .flower-right-2 {
        display: none;
    }
}

/* GRID */
.platforms-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* CARD LAYOUT */
.platform-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
	z-index: 2;
}

/* Reverse layout (text left, image right) */
.platform-card.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.platform-card.reverse > * {
    direction: ltr;
}

/* IMAGE */
.platform-image {
    width: 25rem;
    height: 25rem;
    background: #e6edf5;
    border-radius: 14px;
    z-index: 0;
}

/* TEXT */
.platform-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.platform-text p {
    font-size: 1rem;
    color: #444;
    max-width: 90%;
    line-height: 1.5;
}

/* MOBILE */
@media (max-width: 900px) {
    .platform-card,
    .platform-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .platform-image {
        height: 180px;
    }

    .platforms-section .flower-design-left,
    .platforms-section .flower-design-right {
        display: none;
    }
}
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    isolation: isolate;
    padding: 3rem 1rem;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-height: calc(100vh - 6rem);
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
}

.video-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}
body.modal-open {
    overflow: hidden;
    height: 100vh;
}




