:root {
    --primary-color: #433d79;
    --secondary-color: #5f54c5;
    --accent-color: #7e75e3;
    --light-color: #f8f8fc;
    --dark-color: #1c1a36;
    --light-gray: #f3f3f7;
    --medium-gray: #e4e4ec;
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(67, 61, 121, 0.08);
    --transition-standard: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #444;
    background-color: var(--light-color);
    padding: 0;
    margin: 0;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 90px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--light-color);
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
    z-index: 1;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    background-color: white;
    padding: 10px;
}

.logo:hover {
    transform: scale(1.05) rotate(3deg);
    transition: transform 0.3s ease;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.content {
    padding: 0 0 100px;
    margin-top: -50px;
}

/* CARDS */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin-bottom: 30px;
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 61, 121, 0.12);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-standard);
}

.card:hover::after {
    opacity: 1;
}

/* TYPOGRAPHY */
h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

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

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
    letter-spacing: -0.5px;
}

.card > h2:first-child {
    margin-top: 0;
    display: flex;
    align-items: center;
    border-bottom: none;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 25px 0 15px;
    letter-spacing: -0.3px;
}

p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

ul, ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

li {
    margin-bottom: 12px;
}

/* ICONS AND LINKS */
.icon {
    margin-right: 12px;
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-standard);
    position: relative;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

a:not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

a:hover {
    color: var(--accent-color);
}

/* FOOTER */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 50px 0;
    font-size: 0.95rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer a {
    color: #a099e8;
    margin: 0 10px;
}

.footer a:hover {
    color: white;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    margin: 15px 10px 15px 0;
    transition: var(--transition-standard);
    box-shadow: 0 4px 15px rgba(95, 84, 197, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-standard);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(95, 84, 197, 0.4);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(95, 84, 197, 0.2);
}

/* CONTACT METHODS */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.contact-method {
    flex: 1;
    min-width: 240px;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    text-align: center;
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.contact-method:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: transparent;
}

.contact-method svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: var(--transition-standard);
}

.contact-method:hover svg {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.contact-method h3 {
    margin-top: 10px;
    transition: var(--transition-standard);
}

/* FAQ SECTION */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-standard);
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(67, 61, 121, 0.08);
}

.faq-item h3 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 0;
    background-color: var(--light-gray);
    transition: var(--transition-standard);
    font-size: 1.1rem;
    position: relative;
    padding-right: 40px;
}

.faq-item h3:hover {
    background-color: var(--medium-gray);
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.faq-item h3[aria-expanded="true"]::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-item p {
    margin: 0;
    padding: 20px;
    background-color: white;
    font-size: 1rem;
    line-height: 1.7;
}

.last-updated {
    display: inline-block;
    background-color: var(--light-gray);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card, .contact-method, .faq-item {
    animation: fadeIn 0.6s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.contact-method:nth-child(1) { animation-delay: 0.3s; }
.contact-method:nth-child(2) { animation-delay: 0.4s; }

.faq-item:nth-child(1) { animation-delay: 0.4s; }
.faq-item:nth-child(2) { animation-delay: 0.5s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-item:nth-child(4) { animation-delay: 0.7s; }
.faq-item:nth-child(5) { animation-delay: 0.8s; }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header {
        padding: 60px 0 80px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .card {
        padding: 25px;
    }
    
    .contact-method {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80px;
        height: 80px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        margin: 10px 0;
    }
}

/* BADGES */
.badge {
    display: inline-block;
    background-color: rgba(67, 61, 121, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* APP BADGES */
.app-badges {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-standard);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.app-badge i {
    font-size: 1.3rem;
    margin-right: 8px;
}

.app-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: var(--dark-color);
}

/* FEATURE CARD WITH SPLIT LAYOUT */
.feature-card {
    padding: 0;
    overflow: hidden;
}

.card-split {
    display: flex;
    flex-wrap: wrap;
}

.card-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.card-image {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    position: relative;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 100%;
    height: auto;
    transition: var(--transition-standard);
}

.feature-card:hover .card-image img {
    transform: scale(1.05);
}

/* LINK CARDS */
.link-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    flex: 1;
    min-width: 240px;
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-standard);
    display: block;
    border: 1px solid var(--medium-gray);
    color: var(--dark-color);
}

.link-card:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.link-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition-standard);
}

.link-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.link-card h3 {
    margin: 10px 0;
    transition: var(--transition-standard);
}

.link-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.link-card:hover h3 {
    color: var(--secondary-color);
}

/* ENHANCED FOOTER */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 10px;
}

.footer-logo p {
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
    color: white;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .card-content, .card-image {
        min-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* BUTTON CONTAINER */
.button-container {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Add smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Enhance buttons with icons */
.btn i {
    margin-right: 8px;
}

/* Add subtle animations to elements */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(67, 61, 121, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(67, 61, 121, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 61, 121, 0); }
}

.contact-method:hover i {
    animation: pulseGlow 2s infinite;
}

/* Fix for mobile responsiveness */
@media (max-width: 480px) {
    .button-container {
        flex-direction: column;
    }
    
    .app-badge {
        width: 80%;
        margin: 0 auto;
        justify-content: center;
    }
} 