:root {
    --primary-color: #8B5CF6;
    --secondary-color: #D946EF;
    --accent-yellow: #FACC15;
    --sciyetu-bg: #FFFFFF;
    --sciyetu-text: #4C1D95;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(139, 92, 246, 0.2);
    --card-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
    --sciyetu-dark: #1E1B4B;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--sciyetu-text);
    background-color: var(--sciyetu-bg);
    background-image: radial-gradient(#F3E8FF 2.5px, transparent 2.5px), radial-gradient(#F3E8FF 2.5px, transparent 2.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Remove Wavy Dividers */
.curvy-divider,
.curvy-top {
    display: none !important;
}

/* Parallax Background Utility */
.parallax-bg {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 27, 75, 0.6);
    /* sciyetu-dark with opacity */
    z-index: 1;
}

/* Vertical Video Ratio (9:16) */
.ratio-9x16 {
    --bs-aspect-ratio: 177.77%;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--glass-border);
}

.section-padding {
    padding: 100px 0;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;

    position: relative;
    /* For divider positioning if needed, or just border */
    border-bottom: 25px solid;
    border-image: linear-gradient(to right, #FF8C00, #FACC15, rgba(255, 255, 255, 0)) 1;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

@media (max-width: 991px) {
    .hero-grid-container {
        grid-template-columns: repeat(2, 1fr);
        transform: none !important;
        /* Reset 3D transform on mobile for better visibility */
        margin-top: 2rem;
    }
}

.hero-grid-item {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 120px;
    width: 100%;
    transition: transform 0.3s ease;
}

.hero-grid-item:hover {
    transform: scale(1.05);
}

/* Make specific items span if needed for masonry feel, or keep simple */
.hero-grid-item:nth-child(1) {
    grid-column: span 2;
}

.hero-grid-item:nth-child(4) {
    grid-row: span 2;
    height: 255px;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-glass {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 700;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.bg-dark-contrast {
    background-color: var(--sciyetu-dark) !important;
    color: white !important;
}

/* Phone Mockups Fixed */
.iphone-frame,
.youtube-frame {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 45px;
    padding: 12px;
    border: 8px solid #2e1065;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* News Tabs Styling */
.news-tab-item {
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.news-tab-item:hover {
    background: rgba(139, 92, 246, 0.05);
}

.news-tab-item.active {
    background: white;
    border-color: var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-tab-item.active h6 {
    color: var(--primary-color);
}

.news-content-display {
    min-height: 400px;
}

/* Thin Partner Row */
.partners-row {
    background: white;
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.partner-logo-small {
    max-height: 40px;
    max-width: 120px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-logo-small:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer {
    background: var(--sciyetu-dark);
    color: white;
    padding: 60px 0 30px;
    border-top: 4px solid var(--secondary-color);
}