/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

:root {
    /* Brand Colors - from WordLoopStory theme */
    --primary-blue: rgb(51, 102, 230);
    --primary-purple: rgb(102, 51, 204);
    --primary-green: rgb(51, 204, 102);
    --accent-orange: rgb(230, 153, 51);
    
    /* Background Colors */
    --bg-primary: rgb(217, 235, 242);
    --bg-secondary: rgb(224, 217, 242);
    --bg-accent: rgb(217, 242, 224);
    
    /* Text Colors */
    --text-primary: rgb(26, 26, 51);
    --text-secondary: rgb(102, 102, 128);
    --text-light: #ffffff;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: rgba(51, 102, 230, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --gradient-secondary: linear-gradient(135deg, var(--primary-green), rgb(51, 153, 204));
    --gradient-accent: linear-gradient(135deg, var(--accent-orange), rgb(230, 102, 51));
    --gradient-bg: linear-gradient(135deg, 
        rgb(211, 232, 245), 
        rgb(222, 215, 245), 
        rgb(214, 245, 222));
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    background: var(--gradient-bg);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    position: relative;
    z-index: 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-bg);
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior: none;
    position: relative;
    z-index: 1;
}

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

/* Glass Morphism Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo i {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Navigation links removed - simple logo-only navbar */

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 2;
}

/* Ensure decorative background elements don't block clicks */
.hero-background,
.floating-circle {
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

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

.hero-subtitle-small {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    margin-left: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    white-space: nowrap;
    margin-left: 0;
    text-align: left;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.gradient-text-small {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    font-size: 0.8em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.primary-button {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 102, 230, 0.3);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 102, 230, 0.4);
}

.secondary-button {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    
    
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 18px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.app-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.story-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.story-category {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.story-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.story-preview {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.quiz-preview {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.quiz-question {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.quiz-option {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
}

.quiz-option.selected {
    background: var(--gradient-primary);
    color: var(--text-light);
}

/* Section Styles */
section {
    padding: 60px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: rgba(255, 255, 255, 0.05);
    padding-top: 40px; /* Reduced since we have divider above */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(51, 102, 230, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.step-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Methodology Section */
.methodology {
    background: rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

/* Single unified card for methodology */
.methodology-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-lg) auto;
    max-width: 900px;
    text-align: center;
}

/* Methodology Flow Design */
.methodology-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    padding: var(--spacing-lg);
}

.flow-step {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.flow-step[data-step="1"] { animation: slideInStep 0.6s ease 0.2s forwards; }
.flow-step[data-step="2"] { animation: slideInStep 0.6s ease 0.4s forwards; }
.flow-step[data-step="3"] { animation: slideInStep 0.6s ease 0.6s forwards; }
.flow-step[data-step="4"] { animation: slideInStep 0.6s ease 0.8s forwards; }
.flow-step[data-step="5"] { animation: slideInStep 0.6s ease 1.0s forwards; }
.flow-step[data-step="6"] { animation: slideInStep 0.6s ease 1.2s forwards; }

.step-content,
.result-text {
    text-align: center;
}

.step-text {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

.result-text {
    background: linear-gradient(135deg, #ffd700, #ff8c00, #ffa500);
    color: var(--text-light);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.4), 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    min-width: 180px;
    animation: perfectLearningReveal 1s ease 2.2s forwards, lightbulbGlow 2s ease 3.2s infinite;
}

.flow-result[data-step="6"] {
    opacity: 0;
    animation: slideInStep 0.6s ease 2.2s forwards;
}

.flow-arrow {
    color: var(--primary-purple);
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
    opacity: 0;
    animation: slideInArrow 0.6s ease 1.4s forwards, pulse 1.5s ease-in-out 2s infinite;
}

.flow-equals {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    opacity: 0;
    animation: slideInEquals 0.6s ease 1.6s forwards;
}

.equals-symbol {
    display: inline-block;
}

.context-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    min-height: 120px;
    max-height: 120px;
    width: 220px;
    min-width: 220px;
    position: relative;
}

.context-step i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.category-badge {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    display: inline-block;
}

.category-icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-icon-badge i {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.context-words {
    display: flex;
    gap: var(--spacing-xs);
}

.word-bubble {
    background: linear-gradient(135deg, #2E8B57, #3CB371, #20B2AA);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    animation: float 2s ease-in-out infinite;
    transition: all 0.5s ease;
    opacity: 1;
    min-width: 55px;
    max-width: 70px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.word-bubble:nth-child(2) {
    animation-delay: 0.3s;
}

.word-bubble:nth-child(3) {
    animation-delay: 0.6s;
}

.context-arrow {
    color: var(--primary-purple);
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.story-step {
    padding: var(--spacing-sm);
    justify-content: center;
    min-height: 120px;
    max-height: 120px;
    width: 180px;
    min-width: 180px;
}

.story-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 140px;
}

.story-line {
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.8;
    width: 0;
}

.story-line:nth-child(1) { 
    width: 100%;
    animation: drawLine1 3s ease-in-out infinite;
}
.story-line:nth-child(2) { 
    width: 70%;
    animation: drawLine2 3s ease-in-out infinite;
}
.story-line:nth-child(3) { 
    width: 95%;
    animation: drawLine3 3s ease-in-out infinite;
}
.story-line:nth-child(4) { 
    width: 85%;
    animation: drawLine4 3s ease-in-out infinite;
}
.story-line:nth-child(5) { 
    width: 100%;
    animation: drawLine5 3s ease-in-out infinite;
}
.story-line:nth-child(6) { 
    width: 65%;
    animation: drawLine6 3s ease-in-out infinite;
}
.story-line:nth-child(7) { 
    width: 90%;
    animation: drawLine7 3s ease-in-out infinite;
}
.story-line:nth-child(8) { 
    width: 80%;
    animation: drawLine8 3s ease-in-out infinite;
}
.story-line:nth-child(9) { 
    width: 95%;
    animation: drawLine9 3s ease-in-out infinite;
}
.story-line:nth-child(10) { 
    width: 75%;
    animation: drawLine10 3s ease-in-out infinite;
}
.story-line:nth-child(11) { 
    width: 85%;
    animation: drawLine11 3s ease-in-out infinite;
}

@keyframes drawLine1 {
    0% { width: 0; opacity: 0.4; }
    9% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0.8; }
}

@keyframes drawLine2 {
    0%, 9% { width: 0; opacity: 0.4; }
    18% { width: 70%; opacity: 1; }
    100% { width: 70%; opacity: 0.8; }
}

@keyframes drawLine3 {
    0%, 18% { width: 0; opacity: 0.4; }
    27% { width: 95%; opacity: 1; }
    100% { width: 95%; opacity: 0.8; }
}

@keyframes drawLine4 {
    0%, 27% { width: 0; opacity: 0.4; }
    36% { width: 85%; opacity: 1; }
    100% { width: 85%; opacity: 0.8; }
}

@keyframes drawLine5 {
    0%, 36% { width: 0; opacity: 0.4; }
    45% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0.8; }
}

@keyframes drawLine6 {
    0%, 45% { width: 0; opacity: 0.4; }
    54% { width: 65%; opacity: 1; }
    100% { width: 65%; opacity: 0.8; }
}

@keyframes drawLine7 {
    0%, 54% { width: 0; opacity: 0.4; }
    63% { width: 90%; opacity: 1; }
    100% { width: 90%; opacity: 0.8; }
}

@keyframes drawLine8 {
    0%, 63% { width: 0; opacity: 0.4; }
    72% { width: 80%; opacity: 1; }
    100% { width: 80%; opacity: 0.8; }
}

@keyframes drawLine9 {
    0%, 72% { width: 0; opacity: 0.4; }
    81% { width: 95%; opacity: 1; }
    100% { width: 95%; opacity: 0.8; }
}

@keyframes drawLine10 {
    0%, 81% { width: 0; opacity: 0.4; }
    90% { width: 75%; opacity: 1; }
    100% { width: 75%; opacity: 0.8; }
}

@keyframes drawLine11 {
    0%, 90% { width: 0; opacity: 0.4; }
    99% { width: 85%; opacity: 1; }
    100% { width: 85%; opacity: 0.8; }
}

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

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

@keyframes slideInArrow {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInEquals {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lightbulbGlow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3), 
                    0 4px 12px rgba(0, 0, 0, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 48px rgba(255, 193, 7, 0.7), 
                    0 6px 24px rgba(255, 140, 0, 0.4),
                    0 0 40px rgba(255, 193, 7, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1.03);
    }
}

@keyframes perfectLearningReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}







/* Testimonials Section - Removed */

/* Pricing Section */
.pricing {
    background: rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

/* Removed old pricing-toggle styles - no toggle in new comparison design */

.features-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(51, 102, 230, 0.3);
}

.comparison-card.premium {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(135deg, 
        rgba(51, 102, 230, 0.1), 
        rgba(102, 51, 204, 0.1)
    );
}

.premium-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(51, 102, 230, 0.4);
}

.plan-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 8px 0 var(--spacing-lg);
    font-style: italic;
}

/* Removed old pricing styles - now using features-comparison */

.comparison-card .plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.plan-features ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.plan-features .fas {
    width: 16px;
    flex-shrink: 0;
}

.plan-features .fas.fa-check {
    color: var(--primary-green);
}

.plan-features .fas.fa-infinity {
    color: var(--primary-purple);
}

.plan-features .fas.fa-layer-group {
    color: var(--primary-blue);
}

.plan-features .fas.fa-tags {
    color: var(--accent-orange);
}

.plan-features .fas.fa-chart-line {
    color: var(--primary-green);
}

.plan-features .fas.fa-ban {
    color: var(--primary-blue);
}

.plan-features .fas.fa-plus-circle {
    color: var(--primary-green);
}

.plan-features .fas.fa-rocket {
    color: var(--accent-orange);
}

/* Free version negative icons */
.plan-features .fas.fa-hourglass-half {
    color: #f39c12;
}

.plan-features .fas.fa-lock {
    color: #e74c3c;
}

.plan-features .fas.fa-minus-circle {
    color: #e74c3c;
}

.plan-features .fas.fa-chart-bar {
    color: #f39c12;
}

.plan-features .fas.fa-exclamation-triangle {
    color: #f39c12;
}

/* Removed old plan-button styles - no buttons in new comparison design */

/* Download Section */
#download {
    padding-top: 40px;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.download-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

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

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: fit-content;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* One-time attention animation for the download button */
@keyframes attentionShake {
    0% { transform: translateY(0) translateX(0) rotate(0); }
    15% { transform: translateY(-1px) translateX(-2px) rotate(-1deg); }
    30% { transform: translateY(0) translateX(2px) rotate(1deg); }
    45% { transform: translateY(-1px) translateX(-2px) rotate(-1deg); }
    60% { transform: translateY(0) translateX(2px) rotate(1deg); }
    75% { transform: translateY(-1px) translateX(-1px) rotate(-0.5deg); }
    100% { transform: translateY(0) translateX(0) rotate(0); }
}

.download-btn.attention {
    animation: attentionShake 0.7s ease both;
}

.download-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.download-btn i {
    font-size: 2rem;
}

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

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

.btn-text .large {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Coming soon and download stats styles - Removed (Android app cancelled, stats removed) */

/* Download Section Phone Mockups - Clean Prefix */
.p-mockup-container {
    position: relative;
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
}

.p-mockup-categories, .p-mockup-progress {
    transform: rotate(-5deg);
    position: relative;
}

.p-mockup-categories {
    transform: rotate(-5deg) scale(0.9);
    z-index: 2;
}

.p-mockup-progress {
    transform: rotate(10deg) scale(0.8);
    z-index: 1;
}

/* Categories Phone - 90% of Hero (Main focus) */
.p-mockup-categories .p-mockup-frame {
    width: 252px;
    height: 504px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 18px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Progress Phone - 80% of Hero (Secondary) */
.p-mockup-progress .p-mockup-frame {
    width: 224px;
    height: 448px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 18px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.app-screen {
    padding: var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.screen-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.category-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    font-size: 0.75rem;
    text-align: center;
}

.progress-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--spacing-lg);
}

.progress-item {
    text-align: center;
}

.progress-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

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

.level-badge {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    margin-top: auto;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.05);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo i {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-signature {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.footer-signature a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-signature a:hover {
    color: var(--primary-blue);
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
}

/* Elegant Divider */
.elegant-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.divider-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.divider-dots {
    display: flex;
    align-items: center;
    gap: 3px;
}

.dot {
    border-radius: 50%;
    background: var(--text-secondary);
}

.dot.large {
    width: 4px;
    height: 4px;
    opacity: 0.5;
}

.dot.small {
    width: 3px;
    height: 3px;
    opacity: 0.4;
}

.divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--text-secondary) 20%,
        var(--text-secondary) 40%,
        var(--text-secondary) 60%,
        var(--text-secondary) 80%,
        transparent
    );
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    /* Methodology responsive for tablet */
    .methodology-card {
        max-width: 700px;
        padding: var(--spacing-lg);
    }
    
    .methodology-flow {
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .flow-step {
        min-height: 70px;
        padding: var(--spacing-sm);
    }
    
    .step-text {
        font-size: 0.8rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .result-text {
        font-size: 0.95rem;
        padding: var(--spacing-md) var(--spacing-lg);
        letter-spacing: 0.4px;
        min-width: 160px;
    }

    .flow-arrow {
        font-size: 1rem;
    }
    
    .flow-equals {
        font-size: 1.5rem;
    }
    
    .context-step {
        min-height: 100px;
        max-height: 100px;
        width: 200px;
        min-width: 200px;
        padding: var(--spacing-sm);
    }
    
    .story-step {
        min-height: 100px;
        max-height: 100px;
        width: 160px;
        min-width: 160px;
        padding: var(--spacing-sm);
    }
    
    .category-icon-badge {
        width: 28px;
        height: 28px;
        top: -6px;
        right: -6px;
    }
    
    .category-icon-badge i {
        font-size: 12px;
    }
    
    .story-preview {
        width: 120px;
    }
    
    .word-bubble {
        font-size: 0.7rem;
        padding: 3px 6px;
        min-width: 50px;
        max-width: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Methodology responsive */
    .methodology-card {
        padding: var(--spacing-lg);
        margin: var(--spacing-md) auto;
    }
    
    /* Methodology mobile responsive */
    .methodology-flow {
        flex-direction: column;
        gap: var(--spacing-lg);
        padding: var(--spacing-sm);
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        font-size: 0.9rem;
    }
    
    .flow-equals {
        font-size: 1.3rem;
    }
    
    .flow-step {
        min-height: 80px;
        max-height: 80px;
        padding: var(--spacing-xs);
        width: 100%;
        max-width: 280px;
    }
    
    .context-step {
        min-height: 80px;
        max-height: 80px;
        padding: var(--spacing-xs);
        width: 100%;
        max-width: 280px;
    }
    
    .story-step {
        min-height: 80px;
        max-height: 80px;
        padding: var(--spacing-xs);
        width: 100%;
        max-width: 220px;
    }
    
    .step-text {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .result-text {
        font-size: 0.85rem;
        padding: var(--spacing-md) var(--spacing-lg);
        letter-spacing: 0.3px;
        min-width: 140px;
    }
    
    .category-icon-badge {
        width: 24px;
        height: 24px;
        top: -4px;
        right: -4px;
    }
    
    .category-icon-badge i {
        font-size: 10px;
    }
    
    .story-preview {
        width: 160px;
        gap: 3px;
    }
    
    .story-line {
        height: 2px;
    }
    
    .category-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: var(--spacing-xs);
    }

    .word-bubble {
        font-size: 0.65rem;
        padding: 3px 6px;
        min-width: 35px;
        max-width: 65px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .download-buttons {
        align-items: center;
    }
    
    .download-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .p-mockup-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .p-mockup-progress {
        order: 2;
    }
    
    /* Mobile: Proportional to hero phone (240x480) with thinner borders */
    .p-mockup-categories .p-mockup-frame {
        width: 216px;
        height: 432px;
        padding: 14px;
    }
    
    .p-mockup-progress .p-mockup-frame {
        width: 192px;
        height: 384px;
        padding: 14px;
    }
    
    /* Mobile phone mockup content adjustments */
    .p-mockup-header {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .p-mockup-categories-grid {
        gap: 4px;
    }
    
    .p-mockup-category {
        padding: 6px 2px;
        font-size: 0.55rem;
        height: 28px;
    }
    
    .p-mockup-level {
        width: 22px;
        height: 22px;
        font-size: 0.5rem;
    }
    
    .p-mockup-levels {
        gap: 3px;
    }
    
    .p-mockup-generate {
        padding-bottom: var(--spacing-sm);
    }
    
    .p-mockup-generate-text {
        font-size: 0.6rem;
        margin-bottom: 6px;
    }
    
    .p-mockup-progress-bar {
        height: 2px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .learning-cycle {
        width: 300px;
        height: 300px;
    }
    
    .cycle-item {
        width: 80px;
        height: 80px;
    }
    
    .cycle-item i {
        font-size: 1.5rem;
    }
    
    .cycle-item span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .phone-frame {
        width: 240px !important;
        height: 480px !important;
        padding: 14px !important;
    }
    
    .p-mockup-level {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.45rem !important;
    }
    
    /* Progress Phone Mockup - Mobile Responsive */
    .p-mockup-rank-circle {
        width: 32px !important;
        height: 32px !important;
    }
    
    .p-mockup-rank-circle i {
        font-size: 14px !important;
    }
    
    .p-mockup-rank-name {
        font-size: 12px !important;
    }
    
    .p-mockup-words-count {
        font-size: 8px !important;
    }
    
    .p-mockup-next-rank, .p-mockup-progress-text {
        font-size: 8px !important;
    }
    
    .p-mockup-categories-mini {
        gap: 4px !important;
    }
    
    .p-mockup-mini-category {
        padding: 4px 2px !important;
    }
    
    .p-mockup-category-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 8px !important;
    }
    
    .p-mockup-category-count {
        font-size: 9px !important;
    }
    
    .p-mockup-achievement {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }
    
    .p-mockup-achievements {
        gap: 6px !important;
    }
    
    .methodology-formula {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .formula-plus,
    .formula-equals {
        transform: rotate(90deg);
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Splash Screen Styles */
.splash-screen {
    padding: var(--spacing-xxl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.splash-content {
    text-align: center;
    color: var(--text-light);
}

.splash-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.splash-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 1;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.splash-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
}

.splash-tagline {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
}

.splash-loading {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.loading-dots {
    display: flex;
    gap: 8px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Phone mockup content styles */
.p-mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.p-mockup-app {
    padding: var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.p-mockup-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 6px;
}

/* Categories Grid - 2 column layout */
.p-mockup-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: var(--spacing-md);
}

.p-mockup-category {
    padding: 8px 4px;
    background: rgba(74, 144, 226, 0.08);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-primary);
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.p-mockup-category.selected {
    background: linear-gradient(135deg, var(--primary-blue), rgba(74, 144, 226, 0.8));
    border-color: var(--primary-blue);
    color: white;
    transform: scale(1.02);
}

/* Levels Timeline - horizontal */
.p-mockup-levels {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
}

.p-mockup-level {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    border: 1px solid rgba(74, 144, 226, 0.3);
    background: rgba(74, 144, 226, 0.08);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.p-mockup-level.selected {
    background: linear-gradient(135deg, var(--primary-blue), rgba(74, 144, 226, 0.8));
    border-color: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

/* Progress Generation */
.p-mockup-generate {
    margin-top: auto;
    padding: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
    text-align: center;
}

.p-mockup-generate-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.p-mockup-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.p-mockup-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    border-radius: 2px;
    width: 0%;
    animation: progressFill 3s ease-in-out infinite;
    position: relative;
}

.p-mockup-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 1.5s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

.p-mockup-stats {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.p-mockup-stat {
    text-align: center;
}

.p-mockup-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.p-mockup-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.p-mockup-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-top: auto;
}

/* Progress Phone Mockup - Enhanced Sections */

/* Rank Section */
.p-mockup-rank-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.15);
}

.p-mockup-rank-avatar {
    flex-shrink: 0;
}

.p-mockup-rank-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(74, 144, 226, 0.3);
}

.p-mockup-rank-circle i {
    color: white;
    font-size: 18px;
}

.p-mockup-rank-info {
    flex: 1;
    min-width: 0;
}

.p-mockup-rank-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.p-mockup-words-count {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Rank Progress Bar */
.p-mockup-rank-progress {
    margin-bottom: 12px;
}

.p-mockup-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.p-mockup-next-rank {
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 500;
}

.p-mockup-progress-text {
    font-size: 9px;
    color: var(--primary-blue);
    font-weight: 600;
}

.p-mockup-progress-bar-container {
    height: 4px;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.p-mockup-progress-bar-fill {
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    border-radius: 2px;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(74, 144, 226, 0.3); }
    50% { box-shadow: 0 0 8px rgba(74, 144, 226, 0.6); }
}

/* Mini Categories Grid */
.p-mockup-categories-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.p-mockup-mini-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.p-mockup-category-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.p-mockup-category-icon.travel {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.p-mockup-category-icon.business {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.p-mockup-category-icon.food {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.p-mockup-category-icon.tech {
    background: linear-gradient(135deg, #10b981, #059669);
}

.p-mockup-category-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Achievement Badges */
.p-mockup-achievements {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.p-mockup-achievement {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.p-mockup-achievement:hover {
    transform: scale(1.05);
}

.p-mockup-achievement.unlocked {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    color: white;
}

.p-mockup-achievement.partial {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.p-mockup-achievement.partial .p-mockup-achievement-progress {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid #fbbf24;
    border-right: 2px solid #f59e0b;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    animation: partialGlow 2s ease-in-out infinite;
}

@keyframes partialGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.3)); 
        transform: rotate(0deg);
    }
    50% { 
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6)); 
        transform: rotate(5deg);
    }
}

.p-mockup-achievement.locked {
    background: linear-gradient(135deg, #d1d5db, #9ca3af);
    color: #6b7280;
}
