
/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Same as App */
    --primary-purple: #6C63FF;
    --secondary-purple: #5B52D7;
    --dark-purple: #4A3B8A;
    --background: #1A1A2E;
    --surface: #2C2C54;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-grey: #999999;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #5B52D7 100%);
    --gradient-background: linear-gradient(135deg, #4A3B8A 0%, #6C63FF 50%, #5B52D7 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(44, 44, 84, 0.6) 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(91, 82, 215, 0.1) 100%);
    
    /* Shadows */
    --shadow-primary: 0 4px 10px rgba(108, 99, 255, 0.3);
    --shadow-card: 0 3px 8px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 8px 20px rgba(108, 99, 255, 0.4);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

section {
    border: none;
    margin: 0;
    position: relative;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: bodyGlow 10s ease-in-out infinite;
}

@keyframes bodyGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--shadow-card);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(108, 99, 255, 0.4));
    transition: var(--transition-normal);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(108, 99, 255, 0.6));
}

.logo-img.sawtuna-logo {
    height: 42px;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 8px rgba(108, 99, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 2px 12px rgba(108, 99, 255, 0.6));
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.menu-footer {
    display: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover i {
    transform: scale(1.2);
    color: var(--primary-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger:hover {
    background: rgba(108, 99, 255, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 4px rgba(108, 99, 255, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--text-primary);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--text-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    overflow: hidden;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    margin: 0;
    border: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #1a1a2e 50%, #0f0f1e 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(108, 99, 255, 0.2) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(91, 82, 215, 0.3) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

@media (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    z-index: 1;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    animation: heroLogoFloat 6s ease-in-out infinite;
}

.hero-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(108, 99, 255, 0.5));
    transition: var(--transition-normal);
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 32px rgba(108, 99, 255, 0.7));
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.title-sub {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    position: relative;
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.5);
}

.btn-primary i,
.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary i,
.btn-secondary span {
    position: relative;
    z-index: 1;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 15px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-secondary);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    overflow: hidden;
    margin: 0;
    border: none;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%);
    animation: sectionGlow 10s ease-in-out infinite;
    z-index: 0;
}

.section-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.section-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle 20s infinite ease-in-out;
    box-shadow: 0 0 6px rgba(108, 99, 255, 0.6);
}

.section-particles .particle:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.section-particles .particle:nth-child(2) {
    top: 55%;
    left: 25%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.section-particles .particle:nth-child(3) {
    top: 35%;
    left: 75%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.section-particles .particle:nth-child(4) {
    top: 75%;
    left: 45%;
    animation-delay: 9s;
    animation-duration: 22s;
}

.section-particles .particle:nth-child(5) {
    top: 5%;
    left: 85%;
    animation-delay: 12s;
    animation-duration: 16s;
}

@keyframes sectionGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: titleUnderline 2s ease-out forwards;
    animation-delay: 0.5s;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.feature-card {
    position: relative;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(108, 99, 255, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card-hover);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.5);
    border-color: var(--primary-purple);
    background: rgba(26, 26, 46, 0.8);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

.feature-card:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding-right: var(--spacing-sm);
    transition: var(--transition-fast);
}

.feature-list li i {
    color: var(--primary-purple);
    font-size: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-list li {
    color: var(--text-primary);
    transform: translateX(-5px);
}

.feature-card:hover .feature-list li i {
    color: var(--secondary-purple);
    transform: scale(1.2);
}

/* ============================================
   About Section
   ============================================ */
.about {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    overflow: hidden;
    margin: 0;
    border: none;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%);
    animation: sectionGlow 10s ease-in-out infinite;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
    max-width: 100%;
}

.about-main {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.about-intro,
.about-mission,
.about-values,
.about-impact {
    margin-bottom: var(--spacing-xl);
    padding: 0;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.about-subtitle i {
    font-size: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.about-list li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding-right: var(--spacing-sm);
}

.about-list li i {
    color: var(--primary-purple);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    width: 100%;
}

@media (min-width: 600px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.value-item {
    padding: var(--spacing-md) 0;
    text-align: center;
    transition: var(--transition-normal);
}

.value-item:hover {
    transform: translateY(-3px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
}

.value-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.value-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(108, 99, 255, 0.1);
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--primary-purple);
    font-weight: 600;
    margin-top: var(--spacing-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 0;
}

.about-badge:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.about-badge:hover::before {
    left: 0;
}

.about-badge i,
.about-badge span {
    position: relative;
    z-index: 1;
}

.about-badge:hover i,
.about-badge:hover span {
    color: var(--text-primary);
}

.about-badge i {
    color: var(--primary-purple);
}

/* ============================================
   Team Section
   ============================================ */
.team {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    overflow: hidden;
    margin: 0;
    border: none;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%);
    animation: sectionGlow 10s ease-in-out infinite;
    z-index: 0;
}

.team-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.team-card {
    position: relative;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid rgba(108, 99, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card-hover);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-card:hover::after {
    opacity: 1;
}

.team-card:nth-child(1) { animation-delay: 0.2s; }
.team-card:nth-child(2) { animation-delay: 0.4s; }

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.5);
    border-color: var(--primary-purple);
    background: rgba(26, 26, 46, 0.8);
}

.team-card > * {
    position: relative;
    z-index: 1;
}

.team-image {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.team-avatar i {
    position: relative;
    z-index: 1;
}

.team-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--background);
    box-shadow: var(--shadow-card);
}

.team-badge.verified {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.team-badge.admin {
    background: #FF9800;
    color: var(--text-primary);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.team-username {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.team-role {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.team-role.executive {
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-purple);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.team-role.admin-role {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition-fast);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.team-email {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.team-email:hover {
    color: var(--primary-purple);
}

/* ============================================
   Media Section
   ============================================ */
.media {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    overflow: hidden;
    margin: 0;
    border: none;
}

.media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%);
    animation: sectionGlow 10s ease-in-out infinite;
    z-index: 0;
}

.media-gallery {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .media-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.gallery-item {
    aspect-ratio: 9/16;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 99, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--text-primary);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 0.1;
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-3px);
    border-color: rgba(108, 99, 255, 0.4);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    gap: var(--spacing-sm);
}

.gallery-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    position: relative;
    padding: var(--spacing-xl) 0 0;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    overflow: hidden;
    margin-bottom: 0;
    border: none;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%);
    animation: sectionGlow 10s ease-in-out infinite;
    z-index: 0;
}

.download-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

@media (min-width: 769px) {
    .download-content {
        grid-template-columns: 1fr 1fr;
    }
}

.download-content > div:first-child {
    display: flex;
    flex-direction: column;
}

.download-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.download-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-primary);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.download-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: 0;
}

.download-btn:hover::before {
    left: 0;
}

.download-btn:hover {
    transform: translateX(-8px) scale(1.02);
    border-color: var(--primary-purple);
    box-shadow: 0 12px 35px rgba(108, 99, 255, 0.5);
    background: rgba(26, 26, 46, 0.8);
}

.download-btn i,
.download-btn .btn-text {
    position: relative;
    z-index: 1;
}

.download-btn:hover i {
    transform: scale(1.2);
}

.download-btn i {
    font-size: 2.5rem;
    color: var(--primary-purple);
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-store {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.download-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.phone-cards {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.phone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    transform: rotate(-5deg);
    transition: transform 0.4s ease;
    text-decoration: none;
    cursor: pointer;
}

.phone-card:nth-child(2) {
    transform: rotate(5deg);
}

.phone-card:nth-child(1) {
    animation-delay: 0.2s;
}

.phone-card:nth-child(2) {
    animation-delay: 0.4s;
}

.phone-frame {
    position: relative;
    width: 180px;
    height: 360px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c54 100%);
    border-radius: 30px;
    padding: 8px;
    border: 3px solid rgba(108, 99, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(108, 99, 255, 0.2) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-card-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.phone-card-info i {
    font-size: 1.2rem;
    color: var(--primary-purple);
}

.phone-card:hover {
    transform: rotate(-5deg) translateY(-10px) scale(1.05);
}

.phone-card:nth-child(2):hover {
    transform: rotate(5deg) translateY(-10px) scale(1.05);
}

.phone-card:hover .phone-frame {
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4),
                0 0 0 1px rgba(108, 99, 255, 0.3) inset;
}

.phone-card:hover .phone-card-info {
    background: rgba(108, 99, 255, 0.2);
    border-color: var(--primary-purple);
    color: var(--text-primary);
}

.phone-card[onclick*="return false"] {
    cursor: not-allowed;
    opacity: 0.7;
}

.phone-card[onclick*="return false"]:hover {
    transform: rotate(-5deg);
}

.phone-card[onclick*="return false"]:nth-child(2):hover {
    transform: rotate(5deg);
}

.download-image {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: 0;
    overflow: hidden;
    border: none;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(108, 99, 255, 0.15) 0%, transparent 50%);
    animation: footerGlow 8s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-purple);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 50%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 90%;
    animation-delay: 8s;
    animation-duration: 14s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-15px, -50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.6;
    }
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border: none;
}

@media (min-width: 769px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    animation: fadeInUp 0.8s ease-out;
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.footer-logo {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(108, 99, 255, 0.4));
    transition: var(--transition-normal);
}

.footer-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(108, 99, 255, 0.6));
}

.footer-logo.sawtuna-logo {
    height: 38px;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: titleUnderline 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes titleUnderline {
    to {
        width: 100%;
    }
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-social-link {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    border: 2px solid rgba(108, 99, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.footer-social-link:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
}

.footer-social-link:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

.footer-social-link:hover i {
    transform: rotate(360deg);
    color: var(--text-primary);
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.footer-social-link:hover .social-tooltip {
    opacity: 1;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-heading i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
    animation: slideInRight 0.5s ease-out;
    animation-fill-mode: both;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.footer-links li:nth-child(4) { animation-delay: 0.4s; }
.footer-links li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(108, 99, 255, 0.1);
    transition: width 0.3s ease;
    z-index: 0;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-purple);
    transform: translateX(-5px);
}

.link-icon {
    position: relative;
    z-index: 1;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: transform 0.3s;
}

.footer-links a:hover .link-icon {
    transform: scale(1.2) rotate(-10deg);
}

.link-text {
    position: relative;
    z-index: 1;
    flex: 1;
}

.link-arrow {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-purple);
}

.footer-links a:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
    border: none;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.copyright-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-heart {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-heart i.fa-heart {
    color: #ff1744;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.2);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.footer-heart i.fa-flag {
    color: var(--primary-purple);
    animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */

/* Base Mobile Fixes - Applied to all screens */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

* {
    box-sizing: border-box;
}

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

.container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

@media (min-width: 769px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
        width: 100%;
        max-width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(15, 15, 30, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        padding: 0;
        transition: left 0.25s ease-out;
        border: none;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        z-index: 1000;
        overflow-y: auto;
        /* Hide scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
        z-index: -1;
        animation: menuGlow 8s ease-in-out infinite;
    }
    
    @keyframes menuGlow {
        0%, 100% {
            opacity: 0.5;
            transform: scale(1);
        }
        50% {
            opacity: 0.8;
            transform: scale(1.1);
        }
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        max-width: 400px;
        text-align: center;
        animation: slideInRight 0.3s ease-out;
        animation-fill-mode: both;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.25s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.3s; }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) var(--spacing-lg);
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        font-size: 1.2rem;
        border-radius: var(--radius-md);
        background: rgba(108, 99, 255, 0.05);
        border: 2px solid rgba(108, 99, 255, 0.1);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: left 0.3s ease;
        z-index: 0;
    }
    
    .nav-link:hover::before {
        left: 0;
    }
    
    .nav-link i,
    .nav-link span {
        position: relative;
        z-index: 1;
    }
    
    .nav-link:active,
    .nav-link:hover {
        color: var(--text-primary);
        border-color: var(--primary-purple);
        transform: translateX(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    }
    
    .nav-link:active i,
    .nav-link:hover i {
        transform: scale(1.3) rotate(5deg);
        color: var(--text-primary);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .menu-footer {
        display: block;
        width: 100%;
        max-width: 400px;
        text-align: center;
        animation: slideInRight 0.3s ease-out;
        animation-delay: 0.3s;
        animation-fill-mode: both;
        margin-top: var(--spacing-md);
    }
    
    .menu-message {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) var(--spacing-lg);
        margin: 0 auto;
        width: 100%;
        font-size: 1.2rem;
        border-radius: var(--radius-md);
        background: rgba(108, 99, 255, 0.05);
        border: 2px solid rgba(108, 99, 255, 0.1);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        color: var(--text-secondary);
        font-weight: 600;
    }
    
    .menu-message::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: left 0.3s ease;
        z-index: 0;
    }
    
    .menu-message:hover::before {
        left: 0;
    }
    
    .menu-message:hover {
        color: var(--text-primary);
        border-color: var(--primary-purple);
        transform: translateX(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-img.sawtuna-logo {
        height: 32px;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: calc(70px + var(--spacing-md)) 0 var(--spacing-md);
        min-height: auto;
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .hero-logo-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-logo {
        height: 70px;
        max-height: 70px;
        margin-bottom: var(--spacing-sm);
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }
    
    .title-sub {
        font-size: 1.1rem;
        line-height: 1.5;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: var(--spacing-md);
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-md) 0;
        margin: 0 auto;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        max-width: 90vw;
        margin: 0 auto;
        position: relative;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 var(--spacing-xs);
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    /* Features Section Mobile */
    .features {
        padding: var(--spacing-lg) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .feature-card {
        padding: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        min-width: 0;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .feature-list {
        margin-top: var(--spacing-xs);
    }
    
    .feature-list li {
        font-size: 0.85rem;
        padding-right: var(--spacing-xs);
    }
    
    .feature-list li i {
        font-size: 0.75rem;
    }
    
    /* About Section Mobile */
    .about {
        padding: var(--spacing-lg) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .about-content {
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .about-main {
        width: 100%;
        max-width: 100%;
    }
    
    .about-intro,
    .about-mission,
    .about-values,
    .about-impact {
        padding: 0;
        margin-bottom: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .value-item {
        padding: var(--spacing-sm) 0;
        width: 100%;
        max-width: 100%;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
    }
    
    .value-item {
        padding: var(--spacing-sm);
    }
    
    .about-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: var(--spacing-sm);
    }
    
    .about-badge {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    /* Team Section Mobile */
    .team {
        padding: var(--spacing-lg) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .team-card {
        padding: var(--spacing-md);
        width: 100%;
        max-width: 100%;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .team-name {
        font-size: 1.3rem;
    }
    
    .team-username {
        font-size: 0.9rem;
    }
    
    .team-role {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .team-bio {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Media Section Mobile */
    .media {
        padding: var(--spacing-lg) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        aspect-ratio: 9/16;
        overflow: hidden;
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        touch-action: manipulation;
    }
    
    /* Download Section Mobile */
    .download {
        padding: var(--spacing-lg) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .download-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: var(--spacing-sm);
        margin: 0 auto;
        padding: 0;
    }
    
    .download-btn {
        width: 100%;
        max-width: 100%;
        touch-action: manipulation;
    }
    
    .phone-cards {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .phone-card {
        width: 100%;
        max-width: 280px;
    }
    
    .download-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: var(--spacing-md);
        padding: 0 var(--spacing-xs);
    }
    
    .download-buttons {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
        max-width: 280px;
        margin: 0 auto var(--spacing-md);
    }
    
    .download-btn {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .download-btn i {
        font-size: 2rem;
    }
    
    .btn-label {
        font-size: 0.85rem;
    }
    
    .btn-store {
        font-size: 1.1rem;
    }
    
    .download-note {
        font-size: 0.85rem;
        text-align: center;
        padding: 0 var(--spacing-xs);
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }
    
    .phone-cards {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .phone-frame {
        width: 150px;
        height: 300px;
        padding: 6px;
    }
    
    .phone-frame::before {
        width: 50px;
        height: 5px;
        top: 10px;
    }
    
    .phone-card-info {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .phone-card-info i {
        font-size: 1rem;
    }
    
    .phones-showcase {
        width: 100%;
        height: 350px;
        margin-top: var(--spacing-md);
    }
    
    .phone {
        width: 180px;
        height: 360px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo-wrapper {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 1.6rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-links li {
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-heart {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
        width: 100%;
        max-width: 100%;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-img.sawtuna-logo {
        height: 30px;
    }
    
    /* Hero Section Small Mobile */
    .hero {
        padding: calc(65px + var(--spacing-sm)) 0 var(--spacing-sm);
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .title-sub {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0;
    }
    
    .hero-buttons {
        max-width: 100%;
    }
    
    .btn {
        padding: 0.85rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Section Titles Small Mobile */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    /* Features Small Mobile */
    .features {
        padding: var(--spacing-md) 0;
    }
    
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* About Small Mobile */
    .about {
        padding: var(--spacing-md) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .about-content {
        width: 100%;
        max-width: 100%;
    }
    
    .about-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .values-grid {
        width: 100%;
        max-width: 100%;
    }
    
    .value-item {
        width: 100%;
        max-width: 100%;
    }
    
    .about-badge {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Team Small Mobile */
    .team {
        padding: var(--spacing-md) 0;
    }
    
    .team-card {
        padding: var(--spacing-sm);
    }
    
    .team-avatar {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-username {
        font-size: 0.85rem;
    }
    
    .team-role {
        font-size: 0.8rem;
    }
    
    .team-bio {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Media Small Mobile */
    .media {
        padding: var(--spacing-md) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .media-gallery {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        max-width: 85vw;
    }
    
    /* Download Small Mobile */
    .download {
        padding: var(--spacing-md) 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .download-content {
        width: 100%;
        max-width: 100%;
        gap: var(--spacing-sm);
    }
    
    .download-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .download-buttons {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }
    
    .phone-cards {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .phone-card {
        width: 100%;
        max-width: 250px;
    }
    
    .download-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .download-btn i {
        font-size: 1.8rem;
    }
    
    .btn-label {
        font-size: 0.8rem;
    }
    
    .btn-store {
        font-size: 1rem;
    }
    
    .download-note {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .phone-cards {
        gap: var(--spacing-xs);
        margin-top: var(--spacing-sm);
    }
    
    .phone-frame {
        width: 130px;
        height: 260px;
        padding: 5px;
    }
    
    .phone-frame::before {
        width: 45px;
        height: 4px;
        top: 8px;
    }
    
    .phone-card-info {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .phone-card-info i {
        font-size: 0.9rem;
    }
    
    .phones-showcase {
        height: 300px;
    }
    
    .phone {
        width: 150px;
        height: 300px;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
    
    .footer-content {
        gap: var(--spacing-md);
    }
    
    .footer-title {
        font-size: 1.4rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    
    .footer-social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        gap: var(--spacing-xs);
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-heart {
        font-size: 0.75rem;
    }
}

/* ============================================
   Scroll to Bottom Button
   ============================================ */
.scroll-to-bottom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 2px solid rgba(108, 99, 255, 0.5);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.scroll-to-bottom.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-bottom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.scroll-to-bottom:hover::before {
    width: 100%;
    height: 100%;
}

.scroll-to-bottom:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6);
    border-color: var(--primary-purple);
}

.scroll-to-bottom i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.scroll-to-bottom.scroll-down i {
    animation: scrollBounceDown 2s ease-in-out infinite;
}

.scroll-to-bottom.scroll-up i {
    animation: scrollBounceUp 2s ease-in-out infinite;
}

@keyframes scrollBounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes scrollBounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.scroll-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-purple);
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.scroll-to-bottom:hover .scroll-pulse {
    animation: pulseRing 1s ease-out infinite;
}

@media (max-width: 768px) {
    .scroll-to-bottom {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .scroll-to-bottom {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
        min-width: 44px;
        min-height: 44px;
    }
}

/* ============================================
   Image Modal
   ============================================ */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 10001;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    border: none;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 99, 255, 0.4);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-purple);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.5);
}

.modal-prev,
.modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 99, 255, 0.4);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.modal-prev {
    right: 20px;
}

.modal-next {
    left: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-purple);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.5);
}

.modal-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: none;
}

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.modal-loader.active {
    display: block;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(108, 99, 255, 0.2);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-info {
    margin-top: var(--spacing-md);
    text-align: center;
}

.modal-counter {
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(108, 99, 255, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        padding: 0;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.1rem;
    }
    
    .modal-prev,
    .modal-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.1rem;
    }
    
    .modal-prev {
        right: 15px;
    }
    
    .modal-next {
        left: 15px;
    }
    
    .modal-image-wrapper {
        max-height: 90vh;
    }
    
    .modal-image-wrapper img {
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        padding: 0;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
    }
    
    .modal-prev,
    .modal-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
    }
    
    .modal-prev {
        right: 10px;
    }
    
    .modal-next {
        left: 10px;
    }
    
    .modal-image-wrapper {
        max-height: 90vh;
    }
    
    .modal-image-wrapper img {
        max-height: 90vh;
    }
    
    .modal-counter {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .modal-close {
        top: 8px;
        right: 8px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    .modal-prev,
    .modal-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    .modal-prev {
        right: 8px;
    }
    
    .modal-next {
        left: 8px;
    }
}

