/* N8 Casino APK - Premium Gaming Platform Styles */
/* Theme Colors: Deep Black #000000, Charcoal Gray #1C1C1C, Bright Gold #FFD700, Dark Gold #B8860B, White #FFFFFF */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --charcoal-gray: #1C1C1C;
    --bright-gold: #FFD700;
    --dark-gold: #B8860B;
    --white: #FFFFFF;
    --gradient-gold: linear-gradient(135deg, #FFD700, #B8860B);
    --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--primary-black);
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-black), var(--charcoal-gray));
    box-shadow: var(--shadow-gold);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--bright-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bright-gold);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--charcoal-gray);
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li {
    color: var(--white);
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--bright-gold);
}

.breadcrumb-list a {
    color: var(--bright-gold);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--white);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black), var(--charcoal-gray));
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    transition: all 0.4s ease;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hero .btn:hover::before {
    left: 100%;
}

.hero .btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-black);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: 2px solid transparent;
}

.hero .btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
    border-color: var(--bright-gold);
}

.hero .btn-secondary {
    background: transparent;
    color: var(--bright-gold);
    border: 2px solid var(--bright-gold);
    position: relative;
}

.hero .btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.hero .btn-secondary:hover {
    color: var(--primary-black);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.hero .btn-secondary:hover::after {
    opacity: 1;
}

/* Floating elements animation */
.hero::before {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--bright-gold);
    border: 2px solid var(--bright-gold);
}

.btn-secondary:hover {
    background: var(--bright-gold);
    color: var(--primary-black);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background: var(--charcoal-gray);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--bright-gold);
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--bright-gold);
}

.section p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--charcoal-gray), var(--primary-black));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--bright-gold);
    box-shadow: var(--shadow-gold);
}

.feature-card h3 {
    color: var(--bright-gold);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #cccccc;
}

/* FAQ Section */
.faq-item {
    background: var(--charcoal-gray);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.faq-question {
    background: var(--primary-black);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--charcoal-gray);
}

.faq-question h4 {
    color: var(--bright-gold);
    font-size: 1.2rem;
}

.faq-question .icon {
    color: var(--bright-gold);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #cccccc;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-black);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bright-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--bright-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: #cccccc;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-gold);
    color: var(--primary-black);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--charcoal-gray);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        margin: 0.5rem auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 0;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--bright-gold);
    outline-offset: 2px;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Step-by-Step Registration Process Styles */
.registration-steps,
.login-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--charcoal-gray), var(--primary-black));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(184, 134, 11, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-3px);
    border-color: var(--bright-gold);
    box-shadow: var(--shadow-gold);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    background: var(--gradient-gold);
    color: var(--primary-black);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-content h4 {
    color: var(--bright-gold);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Connecting lines between steps */
.registration-steps .step:not(:last-child)::after,
.login-steps .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 44px;
    top: 80px;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(to bottom, var(--bright-gold), rgba(255, 215, 0, 0.3));
    z-index: 1;
}

/* Registration and Login buttons styling */
.registration-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.registration-buttons .btn {
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.registration-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.registration-buttons .btn:hover::before {
    left: 100%;
}

/* Animation for step appearance */
@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step {
    animation: stepSlideIn 0.6s ease-out;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }
.step:nth-child(5) { animation-delay: 0.5s; }

/* Mobile responsiveness for steps */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-number {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .registration-steps .step:not(:last-child)::after,
    .login-steps .step:not(:last-child)::after {
        left: 50%;
        top: 100px;
        transform: translateX(-50%);
        height: calc(100% + 1rem);
    }
    
    .registration-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .registration-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
}

/* Advantages & Security Section Styles */
.advantages-security-section {
    background: linear-gradient(135deg, var(--primary-black), var(--charcoal-gray));
    position: relative;
    overflow: hidden;
}

.advantages-security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="security-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23FFD700" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="%23B8860B" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23security-pattern)"/></svg>');
    opacity: 0.3;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.advantage-card {
    background: linear-gradient(135deg, var(--charcoal-gray), var(--primary-black));
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(184, 134, 11, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--bright-gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.advantage-card:hover::before {
    opacity: 1;
}

.security-card {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, var(--charcoal-gray), #0a0a0a);
}

.security-card:hover {
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.advantage-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.advantage-card h3 {
    color: var(--bright-gold);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.advantage-content {
    position: relative;
    z-index: 2;
}

.advantage-point {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--bright-gold);
    transition: var(--transition);
}

.advantage-point:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.advantage-point h4 {
    color: var(--bright-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.advantage-point p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.security-highlight {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.security-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.security-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.security-badge:hover::before {
    left: 100%;
}

.badge-icon {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.badge-text {
    position: relative;
    z-index: 2;
}

/* Animation for advantage cards */
@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-card {
    animation: cardSlideUp 0.8s ease-out;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.3s; }
.advantage-card:nth-child(3) { animation-delay: 0.5s; }

/* Mobile responsiveness for advantages section */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 2rem;
    }
    
    .advantage-icon {
        font-size: 2.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.5rem;
    }
    
    .security-badge {
        flex-direction: column;
        padding: 1.5rem 2rem;
        text-align: center;
    }
    
    .badge-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .advantage-card {
        padding: 1.5rem;
    }
    
    .advantage-point {
        padding: 0.8rem;
    }
    
    .advantage-point h4 {
        font-size: 1.1rem;
    }
    
    .advantage-point p {
        font-size: 0.9rem;
    }
    
    .security-badge {
        padding: 1rem 1.5rem;
    }
    
    .badge-icon {
        font-size: 1.2rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .back-to-top {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .step {
        break-inside: avoid;
        border: 1px solid #ccc;
        background: white;
    }
    
    .step-number {
        background: #f0f0f0;
        color: black;
    }
    
    .advantage-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        background: white;
    }
    
    .advantage-icon {
        display: none;
    }
}
