/* Info Pages Premium Stylesheet */

/* Variables (Fallback to home.css if available) */
:root {
    --info-bg: #fdfbf7;
    --info-text: #333333;
    --info-primary: #ff6f61;
    --info-secondary: #ff9a76;
    --info-card-bg: #ffffff;
    --info-border: #f0edf0;
    --info-glass-bg: rgba(255, 255, 255, 0.85);
    --info-glass-border: rgba(255, 255, 255, 0.4);
    --info-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --info-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --info-bg: #121212;
    --info-text: #e0e0e0;
    --info-card-bg: #1e1e1e;
    --info-border: #333333;
    --info-glass-bg: rgba(30, 30, 30, 0.7);
    --info-glass-border: rgba(255, 255, 255, 0.05);
    --info-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --info-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.6);
}

body {
    background-color: var(--info-bg);
    color: var(--info-text);
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Layout */
.info-page-wrapper {
    padding-top: 100px;
    min-height: calc(100vh - 350px);
    padding-bottom: 80px;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.info-hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255,111,97,0.05), rgba(255,154,118,0.05));
    border-radius: 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--info-glass-border);
}

[data-theme="dark"] .info-hero {
    background: linear-gradient(135deg, rgba(255,111,97,0.1), rgba(255,154,118,0.1));
}

.info-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--info-primary), var(--info-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.info-hero p {
    font-size: 1.2rem;
    color: var(--info-text);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Video Wrapper */
.hero-video-wrapper {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--info-shadow);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-wrapper video {
    width: 100%;
    display: block;
}

/* Glass Card */
.info-glass-card {
    background: var(--info-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--info-glass-border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--info-shadow);
    margin-bottom: 50px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.info-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--info-shadow-hover);
    border-color: rgba(255, 111, 97, 0.3);
}

.info-glass-card h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--info-text);
    border-bottom: 2px solid rgba(255, 111, 97, 0.2);
    padding-bottom: 15px;
    display: inline-block;
}

.info-glass-card p, .info-glass-card li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--info-text);
    opacity: 0.85;
    margin-bottom: 15px;
}

/* Grid Layouts */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.info-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Stats Counter */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px 0;
    text-align: center;
}
.stat-item {
    background: var(--info-glass-bg);
    border: 1px solid var(--info-glass-border);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    min-width: 200px;
    box-shadow: var(--info-shadow);
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--info-primary);
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--info-text);
    opacity: 0.8;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(255, 111, 97, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--info-bg);
    border: 4px solid var(--info-primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.right::after {
    left: -10px;
}
.timeline-content {
    padding: 25px;
    background: var(--info-card-bg);
    border: 1px solid var(--info-border);
    position: relative;
    border-radius: 16px;
    box-shadow: var(--info-shadow);
    transition: transform 0.3s;
}
.timeline-content:hover {
    transform: scale(1.02);
}
.timeline-date {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 111, 97, 0.1);
    color: var(--info-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Perks Grid */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.perk-card {
    background: var(--info-card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--info-border);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.perk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--info-shadow);
    border-color: var(--info-primary);
}
.perk-icon {
    font-size: 2.5rem;
    color: var(--info-primary);
    margin-bottom: 20px;
}
.perk-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.perk-card p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Tabs */
.tabs-container {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.tab-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--info-border);
    color: var(--info-text);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.tab-btn:hover {
    border-color: var(--info-primary);
    color: var(--info-primary);
}
.tab-btn.active {
    background: var(--info-primary);
    border-color: var(--info-primary);
    color: #fff;
}

/* Testimonials Carousel */
.testimonial-wrapper {
    background: linear-gradient(135deg, var(--info-primary), var(--info-secondary));
    border-radius: 24px;
    padding: 50px;
    color: #fff;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(255, 111, 97, 0.3);
}
.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.testimonial-item.active {
    display: block;
}
.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.6;
}
.testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}
.carousel-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.carousel-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3D Flip Card for Team */
.flip-card {
    background-color: transparent;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: var(--info-shadow);
    overflow: hidden;
    border: 1px solid var(--info-border);
}
.flip-card-front {
    background-color: var(--info-card-bg);
    display: flex;
    flex-direction: column;
}
.flip-card-front img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
}
.flip-card-front .team-info {
    padding: 25px;
    background: var(--info-card-bg);
    flex-grow: 1;
}
.flip-card-back {
    background: linear-gradient(135deg, var(--info-primary), var(--info-secondary));
    color: white;
    transform: rotateY(180deg);
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.flip-card-back p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}
.flip-card-back h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ROI Calculator */
.calculator-card {
    background: var(--info-card-bg);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--info-border);
    box-shadow: var(--info-shadow);
    text-align: center;
}
.slider-container {
    margin: 40px 0;
}
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--info-border);
    border-radius: 5px;
    outline: none;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--info-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
}
.calc-result {
    font-size: 3rem;
    font-weight: 800;
    color: #27ae60;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 20px;
}

/* FAQ Accordion */
.accordion {
    margin-top: 20px;
}
.accordion-item {
    border-bottom: 1px solid var(--info-border);
    margin-bottom: 15px;
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--info-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--info-primary);
}
.accordion-header.active i {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p {
    padding-bottom: 20px;
    opacity: 0.8;
}

/* Multi-step Form */
.partner-form {
    background: var(--info-card-bg);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--info-border);
    box-shadow: var(--info-shadow);
}
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}
.form-step.active {
    display: block;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--info-border);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--info-bg);
    color: var(--info-text);
    font-family: 'Poppins', sans-serif;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--info-primary);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.1);
}
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.btn-next, .btn-submit, .career-apply-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--info-primary), var(--info-secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-prev {
    padding: 12px 30px;
    background: var(--info-bg);
    color: var(--info-text);
    border: 1px solid var(--info-border);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-next:hover, .btn-submit:hover, .career-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.4);
    color: white;
}
.btn-prev:hover {
    background: var(--info-border);
}
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--info-border);
    transform: translateY(-50%);
    z-index: 1;
}
.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--info-border);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.progress-step.active {
    background: var(--info-primary);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
}

/* Sidebar for Terms */
.terms-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}
.terms-sidebar {
    position: sticky;
    top: 120px;
    background: var(--info-glass-bg);
    border: 1px solid var(--info-glass-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}
.terms-sidebar h4 {
    margin-bottom: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--info-text);
}
.terms-sidebar a {
    display: block;
    padding: 10px 0;
    color: var(--info-text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
    border-bottom: 1px solid var(--info-border);
}
.terms-sidebar a:hover, .terms-sidebar a.active {
    opacity: 1;
    color: var(--info-primary);
    font-weight: 600;
}
.terms-sidebar a:last-child {
    border-bottom: none;
}
.terms-search {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--info-border);
    margin-bottom: 20px;
    background: var(--info-bg);
    color: var(--info-text);
}
.terms-search:focus {
    outline: none;
    border-color: var(--info-primary);
}
.highlight {
    background-color: rgba(255, 111, 97, 0.3);
    padding: 2px 5px;
    border-radius: 4px;
}

/* Advanced Hero Additions */
.advance-hero {
    position: relative;
    border: 1px solid rgba(255, 111, 97, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, var(--info-bg), rgba(255,111,97,0.05));
    z-index: 1;
}
[data-theme="dark"] .advance-hero {
    border: 1px solid rgba(255, 111, 97, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: linear-gradient(145deg, var(--info-bg), rgba(255,111,97,0.1));
}
.hero-content-wrapper {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 111, 97, 0.1);
    color: var(--info-primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 111, 97, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.animate-gradient-text {
    background: linear-gradient(-45deg, var(--info-primary), var(--info-secondary), #f1c40f, var(--info-primary));
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: animated-gradient 6s ease infinite;
}
[data-theme="dark"] .animate-gradient-text {
    background: linear-gradient(-45deg, var(--info-primary), #ffb299, #f1c40f, var(--info-primary));
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: animated-gradient 6s ease infinite;
}
@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: floatOrb 8s ease-in-out infinite;
    opacity: 0.5;
}
.orb-1 {
    width: 250px;
    height: 250px;
    background: var(--info-primary);
    top: -50px;
    left: -50px;
}
.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--info-secondary);
    bottom: -50px;
    right: -20px;
    animation-delay: -4s;
    opacity: 0.4;
}
[data-theme="dark"] .glow-orb {
    opacity: 0.25;
}
@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }
    .terms-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .info-hero h1 {
        font-size: 2.5rem;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.left { left: 0; }
    .timeline-item.right { left: 0; }
    .timeline-item::after {
        left: 21px;
    }
    .timeline-item.right::after {
        left: 21px;
    }
}
