/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e6f9ec; /* light green */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Demo Widget */
.demo-widget {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    color: #333;
}

.widget-header {
    background: #2563eb;
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.widget-content {
    padding: 1.5rem;
}

.widget-content p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2563eb;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.widget-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-accept-all, .btn-save-preferences {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: #2563eb;
    color: white;
}

.btn-accept-all:hover {
    background: #1d4ed8;
}

.btn-save-preferences {
    background: #f1f5f9;
    color: #64748b;
}

.btn-save-preferences:hover {
    background: #e2e8f0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: #f1f5f9;
    text-align: center;
}

.demo-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.demo-section p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-demo {
    padding: 1rem 2rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.banner-text h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.banner-text p {
    color: #64748b;
    max-width: 500px;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body > p {
    margin-bottom: 2rem;
    color: #64748b;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.category-info h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.category-info p {
    color: #64748b;
    font-size: 0.9rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-demo {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .demo-section h2 {
        font-size: 2rem;
    }
}

/* Login Modal Styles */
.login-modal-content {
    max-width: 400px;
    width: 90%;
    padding: 0;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}
.login-form label {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.25rem;
}
.login-form input[type="email"],
.login-form input[type="password"] {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: #2563eb;
}

/* Responsive Nav Buttons */
.responsive-btn {
    min-width: 120px;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .responsive-btn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .login-modal-content {
        max-width: 95vw;
        padding: 0;
    }
    .login-form {
        padding: 1rem;
        gap: 0.75rem;
    }
    .responsive-btn {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.75rem 0.5rem;
    }
}

/* Responsive Hero Buttons */
.responsive-hero-btn {
    min-width: 140px;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .responsive-hero-btn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f1f5f9;
}
.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1e293b;
}
.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 2rem 2.5rem;
    min-width: 260px;
    max-width: 340px;
    flex: 1 1 300px;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}
.pricing-card .price {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}
.pricing-card .price span {
    font-size: 1rem;
    color: #64748b;
}
.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    color: #64748b;
}
.pricing-card ul li {
    margin-bottom: 0.5rem;
}
.pricing-card .btn-primary {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1rem 0;
    min-width: 140px;
    transition: background 0.3s, color 0.3s, box-shadow 0.2s, transform 0.2s;
    box-sizing: border-box;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.pricing-card .btn-primary:hover, .pricing-card .btn-primary:focus {
    background: #174dcf;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(37,99,235,0.15);
}
.pricing-card .btn-primary:active {
    background: #174dcf;
    color: #fff;
    transform: scale(0.98);
}
@media (max-width: 1024px) {
    .pricing-cards {
        gap: 1rem;
    }
    .pricing-card {
        max-width: 95vw;
        min-width: unset;
        padding: 1.5rem 1rem;
    }
}
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .pricing-card {
        width: 100%;
        max-width: 400px;
        min-width: unset;
        padding: 1.2rem 0.5rem;
    }
    .pricing-card .btn-primary {
        width: 100%;
        font-size: 1rem;
        padding: 0.9rem 0.5rem;
        min-width: unset;
        margin-top: 1rem;
    }
}
@media (max-width: 480px) {
    .pricing-cards {
        gap: 1rem;
    }
    .pricing-card {
        max-width: 98vw;
        padding: 1rem 0.2rem;
    }
    .pricing-card .btn-primary {
        width: 100%;
        font-size: 0.98rem;
        padding: 0.85rem 0.25rem;
        min-width: unset;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}
.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1e293b;
}
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
}
.contact-form .btn-primary {
    width: 100%;
    font-size: 1.1rem;
}

/* Anonymous Login Option */
.anonymous-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem 0;
}
.anonymous-login label {
    color: #64748b;
    font-size: 0.98rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        max-width: 95vw;
        min-width: unset;
        padding: 1.5rem 1rem;
    }
    .contact-form {
        padding: 1.2rem;
    }
}

/* Responsive Demo Section Buttons */
.responsive-demo-btn {
    min-width: 160px;
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .demo-controls {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .responsive-demo-btn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
}
.demo-info {
    margin-top: 1.5rem;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #334155;
    font-size: 1.05rem;
    max-width: 600px;
}
@media (max-width: 480px) {
    .demo-info {
        padding: 0.75rem 0.5rem;
        font-size: 0.98rem;
    }
}

/* Pricing Modal Styles */
.pricing-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,41,59,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.pricing-modal.show {
    opacity: 1;
    pointer-events: auto;
}
.pricing-modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(37,99,235,0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 95vw;
    width: 350px;
    text-align: center;
    position: relative;
    animation: popIn 0.35s cubic-bezier(.23,1.12,.72,1.01);
}
@keyframes popIn {
    0% { transform: scale(0.85) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.pricing-modal-content h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.pricing-modal-content p {
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
}
.pricing-modal-content .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}
.pricing-modal-content .modal-close:hover {
    color: #2563eb;
}
.pricing-modal-content .btn-primary {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    width: auto;
}

/* Create Anonymous ID Button */
#login-btn, #create-anon-id-btn, #get-started-btn {
    margin-bottom: 0.5rem;
}
#create-anon-id-btn {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 600;
    border: 2px solid #2563eb;
    color: #2563eb;
    background: #f8fafc;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
#create-anon-id-btn:hover, #create-anon-id-btn:focus {
    background: #2563eb;
    color: #fff;
    border-color: #174dcf;
}
@media (max-width: 768px) {
    #create-anon-id-btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Anonymous ID Modal */
.anon-id-modal-content {
    max-width: 400px;
    width: 90%;
    padding: 0;
    background: #fff !important;
}
.anon-id-display {
    font-family: 'Fira Mono', 'Consolas', monospace;
    background: #f1f5f9;
    color: #2563eb;
    font-size: 1.2rem;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    margin: 1rem 0 1.2rem 0;
    word-break: break-all;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-align: center;
}
.anon-id-info {
    color: #64748b;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

/* New Cookie Toggles */
.cookie-type, .cookie-category {
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .cookie-type, .cookie-category {
        margin-bottom: 0.75rem;
    }
}

#anon-id-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    z-index: 10;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#anon-id-modal .modal-close:hover, #anon-id-modal .modal-close:focus {
    color: #2563eb;
    background: #f1f5f9;
}
@media (max-width: 480px) {
    #anon-id-modal .modal-close {
        font-size: 1.5rem;
        width: 2rem;
        height: 2rem;
    }
} 