* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    position: relative;
}

.side-banner {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 10;
}

.side-banner.left {
    left: 20px;
}

.side-banner.right {
    right: 20px;
}

.banner-header,
.banner-footer {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    border-radius: 15px;
}

#header-banner-container,
#footer-banner-container {
    width: 100%;
    max-width: 970px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

@media (max-width: 1600px) {
    .side-banner {
        display: none;
    }
}

@media (max-width: 1024px) {
    .banner-header,
    .banner-footer {
        padding: 0.5rem;
    }

    #header-banner-container,
    #footer-banner-container {
        height: auto;
        min-height: 90px;
    }
}

.footer-nav {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.footer-nav nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav nav ul li {
    margin: 0 15px;
}

.footer-nav nav ul li a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav nav ul li a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .footer-nav nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav nav ul li {
        margin: 5px 0;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calculator {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem;
}

.input-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.input-group {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.input-group:hover {
    transform: translateY(-2px);
}

.input-group label {
    color: #2d3748;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.input-group input,
.input-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
    background: #f8fafc;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
    outline: none;
}

#calculate-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

#calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(110, 142, 251, 0.4);
}

.results {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.result-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: scale(1.03);
}

.result-item h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-item p {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .calculator {
        padding: 0.5rem;
    }

    .input-section {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .results {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .result-item {
        padding: 1.25rem;
    }

    .result-item p {
        font-size: 1.75rem;
    }
}

h1 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ad-type-selector {
    width: 100%;
    text-align: center;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ad-type-selector h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.ad-types {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ad-type-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid #6e8efb;
    color: #6e8efb;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ad-type-btn:hover,
.ad-type-btn.active {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(110, 142, 251, 0.3);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .ad-type-selector {
        padding: 1.5rem;
    }

    .ad-type-selector h2 {
        font-size: 1.5rem;
    }

    .ad-types {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .ad-type-btn {
        width: 100%;
        min-width: unset;
    }
}
.ad-types {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.ad-type-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #6e8efb;
    color: #6e8efb;
}

.ad-type-btn:hover,
.ad-type-btn.active {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
    outline: none;
}

.submit-btn {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

.content-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    width: 100%;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(110, 142, 251, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(110, 142, 251, 0.3);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-item ul {
    list-style: none;
    padding: 0;
}

.service-item ul li {
    margin-bottom: 1rem;
    color: #4a5568;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    font-size: 1.05rem;
}

.service-item ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6e8efb;
    font-weight: bold;
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

.input-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #4a5568;
}

.input-group input,
.input-group select {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

#calculate-btn {
    margin: 2rem auto;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

#calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.result-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-item h3 {
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.result-item p {
    color: #6e8efb;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .container {
        padding: 1rem;
        margin: 1rem 0.5rem;
        border-radius: 15px;
    }

    .main-nav {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .input-group {
        padding: 0.75rem;
    }

    .input-group input,
    .input-group select {
        padding: 0.5rem 0.75rem;
        font-size: 16px;
    }

    .ad-type-selector {
        padding: 1rem;
    }

    #calculate-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .results {
        padding: 1rem;
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .input-section {
        grid-template-columns: 1fr;
    }

    .ad-types {
        flex-direction: column;
        align-items: stretch;
    }

    .ad-type-btn {
        width: 100%;
    }
}
.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    border-radius: 15px;
    padding: 1rem;
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #6e8efb;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.5rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        width: 100%;
        padding: 0.5rem;
    }

    .main-nav a {
        display: block;
        padding: 0.5rem;
        border-radius: 8px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(110, 142, 251, 0.1);
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li a {
        display: block;
        width: 100%;
        text-align: center;
    }
}
.ad-types {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.ad-type-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #6e8efb;
    color: #6e8efb;
}

.ad-type-btn:hover,
.ad-type-btn.active {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.input-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #4a5568;
}

.input-group input,
.input-group select {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

#calculate-btn {
    margin: 2rem auto;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

#calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.result-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-item h3 {
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.result-item p {
    color: #6e8efb;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .container {
        padding: 1rem;
        margin: 1rem 0.5rem;
        border-radius: 15px;
    }

    .main-nav {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .input-group {
        padding: 0.75rem;
    }

    .input-group input,
    .input-group select {
        padding: 0.5rem 0.75rem;
        font-size: 16px;
    }

    .ad-type-selector {
        padding: 1rem;
    }

    #calculate-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .results {
        padding: 1rem;
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .input-section {
        grid-template-columns: 1fr;
    }

    .ad-types {
        flex-direction: column;
        align-items: stretch;
    }

    .ad-type-btn {
        width: 100%;
    }
}