/* ============================================
   PAGES & FOOTER STYLES
   Modern, Clean Design
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background: var(--gray-light);
    min-height: 50vh;
}

.content-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.content-box h2 {
    color: var(--purple);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray);
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-box p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-box ul, .content-box ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-box a {
    color: var(--purple);
    text-decoration: underline;
}

.content-box a:hover {
    color: var(--purple-dark);
}

/* ============================================
   MODERN FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    color: var(--white);
    padding: 20px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 4-column footer layout */
.footer-grid-4 {
    grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.footer-whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.footer-brand {
    padding-right: 40px;
}

.footer-col:not(.footer-brand) {
    margin-top: 32px;
}

.footer-logo {
    height: 65px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    font-size: 40px !important;
    color: rgba(255,255,255,0.6) !important;
    transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    transform: translateY(-2px);
}

.footer-social a[aria-label="Facebook"]:hover { color: #1877f2; }
.footer-social a[aria-label="Instagram"]:hover { color: #e4405f; }
.footer-social a[aria-label="WhatsApp"]:hover { color: #25d366; }
.footer-social a[aria-label="TikTok"]:hover { color: #fff; }
.footer-social a[aria-label="Discord"]:hover { color: #5865f2; }

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 8px;
    color: var(--white);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 1px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-contact a {
    color: var(--gold);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 10px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   O NAS (ABOUT) PAGE
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
}

.about-section:nth-child(even) {
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse > * {
    direction: ltr;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-content h2 {
    font-size: 2rem;
    color: var(--purple);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

/* ============================================
   TEAM FLIP CARDS - Modern Interactive Design
   ============================================ */

.team-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.team-section > .container > h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.team-section > .container > p {
    text-align: center;
    color: var(--gray-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Flip Card Container */
.flip-card {
    perspective: 1000px;
    height: 500px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    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);
}

/* Front and Back Shared */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(97, 47, 137, 0.15);
}

/* Front Side */
.flip-card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
}

.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    z-index: 0;
}

.flip-card-front img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.05);
}

.flip-card-front h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 20px 0 5px;
    position: relative;
    z-index: 1;
}

.flip-card-front .role {
    color: var(--purple);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.flip-card-front .hint {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.flip-card-front .hint i {
    animation: pulse 2s infinite;
}

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

/* Back Side */
.flip-card-back {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    transform: rotateY(180deg);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.flip-card-back h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
}

.flip-card-back .role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.flip-card-back .description {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 20px;
    flex-grow: 1;
}

.flip-card-back .fun-fact {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 3px solid var(--gold);
}

.flip-card-back .fun-fact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.flip-card-back .fun-fact p {
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    color: var(--gold);
}

.flip-card-back .social-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.flip-card-back .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.flip-card-back .social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .flip-card {
        height: 400px;
    }

    .team-section > .container > h2 {
        font-size: 2rem;
    }
}

/* ============================================
   FOUNDER STORY - Personal Storytelling
   ============================================ */

.founder-story {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(97, 47, 137, 0.2);
}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--gold);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

.story-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--purple);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.story-content {
    padding: 20px 0;
}

.story-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.story-highlight {
    background: linear-gradient(135deg, rgba(97, 47, 137, 0.08) 0%, rgba(97, 47, 137, 0.03) 100%);
    border-left: 4px solid var(--purple);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 16px 16px 0;
}

.story-highlight p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--purple);
    margin: 0;
    font-style: italic;
}

.story-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
}

.story-signature span {
    display: block;
}

.story-signature span:first-child {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.story-signature .role {
    color: var(--purple);
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image::before,
    .story-image::after {
        display: none;
    }

    .story-content h2 {
        font-size: 2rem;
    }

    .founder-story {
        padding: 60px 0;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: var(--white);
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    color: var(--gold);
}

.stat-item .label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   KONTAKT PAGE
   ============================================ */

.contact-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info h2 {
    color: var(--purple);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item p, .contact-item a {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--purple);
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form h2 {
    color: var(--purple);
    margin-bottom: 30px;
}

/* ============================================
   FAQ PAGE
   ============================================ */

/* FAQ styles in style.css - dark theme */

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-col:not(.footer-brand) {
        margin-top: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid.reverse {
        direction: ltr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .content-box {
        padding: 25px;
        margin: 0 15px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 30px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col h4::after {
        left: 0;
        transform: none;
    }

    .footer-brand .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item .number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social a {
        font-size: 32px !important;
    }
}
