/* 
    TiGenius Portfolio - Core Design System
    Theme: Executive Dark & Tech Blue
*/

:root {
    --bg-primary: #000000;
    --bg-secondary: #0f1115;
    --bg-accent: #141519;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;
    
    --accent-primary: #f47521; /* Crunchyroll Orange */
    --accent-secondary: #ff8c42;
    --accent-gradient: linear-gradient(135deg, #f47521 0%, #d85c0b 100%);
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 4px; /* Sharper edges */
    --glass-bg: rgba(20, 21, 25, 0.95);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10001;
    transition: width 0.1s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 70px 0;
    position: relative;
}

/* Alternating Backgrounds on the wrapper divs */
main > div:nth-child(odd) {
    background-color: #0d0f13;
}

main > div:nth-child(even) {
    background-color: #000000;
}

/* Section Divider Element */
main > div {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

main > div::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 15px rgba(244, 117, 33, 0.4);
    z-index: 10;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800; /* Extra bold for impact */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px; /* Sharper corners like Crunchyroll */
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

/* Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards Design */
.card-elegant {
    background: var(--bg-accent);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.card-elegant:hover {
    border-color: var(--accent-primary);
    background: #1c1e24;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(244, 117, 33, 0.15);
}

/* Section Titles */
.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 4px 12px;
    background: rgba(244, 117, 33, 0.1);
    border-radius: 20px;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

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

#planos .section-subtitle {
    text-align: justify;
    text-justify: inter-word;
    max-width: 780px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .section { padding: 30px 0; }
    .section-title { font-size: 2.2rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section-title { font-size: 1.8rem; }
    h1 { font-size: 2rem; }
    .btn { padding: 0.8rem 1.5rem; width: 100%; }
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 20px rgba(244, 117, 33, 0.3);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(244, 117, 33, 0.5);
    background: #fff;
    color: var(--accent-primary);
}

/* ==========================================================================
   Planos e Preços (Dark Theme)
   ========================================================================== */
.planos {
    padding: 100px 0;
}

.planos .section-subtitle {
    margin-bottom: 12px;
}



.beneficios-destaque{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-top:25px;
    margin-bottom:30px;
}

.beneficio{
    background:rgba(244,117,33,.08);
    border:1px solid rgba(244,117,33,.25);
    padding:10px 15px;
    border-radius:8px;
    color:#fff;
    font-size:.9rem;
}

.beneficio i{
    color:var(--accent-primary);
    margin-right:6px;
}



.planos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    padding-top: 2rem;
    align-items: stretch;
}

.planos-carousel-wrapper {
    position: relative;
    width: 100%;
}

.planos-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.planos-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.planos-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(244, 117, 33, 0.5);
}

.planos-info-container {
    margin-top: 2.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.plano-card {
    background: var(--bg-accent);
    border-radius: 12px;
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.plano-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: #1c1e24;
}

.plano-card.highlight {
    border: 2px solid var(--accent-primary);
    box-shadow: 0 15px 35px rgba(244, 117, 33, 0.15);
    transform: scale(1.02);
    z-index: 2;
}

.plano-card.highlight:hover {
    transform: scale(1.02) translateY(-4px);
    background: #1c1e24;
}

.plano-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plano-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.plano-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.plano-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-height: 45px;
    margin-bottom: 1.5rem;
}

.plano-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #ffffff;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 4px;
    color: var(--accent-primary);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.plano-promo-badge {
    display: inline-block;
    background: rgba(244, 117, 33, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
    align-self: center;
}

.plano-price-details {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 2px;
}
.plano-original-strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.plano-promo-duration {
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.plano-after-period {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}
.plano-body {
    flex-grow: 1;
    margin-bottom: 2rem;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.plano-details-toggle {
    display: none;
}

@media (min-width: 993px) {
    .plano-body {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
}

.plano-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plano-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.plano-features li i {
    color: var(--accent-primary); /* Green check swapped for branding orange check for high dark-theme elegance, or green */
    margin-top: 4px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.plano-footer {
    text-align: center;
    margin-top: auto;
}

.w-100 {
    width: 100%;
}

@media (max-width: 992px) {
    .plano-card.highlight {
        transform: scale(1) !important;
        margin: 0 !important;
    }
    
    .plano-card:hover,
    .plano-card.highlight:hover {
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .plano-card.highlight::after {
        opacity: 0.3 !important;
        filter: blur(10px) !important;
    }

    .planos-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
        box-sizing: border-box;
        scrollbar-width: none;
    }
    .planos-grid::-webkit-scrollbar {
        display: none;
    }

    .plano-card {
        flex: 0 0 85% !important;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    .plano-price-details {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    .planos-dots {
        display: flex;
    }

    .planos-info-container {
        margin-top: 1.5rem;
        padding: 0 1.5rem;
    }

    .plano-details-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: transparent;
        border: none;
        color: var(--accent-primary);
        font-family: var(--font-heading);
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        padding: 0.5rem;
        margin: 0.5rem auto 1.5rem auto;
        transition: var(--transition-smooth);
        align-self: center;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .plano-details-toggle i {
        font-size: 0.75rem;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .plano-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
        opacity: 0;
    }

    .plano-card.details-active .plano-body {
        opacity: 1;
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
   Configuração de Taxa de Criação & Banner Informativo
   ========================================================================== */
.plano-setup-box {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.plano-card:hover .plano-setup-box {
    border-color: rgba(244, 117, 33, 0.25);
    background: rgba(244, 117, 33, 0.02);
}

.plano-setup-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.plano-setup-title i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.setup-amount {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
    white-space: nowrap;
    text-align: center;
    margin-bottom: 0.15rem;
}

.plano-setup-period {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.plano-setup-detail {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.planos-info-banner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(244, 117, 33, 0.03);
    border: 1px solid rgba(244, 117, 33, 0.15);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    width: 100%;
    box-sizing: border-box;
}

.planos-info-banner:hover {
    border-color: rgba(244, 117, 33, 0.35);
    background: rgba(244, 117, 33, 0.06);
    box-shadow: 0 15px 35px rgba(244, 117, 33, 0.05);
}

/* Header: ícone + título em linha */
.banner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(244, 117, 33, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
    font-size: 1.2rem;
    border: 1px solid rgba(244, 117, 33, 0.2);
}

.banner-header h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Steps: layout horizontal em desktop */
.banner-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1rem 1.1rem;
}

.banner-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.banner-step-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.banner-step-content strong {
    color: #ffffff;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.banner-step-content span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Divisor com seta entre os steps */
.banner-step-divider {
    flex-shrink: 0;
    color: var(--accent-primary);
    font-size: 1rem;
    opacity: 0.7;
}

.banner-action {
    flex-shrink: 0;
}

.banner-action .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .planos-info-banner {
        gap: 1.25rem;
        padding: 1.5rem 1.1rem;
    }

    .banner-steps {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .banner-step-divider {
        display: flex;
        justify-content: center;
        transform: rotate(90deg);
        font-size: 0.85rem;
    }

    .banner-step {
        align-items: flex-start;
    }

    .banner-action {
        width: 100%;
    }
    .banner-action .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Custom Premium Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0f13;
}

::-webkit-scrollbar-thumb {
    background: #1c1e24;
    border: 2px solid #0d0f13;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Email Obfuscated Links Hover */
.footer-contact a:hover,
.contact-methods a:hover {
    color: var(--accent-primary) !important;
    text-shadow: 0 0 10px rgba(244, 117, 33, 0.4);
}


/* Card Glow Hover Effect */
.plano-card.highlight::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition-smooth);
    filter: blur(10px);
}

.plano-card.highlight:hover::after {
    opacity: 0.5;
    filter: blur(12px);
}




