/* ═══════════════════════════════════════════════════════════════════════════════
   Site de Sinais TCP - Estilos CSS v2.0
   Design moderno, dark mode, glassmorphism, multi-idiomas
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   Base & Variables
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.8);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    --accent-yellow: #f59e0b;
    --accent-purple: #a855f7;
    --gradient-primary: linear-gradient(135deg, #22c55e, #3b82f6);
    --gradient-danger: linear-gradient(135deg, #ef4444, #f97316);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Login Page
   ═══════════════════════════════════════════════════════════════════════════════ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1a2e 50%, var(--bg-primary) 100%);
    padding: 20px;
}

.login-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 450px;
    width: 100%;
}

/* Banner de Assinatura */
.subscription-banner {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 16px;
}

.banner-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.banner-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Login Card */
.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header .subtitle {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 0.9rem;
}

/* Forms */
.login-form,
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.forgot-link,
.back-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-link:hover,
.back-link:hover {
    color: var(--accent-green);
}

/* Language Selector */
.lang-selector {
    margin-top: 24px;
    text-align: center;
}

.lang-selector select,
.lang-dropdown {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

.lang-selector select option,
.lang-dropdown option {
    background: #1e293b;
    color: var(--text-primary);
    padding: 8px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   App Layout
   ═══════════════════════════════════════════════════════════════════════════════ */

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h2 {
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 8px 12px;
    display: block;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--gradient-primary);
    color: white;
}

.nav-link.logout-link:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

.nav-link.admin-link {
    color: var(--accent-yellow);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Stats Cards
   ═══════════════════════════════════════════════════════════════════════════════ */

.stats-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-item .label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.stat-item.win .value {
    color: var(--accent-green);
}

.stat-item.loss .value {
    color: var(--accent-red);
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-card.online .stat-value {
    color: var(--accent-green);
}

.stat-card.wins .stat-value {
    color: var(--accent-green);
}

.stat-card.losses .stat-value {
    color: var(--accent-red);
}

.stat-card.rate .stat-value {
    color: var(--accent-blue);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Tables
   ═══════════════════════════════════════════════════════════════════════════════ */

.table-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 24px;
    overflow-x: auto;
}

.table-container h2 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tr.win {
    border-left: 3px solid var(--accent-green);
}

.data-table tr.loss {
    border-left: 3px solid var(--accent-red);
}

.data-table tr.active {
    border-left: 3px solid var(--accent-blue);
}

/* Copy Button */
.copy-btn {
    background: rgba(59, 130, 246, 0.2);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-right: 8px;
}

.copy-btn:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: scale(1.1);
}

.asset {
    font-weight: 600;
}

.price {
    font-family: 'Fira Code', monospace;
}

/* Direction Badge */
.direction {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.direction.buy {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.direction.sell {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

/* Status */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.status.active {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

.status.win {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.status.loss {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

/* Strength Bar */
.strength-bar {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
}

.strength-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.strength-bar span {
    position: absolute;
    right: -40px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Profile Page
   ═══════════════════════════════════════════════════════════════════════════════ */

.profile-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px;
}

.profile-card h2 {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Admin Table
   ═══════════════════════════════════════════════════════════════════════════════ */

.admin-table input[type="email"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 200px;
}

.inline-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-small {
    background: var(--gradient-primary);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-small:hover {
    transform: scale(1.1);
}

.btn-warning {
    background: linear-gradient(135deg, var(--accent-yellow), #f97316);
}

.btn-danger {
    background: var(--gradient-danger);
}

.badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

.badge.admin {
    background: var(--gradient-primary);
    color: white;
}

.status-online {
    color: var(--accent-green);
}

.status-offline {
    opacity: 0.5;
}

.actions {
    display: flex;
    gap: 8px;
}

.text-muted {
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Chart Container
   ═══════════════════════════════════════════════════════════════════════════════ */

.chart-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.chart-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-stats {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.chart-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.chart-stat-item .label {
    color: var(--text-secondary);
}

.chart-stat-item .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.chart-stat-item.wins .value {
    color: var(--accent-green);
}

.chart-stat-item.losses .value {
    color: var(--accent-red);
}

.chart-stat-item.rate .value {
    color: var(--accent-blue);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Toast Notification
   ═══════════════════════════════════════════════════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slide-in 0.3s ease, fade-out 0.3s ease 1.7s forwards;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-out {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   No Data Message
   ═══════════════════════════════════════════════════════════════════════════════ */

.no-data {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-secondary);
}

.no-data-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Auto Refresh Bar
   ═══════════════════════════════════════════════════════════════════════════════ */

.refresh-bar {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 16px;
    }

    .chart-section {
        grid-template-columns: 1fr;
    }

    .profile-container {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .login-container {
        padding: 16px;
    }

    .login-card {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Landing Page
   ═══════════════════════════════════════════════════════════════════════════════ */

.landing-page {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 60px 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--accent-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.4);
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.5);
}

.btn-cta .arrow {
    font-size: 1.3rem;
    transition: var(--transition);
}

.btn-cta:hover .arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.floating-card .fc-icon {
    font-size: 1.2rem;
}

.card-1 {
    top: 25%;
    right: 15%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features-section {
    padding: 100px 60px;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
}

/* Footer */
.landing-footer {
    text-align: center;
    padding: 24px;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Landing Responsive */
@media (max-width: 768px) {
    .landing-header {
        padding: 16px 20px;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .floating-card {
        display: none;
    }

    .features-section {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}