/* Landing Page Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --text-color: #333333;
    --border-color: #dee2e6;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.4rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 15px rgba(102, 126, 234, 0.5));
}

.navbar.scrolled .logo-img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.brand-name {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.navbar.scrolled .brand-name {
    color: #333;
    text-shadow: none;
}

.brand-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.navbar.scrolled .nav-menu a {
    color: var(--text-color);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link:hover {
    color: #ffd700 !important;
}

.navbar.scrolled .nav-link:hover {
    color: #667eea !important;
}

.navbar.scrolled .nav-link::after {
    background: #667eea;
}

.btn-login {
    padding: 0.6rem 1.5rem !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 25px !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent !important;
}

.navbar.scrolled .btn-login {
    border-color: #667eea !important;
    color: #667eea !important;
}

.btn-login:hover {
    background: white !important;
    color: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .btn-login:hover {
    background: #667eea !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary {
    padding: 0.6rem 1.5rem !important;
    background: white !important;
    color: #667eea !important;
    border-radius: 25px !important;
    border: none !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.navbar.scrolled .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.navbar .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.navbar.scrolled .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.navbar.scrolled .mobile-menu-toggle {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.animated-line {
    margin-bottom: 1.5rem;
    display: block;
}

.animated-text {
    color: #ffd700;
    font-weight: 700;
    display: inline-block;
    min-width: 320px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn-large {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: 0;
}

.hero-buttons .btn-large:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn-large span {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn-primary.btn-large {
    background: white;
    color: #667eea !important;
}

.hero-buttons .btn-primary.btn-large:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-secondary.btn-large {
    background: transparent;
    border: 2px solid white;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn-secondary.btn-large i {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn-secondary.btn-large span {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn-secondary.btn-large:hover {
    background: white;
    color: #667eea !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-large i {
    margin-right: 8px;
}

.btn-secondary {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--text-color) !important;
    border-radius: 25px;
    border: 2px solid var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.btn-secondary span {
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat strong {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.stat span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    animation: slideInRight 1s ease-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.billing-animation {
    position: relative;
    width: 100%;
    height: 500px;
}

.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.line-segment {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 1.5s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 1.5s; }
.line-3 { animation-delay: 3s; }
.line-4 { animation-delay: 4.5s; }
.line-5 { animation-delay: 6s; }
.line-6 { animation-delay: 7.5s; }

@keyframes drawLine {
    0% {
        stroke-dashoffset: 400;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: orbFloat 4s ease-in-out infinite;
}

.orb-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4), transparent);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4), transparent);
    bottom: 15%;
    right: 10%;
    animation-delay: 1s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.4), transparent);
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.invoice-card,
.payment-card,
.report-card,
.customer-card,
.product-card,
.email-card {
    position: absolute;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: cardFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
}

.invoice-card:hover,
.payment-card:hover,
.report-card:hover,
.customer-card:hover,
.product-card:hover,
.email-card:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -200%;
    }
    50%, 100% {
        left: 200%;
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.invoice-card {
    top: 8%;
    left: 50%;
    margin-left: -90px;
    animation-name: cardFloatCenter;
    animation-delay: 0s;
}

.customer-card {
    bottom: 8%;
    left: 50%;
    margin-left: -90px;
    animation-name: cardFloatCenter;
    animation-delay: 1.5s;
}

@keyframes cardFloatCenter {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.payment-card {
    top: 30%;
    right: 8%;
    animation-delay: 0.5s;
}

.report-card {
    bottom: 30%;
    right: 8%;
    animation-delay: 1s;
}

.product-card {
    bottom: 30%;
    left: 8%;
    animation-delay: 2s;
}

.email-card {
    top: 30%;
    left: 8%;
    animation-delay: 2.5s;
}

.invoice-card i {
    font-size: 2rem;
    color: #667eea;
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: 0s;
}

.payment-card i {
    font-size: 2rem;
    color: #28a745;
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.report-card i {
    font-size: 2rem;
    color: #ffc107;
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

.customer-card i {
    font-size: 2rem;
    color: #17a2b8;
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: 1.5s;
}

.product-card i {
    font-size: 2rem;
    color: #fd7e14;
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: 2s;
}

.email-card i {
    font-size: 2rem;
    color: #6f42c1;
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.invoice-card span,
.payment-card span,
.report-card span,
.customer-card span,
.product-card span,
.email-card span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 10px 0 60px;
    scroll-margin-top: 70px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Features Section */
.features {
    background: var(--light-color);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    pointer-events: none;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #764ba2;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Security Section */
.security {
    background: #fafafa;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.security-feature {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.security-feature::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.security-feature:hover::before {
    width: 200%;
    height: 200%;
}

.security-feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.2);
}

.security-feature i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.security-feature:hover i {
    transform: scale(1.1);
}

.security-feature h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Roles Section */
.roles {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.roles::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.role-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s;
}

.role-card:hover::before {
    left: 100%;
}

.role-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.role-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.admin-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.executive-badge {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.role-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.role-card:hover .role-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.role-icon.admin {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.role-icon.executive {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.role-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.role-subtitle {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.role-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.role-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.role-features li {
    padding: 0.7rem 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 10px;
    margin: 0 -10px;
}

.role-features li:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.role-features i {
    color: var(--success-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.role-features span {
    line-height: 1.5;
    color: var(--text-color);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.25);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.pricing-card.featured .price {
    color: var(--white);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    margin: 1rem 0;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.currency {
    font-size: 1.3rem;
}

.period {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.pricing-features {
    list-style: none;
    margin: 1rem 0 1.5rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.pricing-features i {
    color: var(--success-color);
    font-size: 0.85rem;
}

/* Documentation Section */
.documentation {
    background: var(--light-color);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.doc-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.doc-card:hover::before {
    opacity: 1;
}

.doc-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.25);
}

.doc-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.doc-card:hover i {
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-btn-animated {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-btn-animated::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn-animated:hover::after {
    width: 400px;
    height: 400px;
}

.cta-btn-animated span,
.cta-btn-animated i {
    position: relative;
    z-index: 1;
}

.cta-btn-animated i {
    transition: transform 0.3s;
}

.cta-btn-animated:hover i {
    transform: translateX(5px);
}

.cta-buttons .btn-primary.btn-large {
    background: white;
    color: #667eea !important;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-buttons .btn-primary.btn-large:hover {
    background: white;
    color: #667eea !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255,255,255,0.4);
}

.cta-buttons .btn-secondary.btn-large {
    background: transparent;
    border: 2px solid white;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary.btn-large:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255,255,255,0.3);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* FAQ Section */
.faq {
    background: var(--light-color);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(102,126,234,0.2);
    transform: translateX(5px);
    border-left-color: #667eea;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(102,126,234,0.05) 0%, transparent 100%);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: #667eea;
}

.faq-question i {
    color: #667eea;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.faq-question:hover i {
    transform: scale(1.2);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active:hover .faq-question i {
    transform: rotate(180deg) scale(1.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--secondary-color);
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

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

    .animated-text {
        min-width: 200px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat {
        width: 100%;
    }

    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .security-grid,
    .roles-grid,
    .pricing-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
