* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a5e;
    --primary-dark: #0f0f3d;
    --primary-light: #2d2d7a;
    --secondary-color: #00b4d8;
    --accent-color: #0077b6;
    --accent-cyan: #00d4ff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
    }
}

/* Animated 3D Background - Tafrah Brand Colors */
.background-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(135deg, #0a0a2e 0%, #1a1a5e 50%, #0f0f3d 100%),
        url('images/patterns/PATTERN_1.png');
    background-size: cover, 300px 300px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    background-blend-mode: normal, overlay;
    opacity: 0.15;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    will-change: transform;
    transform: translateZ(0);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #1a1a5e, #00b4d8);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    filter: blur(40px);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #0077b6, #00d4ff);
    border-radius: 50%;
    top: 50%;
    right: 10%;
    animation-delay: 5s;
    filter: blur(50px);
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #00b4d8, #0077b6);
    border-radius: 50%;
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
    filter: blur(35px);
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #1a1a5e, #2d2d7a);
    top: 30%;
    left: 50%;
    animation-delay: 7s;
    transform: rotate(45deg);
    filter: blur(45px);
}

.shape-5 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #00d4ff, #00b4d8);
    bottom: 30%;
    right: 30%;
    animation-delay: 3s;
    transform: rotate(-30deg);
    filter: blur(30px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(30px) rotate(90deg);
    }
    50% {
        transform: translateY(0) translateX(50px) rotate(180deg);
    }
    75% {
        transform: translateY(30px) translateX(30px) rotate(270deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 180, 216, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px;
}

.logo-img {
    height: 55px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1) contrast(1.1);
    border-radius: 27.5px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.15);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.lang-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 45px;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
}

.lang-btn:hover:not(.active) {
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary-color);
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .about-content,
html[dir="rtl"] .pricing-content {
    direction: rtl;
}

html[dir="rtl"] .hero-text {
    text-align: right;
}

html[dir="rtl"] .section-header {
    text-align: center;
}

html[dir="rtl"] .footer-content {
    direction: rtl;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        url('../drive-download/PATTERN/300ppi/PATTERN_3.png') repeat,
        linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
    background-size: 300px 300px, cover;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--bg-white);
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 180, 216, 0.15);
    letter-spacing: -0.02em;
    position: relative;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.4),
        0 1px 5px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.25);
    padding: 25px 30px;
    border-radius: 18px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 10px 30px rgba(26, 26, 94, 0.4);
    transform: translateY(0);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 26, 94, 0.6);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Hero Logo Container with 3D Effects */
.hero-visual {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-logo-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroLogoFloat 6s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.hero-logo-img {
    width: 450px;
    height: 450px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 180, 216, 0.3));
    animation: logoPulse 3s ease-in-out infinite;
    will-change: filter;
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .hero-logo-img {
        width: 300px;
        height: 300px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 250px;
        height: 250px;
        max-width: 100%;
    }
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../drive-download/PATTERN/300ppi/PATTERN_2.png');
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.pattern-about {
    background-image: url('../drive-download/PATTERN/300ppi/PATTERN_3.png');
    opacity: 0.06;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 20px 40px rgba(0, 180, 216, 0.3));
    }
    50% {
        filter: drop-shadow(0 30px 60px rgba(0, 180, 216, 0.5));
    }
}

.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.9;
    }
}

.logo-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    animation: ringExpand 4s ease-out infinite;
}

.logo-ring.ring-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.logo-ring.ring-2 {
    width: 350px;
    height: 350px;
    animation-delay: 1.3s;
}

.logo-ring.ring-3 {
    width: 400px;
    height: 400px;
    animation-delay: 2.6s;
}

@keyframes ringExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
        border-color: rgba(0, 212, 255, 0.6);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
        border-color: rgba(0, 180, 216, 0);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 18px 24px;
    border-radius: 20px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 5s ease-in-out infinite;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    will-change: transform;
    transform: translateZ(0);
}

.float-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.float-card .icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    color: white;
}

.float-card .icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.float-card .text {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.float-1 {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.float-2 {
    top: 50%;
    right: -30%;
    animation-delay: 1.5s;
}

.float-3 {
    bottom: 10%;
    left: -10%;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }
    25% {
        transform: translateY(-15px) rotate(3deg) scale(1.02);
    }
    50% {
        transform: translateY(-25px) rotate(0deg) scale(1.05);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    }
    75% {
        transform: translateY(-15px) rotate(-3deg) scale(1.02);
    }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: 
        linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%),
        url('images/patterns/PATTERN.png');
    background-size: cover, 250px 250px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    background-blend-mode: normal, overlay;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.3), transparent);
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../drive-download/PATTERN/300ppi/PATTERN_1.png');
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(26, 26, 94, 0.1));
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(0, 180, 216, 0.15); }
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    perspective: 2000px;
    position: relative;
    z-index: 1;
}

/* Professional Feature Cards */
.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 2;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover .card-glow {
    opacity: 1;
    animation: glowMove 3s ease-in-out infinite;
}

@keyframes glowMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, 10px) scale(1.1); }
}

/* Card Border Gradient */
.card-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(26, 26, 94, 0.5), rgba(0, 180, 216, 0.5), rgba(0, 212, 255, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .card-border {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { background: linear-gradient(0deg, rgba(26, 26, 94, 0.5), rgba(0, 180, 216, 0.5), rgba(0, 212, 255, 0.5)); }
    100% { background: linear-gradient(360deg, rgba(26, 26, 94, 0.5), rgba(0, 180, 216, 0.5), rgba(0, 212, 255, 0.5)); }
}

/* Card Content */
.card-content {
    position: relative;
    padding: 45px 35px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.5s;
    pointer-events: none;
    z-index: 3;
}

.feature-card:hover .card-shine {
    left: 100%;
}

/* Icon Styling */
.feature-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    position: relative;
}

.icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    transform: rotate(0deg);
    transition: transform 0.5s ease, border-radius 0.5s ease;
    box-shadow: 
        0 15px 35px rgba(0, 180, 216, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .icon-bg {
    transform: rotate(45deg);
    border-radius: 30px;
}

.icon-3d {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card:hover .icon-3d {
    transform: scale(1.15) rotate(-5deg);
    animation: iconBounce 0.6s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 180, 216, 0.4));
    color: rgba(255, 255, 255, 1);
}

.feature-card .icon-3d path,
.feature-card .icon-3d line,
.feature-card .icon-3d polyline,
.feature-card .icon-3d polygon,
.feature-card .icon-3d circle,
.feature-card .icon-3d rect {
    transition: stroke-dasharray 0.3s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.15) translateY(0) rotate(-5deg); }
    50% { transform: scale(1.2) translateY(-5px) rotate(-5deg); }
}

.icon-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px dashed rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .icon-ring {
    opacity: 1;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Color Variations - Tafrah Brand */
.feature-card[data-color="purple"] .icon-bg {
    background: linear-gradient(135deg, #1a1a5e, #2d2d7a);
}
.feature-card[data-color="pink"] .icon-bg {
    background: linear-gradient(135deg, #1a1a5e, #00b4d8);
}
.feature-card[data-color="blue"] .icon-bg {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
}
.feature-card[data-color="cyan"] .icon-bg {
    background: linear-gradient(135deg, #00b4d8, #00d4ff);
}
.feature-card[data-color="green"] .icon-bg {
    background: linear-gradient(135deg, #0077b6, #00d4ff);
}
.feature-card[data-color="orange"] .icon-bg {
    background: linear-gradient(135deg, #2d2d7a, #00b4d8);
}

.feature-card[data-color="purple"]:hover .card-glow { background: radial-gradient(circle, rgba(26, 26, 94, 0.2) 0%, transparent 60%); }
.feature-card[data-color="pink"]:hover .card-glow { background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 60%); }
.feature-card[data-color="blue"]:hover .card-glow { background: radial-gradient(circle, rgba(0, 119, 182, 0.2) 0%, transparent 60%); }
.feature-card[data-color="cyan"]:hover .card-glow { background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 60%); }
.feature-card[data-color="green"]:hover .card-glow { background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 60%); }
.feature-card[data-color="orange"]:hover .card-glow { background: radial-gradient(circle, rgba(45, 45, 122, 0.2) 0%, transparent 60%); }

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.card-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more svg {
    transition: transform 0.3s ease;
}

.feature-card:hover .learn-more {
    gap: 12px;
}

.feature-card:hover .learn-more svg {
    transform: translateX(5px);
}

/* 3D Hover Transform */
.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-2deg);
    box-shadow: 
        0 35px 60px rgba(0, 0, 0, 0.15),
        0 15px 25px rgba(99, 102, 241, 0.1);
}

/* Staggered Animation on Load */
.feature-card:nth-child(1) { animation: cardEntrance 0.6s ease-out 0.1s both; }
.feature-card:nth-child(2) { animation: cardEntrance 0.6s ease-out 0.2s both; }
.feature-card:nth-child(3) { animation: cardEntrance 0.6s ease-out 0.3s both; }
.feature-card:nth-child(4) { animation: cardEntrance 0.6s ease-out 0.4s both; }
.feature-card:nth-child(5) { animation: cardEntrance 0.6s ease-out 0.5s both; }
.feature-card:nth-child(6) { animation: cardEntrance 0.6s ease-out 0.6s both; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Why Tafrah Section */
.why-tafrah {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%),
        url('images/patterns/PATTERN_2.png');
    background-size: cover, 300px 300px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    background-blend-mode: normal, overlay;
    color: white;
    position: relative;
    overflow: hidden;
}

.why-tafrah::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.4;
}

.why-tafrah::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.why-tafrah .section-header {
    margin-bottom: 60px;
}

.why-tafrah .section-title,
.why-tafrah .section-subtitle {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px 35px;
    transform-style: preserve-3d;
    animation: benefitCardIn 0.8s ease-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 180, 216, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 180, 216, 0.2);
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes benefitCardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.benefit-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    transform: rotate(0deg);
    transition: transform 0.5s ease, border-radius 0.5s ease;
    box-shadow: 
        0 15px 35px rgba(0, 180, 216, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

.benefit-card:hover .benefit-icon-bg {
    transform: rotate(45deg);
    border-radius: 30px;
}

.benefit-icon-wrapper svg {
    position: relative;
    z-index: 2;
    color: white;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper svg {
    transform: scale(1.15);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    background: linear-gradient(135deg, #fff, rgba(0, 212, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* About Section */
.about {
    padding: 100px 0;
    background: 
        var(--bg-light),
        url('images/patterns/PATTERN.png');
    background-size: cover, 200px 200px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    background-blend-mode: normal, overlay;
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../drive-download/PATTERN/300ppi/PATTERN_1.png');
    background-size: 180px 180px;
    background-repeat: repeat;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* About Section Logo */
.about-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    perspective: 1000px;
}

.about-logo-img {
    width: 380px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: aboutLogoFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

@keyframes aboutLogoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.about-logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: aboutGlowPulse 4s ease-in-out infinite;
}

@keyframes aboutGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.about-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.deco-circle {
    position: absolute;
    border: 2px dashed rgba(0, 180, 216, 0.3);
    border-radius: 50%;
    animation: decoRotate 20s linear infinite;
}

.deco-circle.circle-1 {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: normal;
}

.deco-circle.circle-2 {
    width: 340px;
    height: 340px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: reverse;
    animation-duration: 25s;
}

.deco-circle.circle-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 30s;
}

@keyframes decoRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../drive-download/PATTERN/300ppi/PATTERN_1.png') repeat,
        linear-gradient(135deg, rgba(26, 26, 94, 0.02) 0%, rgba(0, 180, 216, 0.02) 100%);
    background-size: 200px 200px, cover;
    opacity: 0.3;
    pointer-events: none;
}

.pricing .section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pricing-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    background: white;
    padding: 15px;
    animation: pricingCardIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes pricingCardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pricing-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 94, 0.05), rgba(0, 180, 216, 0.05));
    z-index: 0;
}

.pricing-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 12px;
}

.pricing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
    animation: overlayShine 3s ease-in-out infinite;
}

@keyframes overlayShine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.pricing-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    animation: infoCardIn 0.8s ease-out forwards;
    opacity: 0;
}

.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes infoCardIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.3);
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Pattern Overlay for About Section */
.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../drive-download/PATTERN/300ppi/PATTERN_2.png');
    background-size: 150px 150px;
    background-repeat: repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #0a0a2e 0%, #1a1a5e 50%, #0f0f3d 100%),
        url('images/patterns/PATTERN_3.png');
    background-size: cover, 250px 250px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    background-blend-mode: normal, overlay;
    color: white;
    position: relative;
    overflow: hidden;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-content .section-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 180, 216, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, rgba(0, 212, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.download-content .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.4),
        0 1px 5px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 35px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(26, 26, 94, 0.5), rgba(0, 180, 216, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover::after {
    opacity: 1;
}

.download-btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(0, 180, 216, 0.2);
}

.download-btn .btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    color: white;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.download-btn:hover .btn-icon {
    transform: scale(1.1) rotate(-5deg);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text .small {
    font-size: 0.8rem;
    color: var(--text-light);
}

.btn-text .large {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 3D Sphere Animation */
.sphere-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 0;
}

.sphere {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.sphere-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: expandRing 4s ease-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.ring-2 {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

.ring-3 {
    width: 300px;
    height: 300px;
    animation-delay: 2s;
}

@keyframes expandRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Footer */
.footer {
    background: 
        linear-gradient(180deg, #f9fafb 0%, #ffffff 100%),
        url('images/patterns/PATTERN_2.png');
    background-size: cover, 200px 200px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    background-blend-mode: normal, overlay;
    color: var(--primary-color);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../drive-download/PATTERN/300ppi/PATTERN_3.png');
    background-size: 150px 150px;
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section p {
    color: var(--primary-color);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateX(5px);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 55px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1) contrast(1.1);
    border-radius: 27.5px;
    background: rgba(0, 180, 216, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 180, 216, 0.15);
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.15);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    padding: 10px 15px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 8px;
}

.social-link svg {
    flex-shrink: 0;
}

.social-link:hover {
    background: rgba(0, 180, 216, 0.2);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 180, 216, 0.2);
    color: var(--primary-color);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .language-switcher {
        order: -1;
        margin-right: 15px;
    }

    .logo-img {
        height: 40px;
        max-width: 180px;
    }

    .hero-content,
    .about-content,
    .pricing-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pricing-content {
        gap: 40px;
    }

    .pricing-image-wrapper {
        order: -1;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .floating-elements {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .card-content {
        padding: 30px 20px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .benefit-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .benefit-icon-wrapper {
        width: 75px;
        height: 75px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 35px;
        max-width: 150px;
    }

    .language-switcher {
        margin-right: 10px;
    }

    .lang-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
        min-width: 40px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-content {
        gap: 30px;
    }

    .container {
        padding: 0 15px;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-content {
        gap: 30px;
    }

    .info-card {
        padding: 25px 20px;
    }

    .pricing-image-wrapper {
        padding: 15px;
    }

    .feature-card:hover,
    .benefit-card:hover {
        transform: translateY(-8px) scale(1);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .icon-3d {
        width: 36px;
        height: 36px;
    }

    .benefit-icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Ensure full width, no overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    /* Reduce blur effects on mobile (very expensive) */
    .floating-shape {
        filter: blur(20px) !important;
        opacity: 0.1 !important;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        filter: blur(15px) !important;
    }
    
    /* Reduce background patterns on mobile */
    .background-3d {
        background-size: cover, 150px 150px !important;
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .hero::before {
        background-size: 150px 150px, cover !important;
    }
    
    /* Disable expensive animations */
    .floating-shape {
        animation-duration: 30s !important;
    }
    
    /* Optimize transforms */
    .feature-card,
    .benefit-card {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Reduce complex gradients */
    .card-glow {
        display: none !important;
    }
    
    /* Simplify hover effects */
    .feature-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
    }
    
    /* Reduce particle effects */
    .particle {
        display: none !important;
    }
    
    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Fix logo sizing */
    .logo-img {
        width: auto;
        height: 40px;
        max-width: 180px;
        object-fit: contain;
    }

    .hero-logo-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: contain;
    }
    
    /* Remove backdrop filters on mobile (causes blur) */
    .feature-card::before {
        backdrop-filter: none !important;
    }

    .card-content {
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 1) !important;
    }

    .feature-card {
        background: rgba(255, 255, 255, 1) !important;
    }
    
    /* Simplify 3D transforms */
    .cube {
        transform-style: flat !important;
    }
    
    /* Reduce animation complexity */
    @keyframes float {
        0%, 100% { transform: translateY(0px) translateZ(0); }
        50% { transform: translateY(-20px) translateZ(0); }
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
        width: 100%;
        margin: 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Ensure all content uses full width */
    .hero-content,
    .features-grid,
    .benefits-grid,
    .pricing-content,
    .about-content {
        width: 100%;
        max-width: 100%;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Ensure full width, no overflow */
    html, body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Further reduce effects */
    .floating-shape {
        display: none !important;
    }
    
    .background-3d {
        background-image: linear-gradient(135deg, #0a0a2e 0%, #1a1a5e 50%, #0f0f3d 100%) !important;
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .hero::before {
        display: none !important;
    }
    
    /* Simplify cards */
    .feature-card,
    .benefit-card {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        padding: 25px 18px;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Remove all backdrop filters on small mobile (causes blur) */
    .card-content {
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 1) !important;
    }

    .feature-card {
        background: rgba(255, 255, 255, 1) !important;
    }

    .feature-card::before {
        backdrop-filter: none !important;
    }

    .benefit-card {
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    /* Remove expensive effects */
    .card-shine,
    .icon-ring,
    .logo-rings {
        display: none !important;
    }

    /* Fix logo sizing on small screens */
    .logo-img {
        height: 35px;
        max-width: 150px;
    }

    .hero-logo-img {
        max-width: 250px;
    }

    /* Better spacing */
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
    }

    section {
        padding: 50px 0;
        width: 100%;
        margin: 0;
    }

    .features-grid,
    .benefits-grid {
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    /* Ensure navbar uses full width */
    .navbar {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-content {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Ensure all sections use full width */
    .hero,
    .features,
    .why-tafrah,
    .about,
    .pricing,
    .download,
    .footer {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Desktop Performance Optimizations */
@media (min-width: 769px) {
    /* GPU acceleration for animated elements */
    .feature-card:hover,
    .benefit-card:hover {
        will-change: transform;
    }

    /* Optimize animations with contain */
    .features-grid,
    .benefits-grid {
        contain: layout style paint;
    }

    /* Use transform3d for better GPU acceleration */
    .feature-card:hover {
        transform: translate3d(0, -15px, 0) scale3d(1.02, 1.02, 1.02);
    }

    /* Optimize floating shapes */
    .floating-shape {
        contain: layout style paint;
    }

    /* Reduce repaints on scroll */
    .navbar {
        contain: layout style paint;
    }

    /* Optimize card content rendering */
    .card-content {
        contain: layout style;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-card,
    .stat-card,
    .download-btn,
    .float-card,
    .icon-bg,
    .icon-3d,
    .icon-ring,
    .card-shine {
        animation: none !important;
        transition: opacity 0.3s ease !important;
    }
    
    .feature-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .floating-shape {
        animation: none !important;
    }
}
