/* Root Variables */
:root {
    /* App palette (matching mobile app) */
    --primary-color: #D96BB3;
    --primary-light: #E89AC9;
    --primary-dark: #C84D9A;
    --accent-color: #D96BB3;

    /* Supporting neutrals */
    --secondary-color: #6C757D;
    --secondary-light: #EEF2F6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #D96BB3, #C84D9A);
    --gradient-soft: linear-gradient(135deg, rgba(232, 154, 201, 0.35), rgba(217, 107, 179, 0.18));
    --gradient-accent: linear-gradient(135deg, #D96BB3, #E89AC9);
    
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #BDC3C7;
    --white: #FFFFFF;
    --background: #FAFBFC;
    --background-light: #F8F9FA;
    
    --shadow-light: 0 2px 10px rgba(217, 107, 179, 0.12);
    --shadow-medium: 0 10px 30px rgba(217, 107, 179, 0.18);
    --shadow-heavy: 0 20px 40px rgba(217, 107, 179, 0.24);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    --font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-heading: 'Amiri', serif;
    
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Fixed header offset (used to prevent overlap on mobile) */
    --header-height: 94px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Layout */
.main {
    padding-top: var(--header-height);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--border-radius-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-soft);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
}

.section-title {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    transition: var(--transition);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    padding: 10px 14px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(248, 187, 217, 0.1) 0%, 
        rgba(255, 224, 178, 0.1) 50%, 
        rgba(156, 39, 176, 0.1) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 30%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-soft);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-light);
}

.hero-badge-logo {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    box-shadow: 0 6px 14px rgba(217, 107, 179, 0.18);
}

.hero-title {
    font-family: var(--font-family-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 250px;
    height: 510px;
    background: var(--white);
    border-radius: 40px;
    padding: 8px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--white);
}

.floating-hearts {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-hearts i {
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

.floating-hearts i:nth-child(2) {
    animation-delay: 1s;
}

.floating-hearts i:nth-child(3) {
    animation-delay: 2s;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    animation: floatAround 15s linear infinite;
    opacity: 0.7;
}

.heart-1 { top: 20%; left: 10%; animation-delay: 0s; }
.heart-2 { top: 60%; right: 10%; animation-delay: 5s; }
.heart-3 { bottom: 20%; left: 20%; animation-delay: 10s; }
.ring { top: 40%; right: 20%; animation-delay: 7s; }

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-light);
}

.feature-card:hover:before {
    opacity: 1;
}

.feature-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.feature-card.featured .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

.feature-card * {
    position: relative;
    z-index: 2;
}

.feature-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 0 var(--border-radius-lg) 0 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card.featured .feature-icon i {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card.featured .feature-title {
    color: var(--white);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Success Stories Section */
.success-stories {
    padding: var(--section-padding);
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.success-stories:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(233, 30, 99, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
}

.stories-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-medium);
    display: none;
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.story-card.active {
    display: block;
    animation: slideIn 0.6s ease-out;
}

.story-card:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
}

.story-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.8;
    position: relative;
}

.story-quote:before,
.story-quote:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
}

.story-quote:before {
    top: -20px;
    right: 100%;
}

.story-quote:after {
    bottom: -40px;
    left: 100%;
}

.story-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-light);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: right;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.story-rating {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.story-rating i {
    color: var(--secondary-color);
}

.story-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.story-nav {
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
}

.story-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.story-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Statistics Section */
.statistics {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card .stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-card .stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.stat-card .stat-label {
    font-size: 1.1rem;
    opacity: 1;
    color: #fff;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.method-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.method-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.method-details p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.story-after {
    margin-top: 16px;
    padding: 12px;
    background: var(--gradient-soft);
    border-radius: var(--border-radius);
    font-style: italic;
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.download:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(156, 39, 176, 0.05) 0%, transparent 50%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.download-btn {
    display: block;
    transition: var(--transition);
}

.download-btn img {
    height: 60px;
    width: auto;
    border-radius: var(--border-radius);
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.app-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.app-feature i {
    color: var(--primary-color);
}

.download-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phones-mockup {
    position: relative;
}

.phone {
    width: 250px;
    height: 500px;
    background: var(--white);
    border-radius: 40px;
    padding: 8px;
    box-shadow: var(--shadow-heavy);
    position: relative;
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* Shared — show screenshots inside frames */
.phone-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--white);
}

.phone-1 {
    transform: rotate(-15deg);
    z-index: 2;
}

.phone-2 {
    position: absolute;
    top: 40px;
    left: 120px;
    transform: rotate(15deg);
    z-index: 1;
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .brand-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.footer-brand .brand-name {
    font-family: var(--font-family-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.brand-description {
    margin-bottom: 30px;
    opacity: 0.8;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.7;
}

.footer-bottom p:first-child {
    margin-bottom: 8px;
}

.footer-bottom i {
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatAround {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
        --section-padding: 80px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .phone-mockup {
        width: 220px;
        height: 450px;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 74px;
    }

    /* On mobile, make header take its natural space to avoid overlapping hero */
    .header {
        position: sticky;
    }

    .main {
        padding-top: 0 !important;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 18px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
        padding: 14px;
        z-index: 2000;
        flex-direction: column;
        gap: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 10px 12px;
    }

    body.menu-open {
        overflow: hidden;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .story-card {
        padding: 30px 20px;
    }
    
    .story-author {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .app-features {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-1,
    .phone-2 {
        position: relative;
        transform: none;
    }
    
    .phone-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 90px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card .stat-number {
        font-size: 2.5rem;
    }
    
    .story-quote {
        font-size: 1.2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background: var(--primary-light);
    color: var(--white);
}

/* Focus Styles */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}