@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================
   CSS RESET & ROOT
   ========================================== */
:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --text-dark: #1e272e;
    --text-body: #636e72;
    --text-light: #b2bec3;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --yellow: #fdcb6e;
    --blue: #0984e3;
    --green: #00b894;
    --red: #ff7675;
    --peach: #ffeaa7;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}



a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   HEADER / NAV
   ========================================== */
header {
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--text-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: var(--bg-light);
    transition: background 0.3s;
}

.lang-switch:hover {
    background: #eee;
}

.lang-active {
    color: var(--primary);
}

.lang-inactive {
    color: var(--text-light);
}

.lang-sep {
    color: var(--text-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu ul li {
    margin: 1.5rem 0;
}

.mobile-menu ul li a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: var(--primary);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-green {
    background: var(--green);
    color: white;
}

.btn-green:hover {
    background: #00a884;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    padding: 10rem 0 6rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 90vh;
}

.hero-left {
    flex: 1;
    position: relative;
    z-index: 5;
}

.hero-left h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-left h1 .emoji {
    display: inline-block;
    font-size: 2.5rem;
    vertical-align: middle;
}

.hero-left p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 460px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-actions .version-text {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* Hero right: abstract blob + floating cards */
.hero-right {
    flex: 1.2;
    position: relative;
    height: 500px;
}

.blob {
    position: absolute;
    top: 5%;
    right: 0;
    width: 420px;
    height: 380px;
    background: var(--peach);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

/* ==========================================
   PHONE MOCKUP — CSS Device Frames
   ========================================== */
.phone-mockup {
    width: 220px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.15) inset;
}

.phone-notch {
    width: 80px;
    height: 22px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #2d2d4e;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-mockup img {
    width: 100%;
    border-radius: 22px;
    display: block;
    object-fit: cover;
    aspect-ratio: 9/19.5;
}

/* Clean circle overlay to cover profile avatar for privacy */
.phone-mockup.has-face::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, #e8e6ef 60%, #ddd8e8 100%);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Phone Showcase — Hero */
.phone-showcase {
    position: absolute;
    top: 50%;
    left: 77%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: -20px;
    z-index: 2;
}

.phone-showcase .phone-center {
    z-index: 3;
    transform: scale(1.1);
}

.phone-showcase .phone-back-left {
    z-index: 1;
    transform: rotate(-8deg) translateX(30px) scale(0.9);
    opacity: 0.85;
    filter: brightness(0.95);
}

.phone-showcase .phone-back-right {
    z-index: 1;
    transform: rotate(8deg) translateX(-30px) scale(0.9);
    opacity: 0.85;
    filter: brightness(0.95);
}

.phone-showcase .phone-center:hover {
    transform: scale(1.15);
}

.phone-showcase .phone-back-left:hover {
    transform: rotate(-4deg) translateX(30px) scale(0.95);
    opacity: 1;
    filter: brightness(1);
}

.phone-showcase .phone-back-right:hover {
    transform: rotate(4deg) translateX(-30px) scale(0.95);
    opacity: 1;
    filter: brightness(1);
}

/* Floating badges */
.float-badge {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.float-badge.top {
    top: 0;
    left: 35%;
    color: #e17055;
}

.float-badge.top .num {
    background: var(--yellow);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.float-badge.bottom {
    bottom: 5%;
    left: 15%;
}

/* ==========================================
   BOGO-STYLE PREMIUM SHAPES
   ========================================== */
.shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* ---- Colors ---- */
.s-yellow { --sc: #fdcb6e; }
.s-blue   { --sc: #0984e3; }
.s-purple { --sc: #6c5ce7; }
.s-green  { --sc: #00b894; }
.s-red    { --sc: #ff7675; }

/* ---- Sizes ---- */
.sz-sm { transform: scale(1); }
.sz-md { transform: scale(1.4); }
.sz-lg { transform: scale(2); }

/* Vary animation speed per size */
.sz-sm .shape-plus, .sz-sm.shape-plus { animation-duration: 6s; }
.sz-sm .shape-dot, .sz-sm.shape-dot { animation-duration: 4s; }
.sz-sm .shape-ring, .sz-sm.shape-ring { animation-duration: 5s; }
.sz-sm .shape-diamond, .sz-sm.shape-diamond { animation-duration: 5.5s; }
.sz-sm .shape-star, .sz-sm.shape-star { animation-duration: 7s; }

.sz-lg .shape-plus, .sz-lg.shape-plus { animation-duration: 12s; }
.sz-lg .shape-dot, .sz-lg.shape-dot { animation-duration: 9s; }
.sz-lg .shape-ring, .sz-lg.shape-ring { animation-duration: 10s; }
.sz-lg .shape-diamond, .sz-lg.shape-diamond { animation-duration: 11s; }
.sz-lg .shape-star, .sz-lg.shape-star { animation-duration: 14s; }

/* ---- PLUS / CROSS shape ---- */
.shape-plus {
    width: 22px;
    height: 22px;
    animation: shapeSpin 8s linear infinite;
}
.shape-plus::before, .shape-plus::after {
    content: '';
    position: absolute;
    background: var(--sc);
    border-radius: 3px;
}
.shape-plus::before {
    top: 8px; left: 0;
    width: 22px; height: 6px;
}
.shape-plus::after {
    top: 0; left: 8px;
    width: 6px; height: 22px;
}

/* ---- DOT shape ---- */
.shape-dot {
    width: 12px;
    height: 12px;
    background: var(--sc);
    border-radius: 50%;
    animation: shapeFloat 5s ease-in-out infinite;
}

/* ---- RING shape ---- */
.shape-ring {
    width: 28px;
    height: 28px;
    border: 4px solid var(--sc);
    border-radius: 50%;
    animation: shapePulse 6s ease-in-out infinite;
}

/* ---- DIAMOND shape ---- */
.shape-diamond {
    width: 28px;
    height: 28px;
    background: var(--sc);
    transform: rotate(45deg);
    border-radius: 3px;
    animation: shapeBounce 7s ease-in-out infinite;
}

/* ---- STAR shape ---- */
.shape-star {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 54px solid var(--sc);
    opacity: 0.01;
    z-index: 0;
    animation: shapeStarFloat 9s ease-in-out infinite;
}
.shape-star::after {
    content: '';
    position: absolute;
    top: 18px;
    left: -30px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 54px solid var(--sc);
}

/* ---- Staggered delays for variety ---- */
.shape:nth-child(2) { animation-delay: -1.5s; }
.shape:nth-child(3) { animation-delay: -3s; }
.shape:nth-child(4) { animation-delay: -4.5s; }
.shape:nth-child(5) { animation-delay: -6s; }
.shape:nth-child(6) { animation-delay: -7.5s; }
.shape:nth-child(7) { animation-delay: -2s; }
.shape:nth-child(8) { animation-delay: -5s; }

/* ---- KEYFRAMES ---- */
@keyframes shapeSpin {
    0%   { transform: rotate(0deg) scale(1); opacity: 0.7; }
    25%  { transform: rotate(90deg) scale(1.15); opacity: 1; }
    50%  { transform: rotate(180deg) scale(1); opacity: 0.7; }
    75%  { transform: rotate(270deg) scale(1.15); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.7; }
}

@keyframes shapeFloat {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25%  { transform: translate(12px, -18px) scale(1.3); opacity: 1; }
    50%  { transform: translate(-8px, -30px) scale(0.8); opacity: 0.5; }
    75%  { transform: translate(15px, -10px) scale(1.2); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

@keyframes shapePulse {
    0%   { transform: scale(1); opacity: 0.5; }
    30%  { transform: scale(1.3); opacity: 0.9; }
    60%  { transform: scale(0.85); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes shapeBounce {
    0%   { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    20%  { transform: rotate(45deg) translateY(-20px); opacity: 1; }
    40%  { transform: rotate(45deg) translateY(-5px); opacity: 0.8; }
    60%  { transform: rotate(45deg) translateY(-15px); opacity: 0.9; }
    80%  { transform: rotate(45deg) translateY(-2px); opacity: 0.7; }
    100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
}

@keyframes shapeStarFloat {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    33%  { transform: translateY(-25px) rotate(120deg); opacity: 1; }
    66%  { transform: translateY(10px) rotate(240deg); opacity: 0.5; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.6; }
}

/* Keep original hero shapes but restyle */
.geo-triangle {
    position: absolute;
    bottom: 25%;
    left: -5%;
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--blue);
    z-index: 3;
    animation: shapeStarFloat 6s ease-in-out infinite;
}

.geo-circle {
    position: absolute;
    top: 10%; right: 5%;
    width: 18px; height: 18px;
    background: var(--blue);
    border-radius: 50%;
    z-index: 3;
    animation: shapeFloat 7s ease-in-out infinite;
}

.geo-play {
    position: absolute;
    top: 30%; left: 0;
    width: 0; height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--green);
    z-index: 3;
    animation: shapeBounce 5s ease-in-out infinite;
}



/* ==========================================
   PROCESS SECTION
   ========================================== */
.process-section {
    padding: 2rem 0 6rem 0;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.process-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

.process-left p {
    color: var(--text-body);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.process-cards {
    flex: 2;
    display: flex;
    gap: 2rem;
}

.p-card {
    flex: 1;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    background: transparent;
}

.p-card:hover,
.p-card.active {
    background: white;
    box-shadow: var(--shadow);
}

.p-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.p-icon.yellow {
    background: var(--yellow);
}

.p-icon.purple {
    background: var(--primary);
}

.p-icon.red {
    background: var(--red);
}

.p-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.p-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================
   DETAILED FEATURES SECTION
   ========================================== */
.detailed-features {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    scroll-margin-top: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feat-card {
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feat-card:hover {
    transform: translateY(-8px);
}

.feat-card:nth-child(1) {
    background-color: #c8f5dc;
    /* vibrant pastel green */
    color: #1e272e;
}

.feat-card:nth-child(2) {
    background-color: #bce6ff;
    /* vibrant pastel blue */
    color: #1e272e;
}

.feat-card:nth-child(3) {
    background-color: #fce3d0;
    /* vibrant pastel orange */
    color: #1e272e;
}

.feat-card:nth-child(4) {
    background-color: #faccda;
    /* vibrant pastel pink */
    color: #1e272e;
}

.feat-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.feat-card:hover .feat-img {
    transform: scale(1.05) translateY(-5px);
}

.feat-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feat-card p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

.feat-points {
    list-style: none;
    border-top: 1px solid #f1f2f6;
    padding-top: 0.8rem;
}

.feat-points li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feat-points li i {
    color: var(--green);
    font-size: 1rem;
}

/* ==========================================
   OFFERS SECTION
   ========================================== */
.offers-section {
    padding: 6rem 0;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.offers-phones {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.offers-phones .phone-mockup {
    width: 180px;
}

.offers-phones .phone-mockup:first-child {
    transform: rotate(-6deg) translateY(15px);
}

.offers-phones .phone-mockup:nth-child(2) {
    transform: rotate(4deg) translateY(-15px);
}

.offers-phones .phone-mockup:first-child:hover {
    transform: rotate(-3deg) translateY(7px);
}

.offers-phones .phone-mockup:nth-child(2):hover {
    transform: rotate(2deg) translateY(-23px);
}

.happy-badge {
    position: absolute;
    top: 5%;
    right: 5%;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.happy-badge .count {
    background: var(--green);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.offers-content {
    flex: 1;
}

.offers-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}

.offer-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.2rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateX(5px);
}

.offer-card:nth-child(2) {
    margin-left: 1rem;
}

.offer-card:nth-child(3) {
    margin-left: 2rem;
}

.offer-card.green {
    border-left-color: var(--green);
}

.offer-card.blue {
    border-left-color: var(--blue);
}

.offer-card.red {
    border-left-color: var(--red);
}

.offer-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.offer-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================
   FEATURE DETAIL SECTIONS
   ========================================== */
.feature-section {
    padding: 6rem 0;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.f-text {
    flex: 1;
}

.f-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.f-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.f-text>p {
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.sub-features {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.sub-f-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.2rem;
    font-size: 2.5rem;
}

.sub-f h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.sub-f p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.f-visual {
    flex: 1.2;
    position: relative;
}

.f-visual .half-circle {
    position: absolute;
    top: -5%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: var(--peach);
    border-radius: 50%;
    z-index: -1;
}

.f-visual img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Mobile section visual */
.mobile-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
}

.mobile-visual .phone-mockup {
    width: 200px;
}

.mobile-visual .phone-mockup:first-child {
    transform: rotate(-5deg) translateY(-10px);
}

.mobile-visual .phone-mockup:last-child {
    transform: rotate(5deg) translateY(10px);
}

.mobile-visual .phone-mockup:first-child:hover {
    transform: rotate(-2deg) translateY(-18px);
}

.mobile-visual .phone-mockup:last-child:hover {
    transform: rotate(2deg) translateY(2px);
}

/* ==========================================
   APP SUITE SECTION
   ========================================== */
.apps-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.app-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.app-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.parent-gradient {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.student-gradient {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
}

.teacher-gradient {
    background: linear-gradient(135deg, #00b894, #55efc4);
}

.admin-gradient {
    background: linear-gradient(135deg, #e17055, #fab1a0);
}

.app-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.app-card>p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.app-card-features {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    width: max-content;
    margin: 0 auto;
}

.app-card-features span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    /* Square with rounded corners is very tech/SaaS */
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.app-card-features span i {
    font-size: 1.15rem;
}

/* Parent Card Tag Colors */
.app-card:nth-child(1) .app-card-features span {
    background: rgba(108, 92, 231, 0.08);
    color: var(--primary);
    border-color: rgba(108, 92, 231, 0.15);
}

.app-card:nth-child(1) .app-card-features span i {
    color: var(--primary);
}

/* Student Card Tag Colors */
.app-card:nth-child(2) .app-card-features span {
    background: rgba(9, 132, 227, 0.08);
    color: var(--blue);
    border-color: rgba(9, 132, 227, 0.15);
}

.app-card:nth-child(2) .app-card-features span i {
    color: var(--blue);
}

/* Teacher Card Tag Colors */
.app-card:nth-child(3) .app-card-features span {
    background: rgba(0, 184, 148, 0.08);
    color: var(--green);
    border-color: rgba(0, 184, 148, 0.15);
}

.app-card:nth-child(3) .app-card-features span i {
    color: var(--green);
}

/* Admin Card Tag Colors */
.app-card:nth-child(4) .app-card-features span {
    background: rgba(30, 39, 46, 0.06);
    color: var(--text-dark);
    border-color: rgba(30, 39, 46, 0.1);
}

.app-card:nth-child(4) .app-card-features span i {
    color: var(--text-dark);
}

.app-card-features span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   SERVICES SECTION — 3 phones side by side
   ========================================== */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.services-header>p {
    color: var(--text-body);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.services-phones {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: flex-start;
}

.service-item {
    text-align: center;
    max-width: 220px;
}

.service-item .phone-mockup {
    width: 200px;
    margin: 0 auto 1.2rem;
}

.service-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--text-body);
}

.services-phones .service-item:nth-child(2) .phone-mockup {
    transform: translateY(-20px);
}

.services-phones .service-item:nth-child(2) .phone-mockup:hover {
    transform: translateY(-28px);
}

/* ==========================================
   ABOUT / MISSION SECTION
   ========================================== */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: white;
    scroll-margin-top: 80px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .f-tag {
    color: var(--yellow);
}

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.about-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.value-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(108, 92, 231, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.pricing-price {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f2f6;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li i {
    color: var(--green);
    font-size: 1.1rem;
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled i {
    color: var(--text-light);
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-body);
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    outline: none;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid #f1f2f6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col .logo {
    margin-bottom: 1rem;
}

.footer-col>p {
    font-size: 0.85rem;
    color: var(--text-body);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-icons span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
}

.social-icons span:hover {
    background: var(--primary);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-body);
    cursor: pointer;
    transition: color 0.3s;
}

.footer-col ul li:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: none;
    flex: 1;
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #f1f2f6;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
/* ==========================================
   CONTAINERS (moved from inline styles)
   ========================================== */
.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.process-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.feature-section.reverse .feature-container {
    flex-direction: row-reverse;
}

/* ==========================================
   RESPONSIVE — TABLET (max-width: 991px)
   ========================================== */
@media (max-width: 991px) {

    /* ALL containers: force column on mobile */
    .hero-container,
    .process-container,
    .feature-container {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .feature-section.reverse .feature-container {
        flex-direction: column !important;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-left h1 {
        font-size: 2.8rem;
    }

    .hero-left p {
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-right {
        height: 350px;
        width: 100%;
    }

    /* Process section — CRITICAL: override base flex */
    .process-section {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .process-container {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .process-left {
        text-align: center;
    }

    .process-left h2 {
        font-size: 2.2rem;
    }

    .process-cards {
        flex-wrap: wrap;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feat-img {
        width: 120px;
        height: 120px;
    }

    /* Offers section */
    .offers-section {
        flex-direction: column;
        gap: 2rem;
    }

    .offer-card:nth-child(2),
    .offer-card:nth-child(3) {
        margin-left: 0;
    }

    /* Feature detail sections */
    .feature-section {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        padding: 3rem 0;
    }

    .f-text h2 {
        font-size: 1.6rem;
    }

    /* Offers phones: stack vertically */
    .offers-phones {
        flex-direction: column;
        align-items: center;
    }

    .offers-phones .phone-mockup {
        width: 200px;
    }

    .offers-phones .phone-mockup:first-child {
        transform: none;
    }

    .offers-phones .phone-mockup:nth-child(2) {
        transform: none;
    }

    .f-visual .half-circle {
        display: none;
    }

    .f-visual img {
        max-width: 90%;
        margin: 0 auto;
    }

    .sub-features {
        flex-direction: column;
        align-items: center;
    }

    .sub-f {
        text-align: center;
    }

    .sub-f-icon {
        margin: 0 auto 1rem;
    }

    /* App Suite */
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .value-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================
   RESPONSIVE — SMALL TABLET / LARGE PHONE (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .header-right .btn {
        display: none;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }

    /* Hero: hide phone showcase, show blob only */
    .hero-right {
        height: 280px;
    }

    .phone-showcase {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        justify-content: center;
        gap: 0.5rem;
    }

    .phone-showcase .phone-mockup {
        width: 140px;
    }

    .phone-showcase .phone-back-left {
        display: none;
    }

    .phone-showcase .phone-back-right {
        display: none;
    }

    .phone-showcase .phone-center {
        transform: scale(1);
    }

    .blob {
        display: none;
    }

    /* Features grid go full width */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feat-card {
        padding: 2rem 1.2rem;
    }

    .feat-img {
        width: 140px;
        height: 140px;
    }

    /* Process cards vertical */
    .process-cards {
        flex-direction: column !important;
    }

    /* App Suite full width */
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        padding: 1.5rem 1rem;
    }

    /* Services phones */
    .services-phones {
        flex-direction: column;
        align-items: center;
    }

    .mobile-visual {
        flex-direction: column;
        align-items: center;
    }

    .mobile-visual .phone-mockup {
        width: 180px;
    }

    .mobile-visual .phone-mockup:first-child {
        transform: none;
    }

    .mobile-visual .phone-mockup:last-child {
        transform: none;
    }

    /* Pricing single column */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Section paddings */
    .detailed-features,
    .apps-section,
    .about-section,
    .pricing-section,
    .contact-section {
        padding: 3rem 0;
    }

    .services-header h2,
    .about-left h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================
   RESPONSIVE — PHONE (max-width: 600px)
   ========================================== */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-left h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-left p {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-right {
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-showcase {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .phone-showcase .phone-mockup {
        width: 140px;
    }

    .phone-showcase .phone-back-left {
        display: block;
        transform: rotate(-8deg) scale(0.9) !important;
        opacity: 0.85;
        margin-right: -30px;
        z-index: 1;
    }

    .phone-showcase .phone-back-right {
        display: block;
        transform: rotate(8deg) scale(0.9) !important;
        opacity: 0.85;
        margin-left: -30px;
        z-index: 1;
    }

    .phone-showcase .phone-center {
        transform: scale(1.05) !important;
        z-index: 3;
    }

    .blob {
        display: none;
    }

    .hero-card {
        display: none;
    }

    .float-badge {
        display: none;
    }

    .geo-triangle,
    .geo-circle,
    .geo-play {
        display: none;
    }

    /* Process section */
    .process-container {
        gap: 1.5rem;
    }

    .process-left h2 {
        font-size: 1.6rem;
    }

    .process-cards {
        flex-direction: column;
    }

    .p-card {
        padding: 1.5rem 1rem;
    }

    /* Features */
    .feat-card {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }

    .feat-img {
        width: 120px;
        height: 120px;
    }

    .feat-card h3 {
        font-size: 1rem;
    }

    .feat-card p {
        font-size: 0.8rem;
    }

    /* Offers */
    .offers-content h2 {
        font-size: 1.6rem;
    }

    .offers-phones .phone-big {
        width: 180px;
    }

    /* App Suite */
    .app-card {
        padding: 1.2rem 0.8rem;
    }

    .app-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .app-card h3 {
        font-size: 1rem;
    }

    .app-card-features span {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .app-card-features span i {
        font-size: 0.95rem;
    }

    /* Services */
    .services-header h2 {
        font-size: 1.5rem;
    }

    .services-header p {
        font-size: 0.85rem;
    }

    .mobile-visual .phone-mockup {
        width: 140px;
    }

    /* About */
    .about-left h2 {
        font-size: 1.5rem;
    }

    .about-left p {
        font-size: 0.85rem;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 1.5rem;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}