/* ===================================
   Time Machine - Cyan Theme
   Style: Starlight + Neumorphic
   =================================== */

/* Time Machine Color Variables - Cyan */
:root {
    /* Background */
    --bg-deep: #060A0A;
    --bg-primary: #080E0E;
    --bg-elevated: #0E1616;
    --bg-card: #141C1C;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #96D4D4;
    --text-muted: #508A8A;

    /* Primary Color - Cyan */
    --color-primary: #06B6D4;
    --color-primary-dark: #0891B2;
    --color-primary-light: #22D3EE;
    --color-rgb: 6, 182, 212;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    --gradient-text: linear-gradient(135deg, #22D3EE 0%, #06B6D4 50%, #0891B2 100%);

    /* Glass */
    --glass-bg: rgba(10, 18, 18, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.05);

    /* Neumorphism shadows */
    --shadow-light: -8px -8px 20px rgba(22, 35, 35, 0.8);
    --shadow-dark: 8px 8px 20px rgba(3, 5, 5, 0.9);
    --shadow-inset-light: inset -4px -4px 10px rgba(22, 35, 35, 0.5);
    --shadow-inset-dark: inset 4px 4px 10px rgba(3, 5, 5, 0.6);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-deep);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(var(--color-rgb), 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(var(--color-rgb), 0.12) 0%, transparent 45%),
        radial-gradient(ellipse 50% 30% at 10% 60%, rgba(var(--color-rgb), 0.08) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 12, 12, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: var(--text-primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--bg-deep);
}

.logo-icon svg {
    stroke: var(--bg-deep);
}

/* TM Header Logo Style */
.tm-header-logo {
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.logo-text-white {
    color: #FFFFFF !important;
    font-weight: 600;
}

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-elevated);
    border-radius: 50px;
    padding: 0.25rem;
    border: 1px solid var(--glass-border);
}

.lang-switch button {
    padding: 0.375rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-switch button:hover {
    color: var(--text-primary);
}

.lang-switch button.active {
    background: var(--gradient-primary);
    color: var(--bg-deep);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 1rem;
    background: rgba(16, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    min-width: 220px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: rgba(var(--color-rgb), 0.15);
}

.mobile-menu .menu-section {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

.mobile-menu .menu-section-title {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
}

/* ===== NEUMORPHIC BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-deep);
    box-shadow: 0 8px 30px rgba(var(--color-rgb), 0.4);
}

.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(var(--color-rgb), 0.5);
    transform: translateY(2px);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: var(--shadow-light), var(--shadow-dark);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-inset-light), var(--shadow-inset-dark);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(80px + 3rem) 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

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

.hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    width: 100%;
    gap: 2rem;
}

.store-logo {
    height: 600px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(var(--color-rgb), 0.3));
}

/* ===== TM CLOCK LOGO (FX Style) ===== */
.tm-clock-logo {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-clock-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(var(--color-rgb), 0.3);
}

.tm-clock-ring-outer {
    width: 280px;
    height: 280px;
    border-color: rgba(var(--color-rgb), 0.15);
}

.tm-clock-ring-middle {
    width: 220px;
    height: 220px;
    border-color: rgba(var(--color-rgb), 0.25);
}

.tm-clock-core {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(145deg, #22D3EE 0%, #06B6D4 40%, #0891B2 100%);
    box-shadow:
        0 0 60px rgba(var(--color-rgb), 0.5),
        0 0 100px rgba(var(--color-rgb), 0.3),
        inset 0 -5px 20px rgba(0, 0, 0, 0.2),
        inset 0 5px 20px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-clock-face {
    position: relative;
    width: 100%;
    height: 100%;
}

.tm-clock-hand {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    transform-origin: bottom center;
    left: 50%;
    bottom: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tm-clock-hand-hour {
    width: 6px;
    height: 35px;
    margin-left: -3px;
    animation: tm-rotate-hour 60s linear infinite;
}

.tm-clock-hand-minute {
    width: 4px;
    height: 50px;
    margin-left: -2px;
    animation: tm-rotate-minute 5s linear infinite;
}

/* Animations de rotation des aiguilles */
@keyframes tm-rotate-hour {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes tm-rotate-minute {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tm-clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Animation subtile pour les anneaux */
@keyframes tm-pulse-ring {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

.tm-clock-ring-outer {
    animation: tm-pulse-ring 4s ease-in-out infinite;
}

.tm-clock-ring-middle {
    animation: tm-pulse-ring 4s ease-in-out infinite 0.5s;
}

.timer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(var(--color-rgb), 0.1);
    border: 1px solid rgba(var(--color-rgb), 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

/* ===== PHONE MOCKUP FRAME ===== */
.phone-mockup,
.phone-mockup-small,
.phone-mockup-medium {
    position: relative;
    display: inline-block;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(var(--color-rgb), 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
}

/* Inner bezel effect */
.phone-mockup::before,
.phone-mockup-small::before,
.phone-mockup-medium::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 36px;
    border: 2px solid #333;
    pointer-events: none;
    z-index: 2;
}

/* Side buttons - Power button */
.phone-mockup::after,
.phone-mockup-small::after,
.phone-mockup-medium::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 120px;
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, #3a3a3a, #252525, #3a3a3a);
    border-radius: 0 2px 2px 0;
    z-index: 3;
}

/* Screen styling */
.phone-mockup img,
.phone-mockup-small img,
.phone-mockup-medium img {
    border-radius: 28px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Size - Large (Hero) */
.phone-mockup img {
    max-height: 550px;
    width: auto;
}

/* Size - Small (Gallery) */
.phone-mockup-small {
    border-radius: 32px;
    padding: 10px;
}

.phone-mockup-small::before {
    border-radius: 28px;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

.phone-mockup-small::after {
    top: 80px;
    height: 40px;
}

.phone-mockup-small img {
    max-height: 350px;
    width: auto;
    border-radius: 22px;
}

/* Size - Medium (Tabs) */
.phone-mockup-medium {
    border-radius: 36px;
    padding: 11px;
}

.phone-mockup-medium::before {
    border-radius: 32px;
}

.phone-mockup-medium::after {
    top: 100px;
    height: 50px;
}

.phone-mockup-medium img {
    max-height: 450px;
    width: auto;
    border-radius: 25px;
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    z-index: 1;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(var(--color-rgb), 0.1);
    border: 1px solid rgba(var(--color-rgb), 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(var(--color-rgb), 0.1);
    border-color: rgba(var(--color-rgb), 0.3);
}

.feature-card.feature-large {
    grid-column: span 2;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--color-rgb), 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(var(--color-rgb), 0.2);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.feature-list {
    margin-top: 1rem;
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* ===== SCREENSHOTS GALLERY ===== */
.screenshots {
    padding: 6rem 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--color-rgb), 0.15);
    border-color: rgba(var(--color-rgb), 0.3);
}

.screenshot-item.featured {
    border-color: rgba(var(--color-rgb), 0.4);
    box-shadow: 0 0 20px rgba(var(--color-rgb), 0.1);
}

.screenshot-caption {
    margin-top: 1.25rem;
}

.screenshot-caption h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.screenshot-caption p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TABS SECTION ===== */
.tabs-section {
    padding: 6rem 0;
}

.tab-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.tab-showcase:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(var(--color-rgb), 0.1);
    border-color: rgba(var(--color-rgb), 0.3);
}

.tab-showcase.reverse {
    direction: rtl;
}

.tab-showcase.reverse > * {
    direction: ltr;
}

.tab-showcase:last-child {
    margin-bottom: 0;
}

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

.tab-content {
    padding: 1rem;
}

.tab-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg-deep);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.tab-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tab-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tab-features {
    list-style: none;
}

.tab-features li {
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tab-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(var(--color-rgb), 0.5);
}

/* ===== INTEGRATION SECTION ===== */
.integration {
    padding: 6rem 0;
}

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

.integration-text .section-badge {
    margin-bottom: 1rem;
}

.integration-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.integration-text > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.integration-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.int-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.int-feature:hover {
    border-color: rgba(var(--color-rgb), 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.int-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(var(--color-rgb), 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.int-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.int-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.int-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Specs Card */
.specs-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.specs-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li span {
    color: var(--text-secondary);
}

.specs-list li strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 6rem 0;
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--color-rgb), 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pricing-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.price .decimal {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.pricing-card .btn {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

.pricing-secure {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 320px;
    font-weight: 300;
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
    font-weight: 300;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Footer Logo Styling */
.footer-logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(var(--color-rgb), 0.3));
}

.footer-brand {
    text-align: center;
}

.footer-brand p {
    text-align: left;
}

.footer-logo {
    display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .feature-card.feature-large {
        grid-column: span 1;
    }

    .tab-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .tab-showcase.reverse {
        direction: ltr;
    }

    .tab-content {
        order: 2;
    }

    .tab-image {
        order: 1;
    }

    .integration-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .integration-text {
        order: 2;
    }

    .integration-image {
        order: 1;
    }
}

@media (max-width: 900px) {
    header nav:not(.mobile-menu) {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .store-logo {
        height: 350px;
    }

    /* TM Clock Logo Responsive */
    .tm-clock-logo {
        width: 180px;
        height: 180px;
    }

    .tm-clock-ring-outer {
        width: 180px;
        height: 180px;
    }

    .tm-clock-ring-middle {
        width: 140px;
        height: 140px;
    }

    .tm-clock-core {
        width: 100px;
        height: 100px;
    }

    .tm-clock-hand-hour {
        width: 5px;
        height: 25px;
        margin-left: -2.5px;
    }

    .tm-clock-hand-minute {
        width: 3px;
        height: 35px;
        margin-left: -1.5px;
    }

    .tm-clock-center {
        width: 10px;
        height: 10px;
    }

    .phone-mockup img {
        max-height: 400px;
    }

    .phone-mockup,
    .phone-mockup-small,
    .phone-mockup-medium {
        border-radius: 28px;
        padding: 8px;
    }

    .phone-mockup::before,
    .phone-mockup-small::before,
    .phone-mockup-medium::before {
        border-radius: 24px;
        top: 4px;
        left: 4px;
        right: 4px;
        bottom: 4px;
    }

    .phone-mockup img,
    .phone-mockup-small img,
    .phone-mockup-medium img {
        border-radius: 20px;
    }

    .phone-mockup-small img {
        max-height: 280px;
    }

    .phone-mockup-medium img {
        max-height: 350px;
    }

    .features, .screenshots, .pricing, .tabs-section, .integration {
        padding: 4rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-gallery {
        grid-template-columns: 1fr;
    }

    .tab-showcase {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .tab-content h3 {
        font-size: 1.25rem;
    }

    .tab-features li {
        text-align: left;
    }

    .integration-features {
        gap: 0.75rem;
    }

    .int-feature {
        flex-direction: column;
        text-align: center;
    }

    .int-icon {
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
